Skip to content

Commit 200b553

Browse files
committed
feat: update generated cli
1 parent 9cadd9c commit 200b553

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

internal/namespaces/k8s/v1/k8s_cli.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,19 +1108,19 @@ func k8sPoolList() *core.Command {
11081108
Examples: []*core.Example{
11091109
{
11101110
Short: "List all pools for a given cluster",
1111-
Raw: `scw k8s pool list 11111111-1111-1111-111111111111`,
1111+
Raw: `scw k8s pool list cluster-id=11111111-1111-1111-111111111111`,
11121112
},
11131113
{
11141114
Short: "List all scaling pools for a given cluster",
1115-
Raw: `scw k8s pool list 11111111-1111-1111-111111111111 status=scaling`,
1115+
Raw: `scw k8s pool list cluster-id=11111111-1111-1111-111111111111 status=scaling`,
11161116
},
11171117
{
11181118
Short: "List all pools for a given cluster that contain the word foo in the pool name",
1119-
Raw: `scw k8s pool list 11111111-1111-1111-111111111111 name=foo`,
1119+
Raw: `scw k8s pool list cluster-id=11111111-1111-1111-111111111111 name=foo`,
11201120
},
11211121
{
11221122
Short: "List all pools for a given cluster and order them by ascending creation date",
1123-
Raw: `scw k8s pool list 11111111-1111-1111-111111111111 order-by=created_at_asc`,
1123+
Raw: `scw k8s pool list cluster-id=11111111-1111-1111-111111111111 order-by=created_at_asc`,
11241124
},
11251125
},
11261126
View: &core.View{Fields: []*core.ViewField{
@@ -1312,15 +1312,15 @@ func k8sPoolCreate() *core.Command {
13121312
Examples: []*core.Example{
13131313
{
13141314
Short: "Create a pool named bar with 2 DEV1-XL on a given cluster",
1315-
Raw: `scw k8s pool create 11111111-1111-1111-111111111111 name=bar node-type=DEV1-XL size=2`,
1315+
Raw: `scw k8s pool create cluster-id=11111111-1111-1111-111111111111 name=bar node-type=DEV1-XL size=2`,
13161316
},
13171317
{
13181318
Short: "Create a pool named fish with 5 GP1-L with autoscaling enabled within 0 and 10 nodes, autohealing enabled, and containerd as the container runtime on a given cluster",
1319-
Raw: `scw k8s pool create 11111111-1111-1111-111111111111 name=fish node-type=GP1-L size=5 min-size=0 max-size=10 autoscaling=true autohealing=true container-runtime=containerd`,
1319+
Raw: `scw k8s pool create cluster-id=11111111-1111-1111-111111111111 name=fish node-type=GP1-L size=5 min-size=0 max-size=10 autoscaling=true autohealing=true container-runtime=containerd`,
13201320
},
13211321
{
13221322
Short: "Create a tagged pool named turtle with 1 GP1-S which is using the already created placement group 2222222222222-2222-222222222222 for all the nodes in the pool on a given cluster",
1323-
Raw: `scw k8s pool create 11111111-1111-1111-111111111111 name=turtle node-type=GP1-S size=1 placement-group-id=2222222222222-2222-222222222222 tags.0=turtle tags.1=placement-group`,
1323+
Raw: `scw k8s pool create cluster-id=11111111-1111-1111-111111111111 name=turtle node-type=GP1-S size=1 placement-group-id=2222222222222-2222-222222222222 tags.0=turtle tags.1=placement-group`,
13241324
},
13251325
},
13261326
}

0 commit comments

Comments
 (0)