809b6234a5
* add documentation for docker provider (capd) * add manifests for docker provider (capd) * add cluster templates for control plane and workers * add site definition to use docker provider (capd) with control plane and workers Change-Id: I36a643774ce2e468b70ab29568bface3da537d41
45 lines
1016 B
YAML
45 lines
1016 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:
|
|
- 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
|
|
volumeMounts:
|
|
- mountPath: /var/run/docker.sock
|
|
name: dockersock
|
|
securityContext:
|
|
privileged: true
|
|
terminationGracePeriodSeconds: 10
|
|
volumes:
|
|
- name: dockersock
|
|
hostPath:
|
|
path: /var/run/docker.sock
|