File tree Expand file tree Collapse file tree 1 file changed +14
-29
lines changed
Expand file tree Collapse file tree 1 file changed +14
-29
lines changed Original file line number Diff line number Diff line change @@ -36,35 +36,22 @@ spec:
3636 labels :
3737 control-plane : controller-manager
3838 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
39+ affinity :
40+ nodeAffinity :
41+ requiredDuringSchedulingIgnoredDuringExecution :
42+ nodeSelectorTerms :
43+ - matchExpressions :
44+ - key : kubernetes.io/arch
45+ operator : In
46+ values :
47+ - amd64
48+ - arm64
49+ - key : kubernetes.io/os
50+ operator : In
51+ values :
52+ - linux
5953 securityContext :
6054 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
6855 containers :
6956 - command :
7057 - /manager
8774 port : 8081
8875 initialDelaySeconds : 5
8976 periodSeconds : 10
90- # TODO(user): Configure the resources accordingly based on the project requirements.
91- # More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
9277 resources :
9378 limits :
9479 cpu : 500m
You can’t perform that action at this time.
0 commit comments