Specify k8s api server binding ip and port in the kubeadm.yaml
Without this change, the api server will listen to whatever the default network interface is, instead of the OAM ip. Change-Id: Ife9c500335d6bf3cda68a91194e76c09c980654d
This commit is contained in:
parent
ff3d6f84a2
commit
30c6208a7c
@ -94,7 +94,9 @@ stringData:
|
||||
---
|
||||
apiVersion: kubeadm.k8s.io/v1beta2
|
||||
kind: InitConfiguration
|
||||
localAPIEndpoint: {}
|
||||
localAPIEndpoint:
|
||||
advertiseAddress: REPLACEMENT_CP_IP
|
||||
bindPort: REPLACEMENT_CP_PORT
|
||||
nodeRegistration:
|
||||
ignorePreflightErrors:
|
||||
- NumCPU
|
||||
|
Loading…
x
Reference in New Issue
Block a user