github.com/kotalco/kotal@v0.3.0/config/manager/manager.yaml (about) 1 apiVersion: v1 2 kind: Namespace 3 metadata: 4 labels: 5 control-plane: controller-manager 6 name: kotal 7 --- 8 apiVersion: apps/v1 9 kind: Deployment 10 metadata: 11 name: controller-manager 12 namespace: system 13 labels: 14 control-plane: controller-manager 15 spec: 16 selector: 17 matchLabels: 18 control-plane: controller-manager 19 replicas: 1 20 template: 21 metadata: 22 annotations: 23 kubectl.kubernetes.io/default-container: manager 24 labels: 25 control-plane: controller-manager 26 spec: 27 securityContext: 28 runAsNonRoot: true 29 containers: 30 - name: manager 31 securityContext: 32 allowPrivilegeEscalation: false 33 image: controller:latest 34 command: 35 - /manager 36 args: 37 - "--leader-elect" 38 livenessProbe: 39 httpGet: 40 path: /healthz 41 port: 8081 42 initialDelaySeconds: 15 43 periodSeconds: 20 44 readinessProbe: 45 httpGet: 46 path: /readyz 47 port: 8081 48 initialDelaySeconds: 5 49 periodSeconds: 10 50 resources: 51 requests: 52 cpu: "50m" 53 memory: "100Mi" 54 serviceAccountName: controller-manager 55 terminationGracePeriodSeconds: 10