airshipctl/manifests/function/capi/v0.3.3/manager/manager.yaml
Dmitry Ukov 719c347197 Add CAPI function
Forked kustomization from 0.3.3 release

Change-Id: Ib84914f8e00d4e35c3670095b56e2c4dd33d1650
2020-04-27 17:45:34 +04:00

42 lines
902 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
namespace: system
labels:
control-plane: controller-manager
spec:
selector:
matchLabels:
control-plane: controller-manager
replicas: 1
template:
metadata:
labels:
control-plane: controller-manager
spec:
containers:
- command:
- /manager
args:
- --enable-leader-election
image: controller:latest
name: manager
ports:
- containerPort: 9440
name: healthz
protocol: TCP
readinessProbe:
httpGet:
path: /readyz
port: healthz
livenessProbe:
httpGet:
path: /healthz
port: healthz
terminationGracePeriodSeconds: 10
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master