apiVersion: apps/v1 kind: Deployment metadata: name: heic-converter-bot spec: replicas: 1 selector: matchLabels: app: heic-bot template: metadata: labels: app: heic-bot annotations: prometheus.io/scrape: "true" prometheus.io/port: "8000" spec: containers: - name: bot image: git.danilkolesnikov.ru/danilko09/heic-bot:latest env: - name: BOT_TOKEN valueFrom: configMapKeyRef: name: heic-bot-config key: BOT_TOKEN ports: - containerPort: 8000 name: metrics - containerPort: 8080 name: health # Critical for image processing pods resources: requests: memory: "256Mi" cpu: "200m" limits: memory: "1Gi" cpu: "1000m" livenessProbe: httpGet: path: /healthz port: 8080 initialDelaySeconds: 5 periodSeconds: 10 readinessProbe: httpGet: path: /healthz port: 8080 initialDelaySeconds: 5 periodSeconds: 10