-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically apply CNI on multinode clusters #7930
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sharifelgamal The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -811,6 +811,7 @@ func kubectlPath(cfg config.ClusterConfig) string { | |||
|
|||
// applyKICOverlay applies the CNI plugin needed to make kic work | |||
func (k *Bootstrapper) applyKICOverlay(cfg config.ClusterConfig) error { | |||
fmt.Println("APPLY KIC OVERLAY") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove debugging.
pkg/minikube/driver/driver.go
Outdated
@@ -163,9 +162,9 @@ func FlagDefaults(name string) FlagHints { | |||
fh := FlagHints{} | |||
if name != None { | |||
fh.CacheImages = true | |||
// only for kic, till other run-times are available we auto-set containerd. | |||
// only for kic, until other runtimes are available we auto-set containerd. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this comment actually is no long true, we have other run-time,s we can just delete this comment.
pkg/minikube/config/config.go
Outdated
return nil | ||
} | ||
|
||
// MultiNode returns true if the cluster |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
finish comment... :)
pkg/minikube/config/config.go
Outdated
// MultiNodeCNIConfig add default CNI config needed for multinode clusters and saves off the config | ||
func MultiNodeCNIConfig(cc *ClusterConfig) error { | ||
if cc.KubernetesConfig.ExtraOptions.Get("pod-network-cidr", "kubeadm") == "" { | ||
fmt.Println("SETTING CNI CONFIG") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove deubbing there too.
/ok-to-test |
kvm2 Driver |
Fixes #7459