mirror of https://github.com/kubernetes/kops.git
Make --networking=cilium-eni configure cilium to use eni ipam
This commit is contained in:
parent
7a1f0f4bda
commit
f75bc66732
|
@ -42,6 +42,7 @@ spec:
|
|||
networking:
|
||||
cilium:
|
||||
enableNodePort: true
|
||||
ipam: eni
|
||||
nonMasqueradeCIDR: 100.64.0.0/10
|
||||
sshAccess:
|
||||
- 0.0.0.0/0
|
||||
|
|
|
@ -1143,6 +1143,7 @@ func setupNetworking(opt *NewClusterOptions, cluster *api.Cluster) error {
|
|||
cluster.Spec.Networking.Cilium.EtcdManaged = true
|
||||
case "cilium-eni":
|
||||
addCiliumNetwork(cluster)
|
||||
cluster.Spec.Networking.Cilium.IPAM = "eni"
|
||||
case "gce":
|
||||
cluster.Spec.Networking.GCE = &api.GCENetworkingSpec{}
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue