apiVersion: apps/v1 kind: Deployment metadata: name: ai-service namespace: kt-event-marketing labels: app: ai-service spec: replicas: 1 selector: matchLabels: app: ai-service template: metadata: labels: app: ai-service spec: imagePullSecrets: - name: kt-event-marketing containers: - name: ai-service image: acrdigitalgarage01.azurecr.io/kt-event-marketing/ai-service:dev imagePullPolicy: Always ports: - containerPort: 8083 name: http envFrom: - configMapRef: name: cm-common - configMapRef: name: cm-ai-service - secretRef: name: secret-common - secretRef: name: secret-ai-service resources: requests: cpu: "256m" memory: "256Mi" limits: cpu: "1024m" memory: "1024Mi" # startupProbe: # httpGet: # path: /api/v1/ai/actuator/health # port: 8083 # initialDelaySeconds: 30 # periodSeconds: 10 # failureThreshold: 30 # readinessProbe: # httpGet: # path: /api/v1/ai/actuator/health/readiness # port: 8083 # initialDelaySeconds: 10 # periodSeconds: 5 # failureThreshold: 3 # livenessProbe: # httpGet: # path: /api/v1/ai/actuator/health/liveness # port: 8083 # initialDelaySeconds: 30 # periodSeconds: 10 # failureThreshold: 3