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
|
initialDelaySeconds: 15
|
||||||
periodSeconds: 15
|
periodSeconds: 15
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
name: metrics
|
||||||
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: kubeconfig
|
- name: kubeconfig
|
||||||
mountPath: /etc/kubeconfig
|
mountPath: /etc/kubeconfig
|
||||||
|
|
|
@ -74,6 +74,10 @@ spec:
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 15
|
||||||
periodSeconds: 15
|
periodSeconds: 15
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
name: metrics
|
||||||
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- include "karmada.kubeconfig.volumeMount" . | nindent 12 }}
|
{{- include "karmada.kubeconfig.volumeMount" . | nindent 12 }}
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -65,6 +65,9 @@ spec:
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 15
|
||||||
periodSeconds: 15
|
periodSeconds: 15
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
|
ports:
|
||||||
|
- containerPort: 10351
|
||||||
|
name: http
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: karmada-certs
|
- name: karmada-certs
|
||||||
mountPath: /etc/karmada/pki
|
mountPath: /etc/karmada/pki
|
||||||
|
|
Loading…
Reference in New Issue