2020-07-26 21:47:24 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Namespace
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
control-plane: controller-manager
|
|
|
|
name: system
|
|
|
|
---
|
|
|
|
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
|
2020-11-28 01:28:07 +00:00
|
|
|
env:
|
|
|
|
- name: ENABLE_WEBHOOKS
|
|
|
|
value: "false"
|
2020-07-26 21:47:24 +00:00
|
|
|
name: manager
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpu: 100m
|
2021-07-20 08:08:54 +00:00
|
|
|
memory: 100Mi
|
2020-07-26 21:47:24 +00:00
|
|
|
requests:
|
|
|
|
cpu: 100m
|
2021-07-20 08:08:54 +00:00
|
|
|
memory: 50Mi
|
2020-07-26 21:47:24 +00:00
|
|
|
terminationGracePeriodSeconds: 10
|