Skip to content

Commit 5f109a5

Browse files
authored
feat(k8s): add cilium_native cni for native routing mode (#5004)
1 parent 5eacb0e commit 5f109a5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

cmd/scw/testdata/test-all-usage-k8s-cluster-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ARGS:
1919
[description] Cluster description
2020
[tags.{index}] Tags associated with the cluster
2121
version=latest Kubernetes version of the cluster
22-
cni=cilium Container Network Interface (CNI) plugin running in the cluster (unknown_cni | cilium | calico | weave | flannel | kilo | none)
22+
cni=cilium Container Network Interface (CNI) plugin running in the cluster (unknown_cni | cilium | calico | weave | flannel | kilo | none | cilium_native)
2323
[pools.{index}.name] Name of the pool
2424
[pools.{index}.node-type] Node type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster
2525
[pools.{index}.placement-group-id] Placement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.

docs/commands/k8s.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ scw k8s cluster create [arg=value ...]
165165
| description | | Cluster description |
166166
| tags.{index} | | Tags associated with the cluster |
167167
| version | Required<br />Default: `latest` | Kubernetes version of the cluster |
168-
| cni | Required<br />Default: `cilium`<br />One of: `unknown_cni`, `cilium`, `calico`, `weave`, `flannel`, `kilo`, `none` | Container Network Interface (CNI) plugin running in the cluster |
168+
| cni | Required<br />Default: `cilium`<br />One of: `unknown_cni`, `cilium`, `calico`, `weave`, `flannel`, `kilo`, `none`, `cilium_native` | Container Network Interface (CNI) plugin running in the cluster |
169169
| pools.{index}.name | | Name of the pool |
170170
| pools.{index}.node-type | | Node type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster |
171171
| pools.{index}.placement-group-id | | Placement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances. |

internal/namespaces/k8s/v1/k8s_cli.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ func k8sClusterCreate() *core.Command {
346346
"flannel",
347347
"kilo",
348348
"none",
349+
"cilium_native",
349350
},
350351
},
351352
{

0 commit comments

Comments
 (0)