diff --git a/kerasDeloyment.yaml b/kerasDeloyment.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6a52d7eb95b3ea27d87428fb96f02a8d86b93da1 --- /dev/null +++ b/kerasDeloyment.yaml @@ -0,0 +1,38 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: keras + namespace: digits +spec: + replicas: 1 + selector: + matchLabels: + k8s-app: keras + template: + metadata: + labels: + k8s-app: keras + spec: + tolerations: + - key: "region" + operator: "Equal" + value: "allow" + effect: "NoSchedule" + containers: + - name: keras + image: gitlab-registry.nautilus.optiputer.net/byungheon-jeong/keras-smoke-detection + securityContext: + capabilities: + add: + - NET_ADMIN + command: ["/bin/sh", "-c"] + args: ["sleep infinity"] + resources: + limits: + nvidia.com/gpu: 1 + memory: "64Gi" + cpu: "8" + requests: + memory: "32Gi" + cpu: "4" +