Skip to content

Commit

Permalink
TMP
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciprian Hacman committed Jan 24, 2021
1 parent 7d244fc commit 8cff486
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/kops/create_cluster.go
Expand Up @@ -488,6 +488,7 @@ func RunCreateCluster(ctx context.Context, f *util.Factory, out io.Writer, c *Cr
if c.ContainerRuntime != "" {
cluster.Spec.ContainerRuntime = c.ContainerRuntime
}
c.Networking = "kubenet"
if c.ContainerRuntime == "containerd" && c.Networking == "" {
return fmt.Errorf("--networking must be set with containerd")
}
Expand Down

0 comments on commit 8cff486

Please sign in to comment.