File tree 2 files changed +17
-0
lines changed
operator/pkg/controlplane
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ spec:
128
128
command:
129
129
- /bin/karmada-controller-manager
130
130
- --kubeconfig=/etc/karmada/kubeconfig
131
+ - --metrics-bind-address=:8080
131
132
- --cluster-status-update-frequency=10s
132
133
- --failover-eviction-timeout=30s
133
134
- --leader-elect-resource-namespace={{ .SystemNamespace }}
@@ -142,6 +143,10 @@ spec:
142
143
initialDelaySeconds: 15
143
144
periodSeconds: 15
144
145
timeoutSeconds: 5
146
+ ports:
147
+ - containerPort: 8080
148
+ name: metrics
149
+ protocol: TCP
145
150
volumeMounts:
146
151
- name: kubeconfig
147
152
subPath: kubeconfig
@@ -200,6 +205,10 @@ spec:
200
205
initialDelaySeconds: 15
201
206
periodSeconds: 15
202
207
timeoutSeconds: 5
208
+ ports:
209
+ - containerPort: 10351
210
+ name: metrics
211
+ protocol: TCP
203
212
volumeMounts:
204
213
- name: karmada-certs
205
214
mountPath: /etc/karmada/pki
@@ -263,6 +272,10 @@ spec:
263
272
initialDelaySeconds: 15
264
273
periodSeconds: 15
265
274
timeoutSeconds: 5
275
+ ports:
276
+ - containerPort: 10358
277
+ name: metrics
278
+ protocol: TCP
266
279
volumeMounts:
267
280
- name: karmada-certs
268
281
mountPath: /etc/karmada/pki
Original file line number Diff line number Diff line change @@ -49,13 +49,17 @@ spec:
49
49
- /bin/karmada-webhook
50
50
- --kubeconfig=/etc/karmada/kubeconfig
51
51
- --bind-address=0.0.0.0
52
+ - --metrics-bind-address=:8080
52
53
- --default-not-ready-toleration-seconds=30
53
54
- --default-unreachable-toleration-seconds=30
54
55
- --secure-port=8443
55
56
- --cert-dir=/var/serving-cert
56
57
- --v=4
57
58
ports:
58
59
- containerPort: 8443
60
+ - containerPort: 8080
61
+ name: metrics
62
+ protocol: TCP
59
63
volumeMounts:
60
64
- name: kubeconfig
61
65
subPath: kubeconfig
You can’t perform that action at this time.
0 commit comments