This is improve for installation, the port of karmada-apiserver is exposed, but other componment is not.

Signed-off-by: wangxiaofei67 <wangxiaofei67@jd.com>
This commit is contained in:
wangxiaofei67 2024-07-04 20:14:23 +08:00
parent cc7b9ac2eb
commit e63349da8c
3 changed files with 11 additions and 0 deletions

View File

@ -122,6 +122,10 @@ spec:
initialDelaySeconds: 15
periodSeconds: 15
timeoutSeconds: 5
ports:
- containerPort: 8080
name: metrics
protocol: TCP
volumeMounts:
- name: kubeconfig
mountPath: /etc/kubeconfig

View File

@ -74,6 +74,10 @@ spec:
initialDelaySeconds: 15
periodSeconds: 15
timeoutSeconds: 5
ports:
- containerPort: 8080
name: metrics
protocol: TCP
volumeMounts:
{{- include "karmada.kubeconfig.volumeMount" . | nindent 12 }}
resources:

View File

@ -65,6 +65,9 @@ spec:
initialDelaySeconds: 15
periodSeconds: 15
timeoutSeconds: 5
ports:
- containerPort: 10351
name: http
volumeMounts:
- name: karmada-certs
mountPath: /etc/karmada/pki