apiVersion: apps/v1 kind: Deployment metadata: name: neuron-rest namespace: neuron-tim labels: app: neuron-rest env: tim spec: replicas: 0 # Not yet deployed — Tim's imprint not set up strategy: type: Recreate selector: matchLabels: app: neuron-rest template: metadata: labels: app: neuron-rest env: tim spec: containers: - name: neuron-rest image: registry.neuralplatform.ai/neuron-technologies/neuron-rest:v0.6.1 imagePullPolicy: Always ports: - name: http containerPort: 8081 envFrom: - configMapRef: name: neuron-tim-config - secretRef: name: neuron-tim-secrets volumeMounts: - name: data mountPath: /data resources: requests: cpu: 250m memory: 512Mi limits: cpu: 1000m memory: 1Gi livenessProbe: httpGet: path: /actuator/health/liveness port: http initialDelaySeconds: 30 periodSeconds: 30 failureThreshold: 3 readinessProbe: httpGet: path: /actuator/health/readiness port: http initialDelaySeconds: 15 periodSeconds: 10 failureThreshold: 3 volumes: - name: data persistentVolumeClaim: claimName: neuron-tim-data