34fd3e0bfc
* add documentation for openstack provider (capo) * add manifests for openstack provider (capo) * add cluster templates for control plane and workers * add site definition to use openstack provider (capo) with control plane and workers Change-Id: I7158aa87f2ef044d0acca448e3b1c19f58416e22
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: controller-manager
|
|
namespace: system
|
|
labels:
|
|
control-plane: capo-controller-manager
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
control-plane: capo-controller-manager
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
control-plane: capo-controller-manager
|
|
annotations:
|
|
prometheus.io/scrape: 'true'
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- --enable-leader-election
|
|
image: controller:latest
|
|
imagePullPolicy: IfNotPresent
|
|
name: manager
|
|
ports:
|
|
- containerPort: 9440
|
|
name: healthz
|
|
protocol: TCP
|
|
- containerPort: 8080
|
|
name: metrics
|
|
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
|