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:
parent
cc7b9ac2eb
commit
e63349da8c
|
@ -122,6 +122,10 @@ spec:
|
|||
initialDelaySeconds: 15
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: metrics
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: kubeconfig
|
||||
mountPath: /etc/kubeconfig
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -65,6 +65,9 @@ spec:
|
|||
initialDelaySeconds: 15
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
ports:
|
||||
- containerPort: 10351
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: karmada-certs
|
||||
mountPath: /etc/karmada/pki
|
||||
|
|
Loading…
Reference in New Issue