mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
Make master service IP static (no longer randomly assigned)
This commit is contained in:
@@ -162,7 +162,7 @@ func startComponents(manifestURL string) (apiServerURL string) {
|
||||
AdmissionControl: admit.NewAlwaysAdmit(),
|
||||
ReadWritePort: portNumber,
|
||||
ReadOnlyPort: portNumber,
|
||||
PublicAddress: host,
|
||||
PublicAddress: net.ParseIP(host),
|
||||
})
|
||||
handler.delegate = m.Handler
|
||||
|
||||
|
Reference in New Issue
Block a user