-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change to different folder structure to support kustomize and overlay…
…s to define deployment layer
- Loading branch information
Showing
60 changed files
with
146 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: data-filtering | ||
labels: | ||
app: data-filtering | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: data-filtering | ||
template: | ||
metadata: | ||
labels: | ||
app: data-filtering | ||
spec: | ||
containers: | ||
- name: data-filtering | ||
image: uugai/data-filter:1.0.4 | ||
resources: | ||
limits: | ||
nvidia.com/gpu: 1 # requesting a single GPU | ||
env: | ||
- name: MODEL_NAME | ||
value: "yolov8n.pt" | ||
- name: CONDITION | ||
value: "1 persons detected" | ||
|
||
- name: QUEUE_NAME | ||
value: "data-filtering" # This is the topic of kafka we will read messages from. | ||
- name: QUEUE_HOST | ||
value: rabbitmq.rabbitmq:5672 | ||
- name: QUEUE_EXCHANGE | ||
- name: QUEUE_USERNAME | ||
value: yourusername | ||
- name: QUEUE_PASSWORD | ||
value: yourpassword | ||
|
||
- name: STORAGE_URI | ||
#value: http://vault-lb.kerberos-vault/api | ||
value: "http://vault-nodeport.kerberos-vault:80/api" | ||
- name: STORAGE_ACCESS_KEY | ||
value: "XJoi2@bgSOvOYBy#" | ||
- name: STORAGE_SECRET_KEY | ||
value: "OGGqat4lXRpL@9XBYc8FUaId@5" | ||
|
||
- name: LOGGING | ||
value: "True" | ||
- name: PLOT | ||
value: "False" | ||
- name: SAVE_VIDEO | ||
value: "False" | ||
- name: MEDIA_SAVEPATH | ||
value: "/ml/data/input/video.mp4" | ||
- name: OUTPUT_MEDIA_SAVEPATH | ||
value: "/ml/data/input/output_video.mp4" | ||
|
||
- name: TIME_VERBOSE | ||
value: "True" | ||
|
||
- name: CLASSIFICATION_FPS | ||
value: "3" | ||
- name: CLASSIFICATION_THRESHOLD | ||
value: "0.3" | ||
- name: MAX_NUMBER_OF_PREDICTIONS | ||
value: "100" | ||
- name: ALLOWED_CLASSIFICATIONS | ||
value: "0, 1, 2, 3, 5, 7, 14, 15, 16, 24, 26, 28" | ||
|
||
- name: FORWARDING_MEDIA | ||
value: "True" | ||
- name: REMOVE_AFTER_PROCESSED | ||
value: "True" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
resources: | ||
- mongodb-configmap.yaml | ||
- kerberos-factory-deployment.yaml | ||
- kerberos-factory-service.yaml | ||
- kerberos-factory-clusterrole.yaml | ||
- kerberos-vault-deployment.yaml | ||
- kerberos-vault-service.yaml |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ data: | |
# This is the mongodb database where data will be stored, you might use a different name if you want. | ||
MONGODB_DATABASE_STORAGE: "KerberosStorage" | ||
MONGODB_DATABASE_FACTORY: "KerberosFactory" | ||
MONGODB_DATABASE_HUB: "Kerberos" | ||
# MongoDB URI (for example for a SaaS service like MongoDB Atlas) | ||
# If uri is set, the below properties are not used (host, adminDatabase, username, password) | ||
#MONGODB_URI: "mongodb+srv://xx:[email protected]/?retryWrites=true&w=majority&appName=xxx" | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
resources: | ||
- standalone |
Oops, something went wrong.