|
1 | 1 | apiVersion: v1
|
2 | 2 | kind: Namespace
|
3 | 3 | metadata:
|
4 |
| - labels: |
5 |
| - control-plane: controller-manager |
6 |
| - app.kubernetes.io/name: namespace |
7 |
| - app.kubernetes.io/instance: system |
8 |
| - app.kubernetes.io/component: manager |
9 |
| - app.kubernetes.io/created-by: cluster-api-agent |
10 |
| - app.kubernetes.io/part-of: cluster-api-agent |
11 |
| - app.kubernetes.io/managed-by: kustomize |
12 | 4 | name: system
|
13 | 5 | ---
|
14 | 6 | apiVersion: apps/v1
|
15 | 7 | kind: Deployment
|
16 | 8 | metadata:
|
17 | 9 | name: controller-manager
|
18 | 10 | namespace: system
|
19 |
| - labels: |
20 |
| - control-plane: controller-manager |
21 |
| - app.kubernetes.io/name: deployment |
22 |
| - app.kubernetes.io/instance: controller-manager |
23 |
| - app.kubernetes.io/component: manager |
24 |
| - app.kubernetes.io/created-by: cluster-api-agent |
25 |
| - app.kubernetes.io/part-of: cluster-api-agent |
26 |
| - app.kubernetes.io/managed-by: kustomize |
27 | 11 | spec:
|
28 | 12 | selector:
|
29 | 13 | matchLabels:
|
30 |
| - control-plane: controller-manager |
| 14 | + control-plane: capoa-controlplane-controller-manager |
31 | 15 | replicas: 1
|
32 | 16 | template:
|
33 | 17 | metadata:
|
34 | 18 | annotations:
|
35 | 19 | kubectl.kubernetes.io/default-container: manager
|
36 | 20 | labels:
|
37 |
| - control-plane: controller-manager |
| 21 | + control-plane: capoa-controlplane-controller-manager |
38 | 22 | spec:
|
39 |
| - # TODO(user): Uncomment the following code to configure the nodeAffinity expression |
40 |
| - # according to the platforms which are supported by your solution. |
41 |
| - # It is considered best practice to support multiple architectures. You can |
42 |
| - # build your manager image using the makefile target docker-buildx. |
43 |
| - # affinity: |
44 |
| - # nodeAffinity: |
45 |
| - # requiredDuringSchedulingIgnoredDuringExecution: |
46 |
| - # nodeSelectorTerms: |
47 |
| - # - matchExpressions: |
48 |
| - # - key: kubernetes.io/arch |
49 |
| - # operator: In |
50 |
| - # values: |
51 |
| - # - amd64 |
52 |
| - # - arm64 |
53 |
| - # - ppc64le |
54 |
| - # - s390x |
55 |
| - # - key: kubernetes.io/os |
56 |
| - # operator: In |
57 |
| - # values: |
58 |
| - # - linux |
59 | 23 | securityContext:
|
60 | 24 | runAsNonRoot: true
|
61 |
| - # TODO(user): For common cases that do not require escalating privileges |
62 |
| - # it is recommended to ensure that all your Pods/Containers are restrictive. |
63 |
| - # More info: https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted |
64 |
| - # Please uncomment the following code if your project does NOT have to work on old Kubernetes |
65 |
| - # versions < 1.19 or on vendors versions which do NOT support this field by default (i.e. Openshift < 4.11 ). |
66 |
| - # seccompProfile: |
67 |
| - # type: RuntimeDefault |
68 | 25 | containers:
|
69 | 26 | - command:
|
70 | 27 | - /manager
|
|
90 | 47 | port: 8081
|
91 | 48 | initialDelaySeconds: 5
|
92 | 49 | periodSeconds: 10
|
93 |
| - # TODO(user): Configure the resources accordingly based on the project requirements. |
94 |
| - # More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
95 | 50 | resources:
|
96 | 51 | limits:
|
97 | 52 | cpu: 500m
|
|
0 commit comments