f3ad42960a
This patchset provides the manifests supporting CAPZ v0.5.2. It requires CAPI v1alpha4 (v0.4.2) manifests and clusterctl v0.4.2 binary to work properly. Depends-on: https://review.opendev.org/c/airship/airshipctl/+/804834 Relates-to: #600 Change-Id: Icccaf84d8765c75fb19bb2be352086cc33647f30
62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: controller-manager
|
|
namespace: system
|
|
labels:
|
|
control-plane: capz-controller-manager
|
|
aadpodidbinding: capz-controller-aadpodidentity-selector
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
control-plane: capz-controller-manager
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
control-plane: capz-controller-manager
|
|
aadpodidbinding: capz-controller-aadpodidentity-selector
|
|
annotations:
|
|
kubectl.kubernetes.io/default-logs-container: manager
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- --leader-elect
|
|
- "--metrics-bind-addr=127.0.0.1:8080"
|
|
- "--feature-gates=MachinePool=${EXP_MACHINE_POOL:=false},AKS=${EXP_AKS:=false}"
|
|
- "--v=0"
|
|
image: controller:latest
|
|
imagePullPolicy: Always
|
|
name: manager
|
|
ports:
|
|
- containerPort: 9440
|
|
name: healthz
|
|
protocol: TCP
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /readyz
|
|
port: healthz
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: healthz
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
env:
|
|
- name: NODE_NAME
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: spec.nodeName
|
|
- name: POD_NAME
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: metadata.name
|
|
- name: POD_NAMESPACE
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: metadata.namespace
|
|
terminationGracePeriodSeconds: 10
|
|
serviceAccountName: manager
|