X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=example-apps%2FROBO%2Fdeployment%2Fsmartshelf-deployment.yaml;fp=example-apps%2FROBO%2Fdeployment%2Fsmartshelf-deployment.yaml;h=0000000000000000000000000000000000000000;hb=3ed2c61d9d7e7916481650c41bfe5604f7db22e9;hp=8ceb09d3bb18cf41d03b247b59aa749699415253;hpb=e6d40ddb2640f434a9d7d7ed99566e5e8fa60cc1;p=ealt-edge.git diff --git a/example-apps/ROBO/deployment/smartshelf-deployment.yaml b/example-apps/ROBO/deployment/smartshelf-deployment.yaml deleted file mode 100644 index 8ceb09d..0000000 --- a/example-apps/ROBO/deployment/smartshelf-deployment.yaml +++ /dev/null @@ -1,217 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: robo-deployment -spec: - replicas: 2 - selector: - matchLabels: - app: robo - template: - metadata: - labels: - app: robo - spec: - containers: - - name: robo - image: ealtedge/robo - ports: - - containerPort: 80 ---- -apiVersion: v1 -kind: Service -metadata: - name: robo-service -spec: - type: NodePort - selector: - app: robo - ports: - - protocol: "TCP" - port: 8000 - targetPort: 80 - nodePort: 30001 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: backup-be -spec: - replicas: 1 - selector: - matchLabels: - app: backup - template: - metadata: - labels: - app: backup - spec: - volumes: - - name: task-pv-storage - persistentVolumeClaim: - claimName: task-pv-claim - containers: - - name: backup-be - image: ealtedge/robo-be - env: - - name: KUBE_CONFIG - value: "/usr/app/.kube/config" - - name: HOSTIP - value: "159.138.129.53" - ports: - - containerPort: 8091 - volumeMounts: - - name: task-pv-storage - mountPath: "/usr/app/.kube/" ---- -apiVersion: v1 -kind: Service -metadata: - name: backup-be -spec: - selector: - app: backup - type: NodePort - ports: - - port: 8091 - name: service-port - nodePort: 30081 ---- -apiVersion: v1 -kind: PersistentVolume -metadata: - name: task-pv-volume - labels: - type: local -spec: - storageClassName: manual - capacity: - storage: 1Gi - accessModes: - - ReadWriteOnce - hostPath: - path: "/root/.kube/" ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: task-pv-claim -spec: - storageClassName: manual - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: inventory-be - namespace: my-test -spec: - replicas: 1 - selector: - matchLabels: - app: inventory - template: - metadata: - labels: - app: inventory - spec: - containers: - - name: inventory-be - image: ealtedge/inventory-be:v1.3 - env: - - name: INFLUXDB_IP - value: "159.138.129.53" - - name: INFLUXDB_PORT - value: "30270" - - name: OBJ_DET_SER_IP - value: "159.138.129.53" - - name: OBJ_DET_SER_PORT - value: "30093" - ports: - - containerPort: 9995 ---- -apiVersion: v1 -kind: Service -metadata: - name: inventory-be - namespace: my-test -spec: - selector: - app: inventory - type: NodePort - ports: - - port: 9995 - name: service-port - nodePort: 30092 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: obj-detection -spec: - replicas: 1 - selector: - matchLabels: - app: detection - template: - metadata: - labels: - app: detection - spec: - containers: - - name: obj-detection - image: ealtedge/obj-detection - ports: - - containerPort: 9999 - volumeMounts: - - name: host-path-storage - mountPath: "/usr/app/model/" - volumes: - - name: host-path-storage - persistentVolumeClaim: - claimName: host-path-claim ---- -apiVersion: v1 -kind: PersistentVolume -metadata: - name: host-path-pv - labels: - type: local -spec: - storageClassName: manual - capacity: - storage: 2Gi - accessModes: - - ReadWriteOnce - hostPath: - path: "/root/model/" ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: host-path-claim -spec: - storageClassName: manual - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 2Gi ---- -apiVersion: v1 -kind: Service -metadata: - name: obj-detection -spec: - selector: - app: detection - type: NodePort - ports: - - port: 9999 - name: service-port - nodePort: 30093