47041eda24
* The current PS adds manifests files to update CAPD components to 0.4.2 version Change-Id: Ie57201a901277eed122052f0a1c75ed21fa77e54
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
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:
|
|
- args:
|
|
- "--leader-elect"
|
|
- "--metrics-bind-addr=localhost:8080"
|
|
- "--feature-gates=MachinePool=${EXP_MACHINE_POOL:=false},ClusterTopology=${CLUSTER_TOPOLOGY:=false}"
|
|
image: controller:latest
|
|
name: manager
|
|
ports:
|
|
- containerPort: 9440
|
|
name: healthz
|
|
protocol: TCP
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /readyz
|
|
port: healthz
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: healthz
|
|
volumeMounts:
|
|
- mountPath: /var/run/docker.sock
|
|
name: dockersock
|
|
securityContext:
|
|
privileged: true
|
|
terminationGracePeriodSeconds: 10
|
|
serviceAccountName: manager
|
|
tolerations:
|
|
- effect: NoSchedule
|
|
key: node-role.kubernetes.io/master
|
|
volumes:
|
|
- name: dockersock
|
|
hostPath:
|
|
path: /var/run/docker.sock
|