...
1apiVersion: v1
2kind: Namespace
3metadata:
4 labels:
5 control-plane: controller-manager
6 name: system
7---
8apiVersion: apps/v1
9kind: Deployment
10metadata:
11 name: controller-manager
12 namespace: system
13 labels:
14 control-plane: controller-manager
15spec:
16 selector:
17 matchLabels:
18 control-plane: controller-manager
19 replicas: 1
20 template:
21 metadata:
22 labels:
23 control-plane: controller-manager
24 spec:
25 securityContext:
26 runAsUser: 65532
27 containers:
28 - command:
29 - /manager
30 args:
31 - --leader-elect
32 image: vectorized/redpanda-operator:2021022-e853bf3
33 name: manager
34 securityContext:
35 allowPrivilegeEscalation: false
36 livenessProbe:
37 httpGet:
38 path: /healthz
39 port: 8081
40 initialDelaySeconds: 15
41 periodSeconds: 20
42 timeoutSeconds: 10
43 readinessProbe:
44 httpGet:
45 path: /readyz
46 port: 8081
47 initialDelaySeconds: 5
48 periodSeconds: 10
49 timeoutSeconds: 10
50 resources:
51 limits:
52 cpu: 100m
53 memory: 256Mi
54 requests:
55 cpu: 50m
56 memory: 128Mi
57 terminationGracePeriodSeconds: 10
View as plain text