apiVersion: apps/v1 kind: Deployment metadata: name: warden-ml spec: replicas: 1 selector: matchLabels: app: warden-ml minReadySeconds: 5 strategy: type: RollingUpdate rollingUpdate: maxSurge: 1 maxUnavailable: 1 template: metadata: labels: app: warden-ml spec: containers: - name: warden-ml image: vivekmetaphy/warden-ml:v3 ports: - containerPort: 8000 resources: requests: memory: "2Gi" # Minimum memory required for the container cpu: "1000m" # Minimum CPU required for the containe limits: memory: "4Gi" # Minimum memory required for the container cpu: "2000m" # Minimum CPU required for the containe # Maximum CPU the container can use # imagePullSecrets: # - name: acr-secret # dnsPolicy: ClusterFirstWithHostNet