Expose metrics port for operator installation #5428
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
This commit is contained in:
parent
ca7438a909
commit
aef704732e
|
@ -128,6 +128,7 @@ spec:
|
|||
command:
|
||||
- /bin/karmada-controller-manager
|
||||
- --kubeconfig=/etc/karmada/kubeconfig
|
||||
- --metrics-bind-address=:8080
|
||||
- --cluster-status-update-frequency=10s
|
||||
- --failover-eviction-timeout=30s
|
||||
- --leader-elect-resource-namespace={{ .SystemNamespace }}
|
||||
|
@ -142,6 +143,10 @@ spec:
|
|||
initialDelaySeconds: 15
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: metrics
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: kubeconfig
|
||||
subPath: kubeconfig
|
||||
|
@ -200,6 +205,10 @@ spec:
|
|||
initialDelaySeconds: 15
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
ports:
|
||||
- containerPort: 10351
|
||||
name: metrics
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: karmada-certs
|
||||
mountPath: /etc/karmada/pki
|
||||
|
@ -263,6 +272,10 @@ spec:
|
|||
initialDelaySeconds: 15
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
ports:
|
||||
- containerPort: 10358
|
||||
name: metrics
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: karmada-certs
|
||||
mountPath: /etc/karmada/pki
|
||||
|
|
|
@ -49,6 +49,7 @@ spec:
|
|||
- /bin/karmada-webhook
|
||||
- --kubeconfig=/etc/karmada/kubeconfig
|
||||
- --bind-address=0.0.0.0
|
||||
- --metrics-bind-address=:8080
|
||||
- --default-not-ready-toleration-seconds=30
|
||||
- --default-unreachable-toleration-seconds=30
|
||||
- --secure-port=8443
|
||||
|
@ -56,6 +57,9 @@ spec:
|
|||
- --v=4
|
||||
ports:
|
||||
- containerPort: 8443
|
||||
- containerPort: 8080
|
||||
name: metrics
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: kubeconfig
|
||||
subPath: kubeconfig
|
||||
|
|
Loading…
Reference in New Issue