Skip to content

Commit 4995e6c

Browse files
scaleway-botyfodil
andauthored
chore(k8s): update links k8s (#5095)
Co-authored-by: Yacine Fodil <[email protected]>
1 parent 823b4d1 commit 4995e6c

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
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
@@ -29,7 +29,7 @@ ARGS:
2929
[pools.{index}.max-size] Defines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool
3030
[pools.{index}.container-runtime] Customization of the container runtime is available for each pool (unknown_runtime | docker | containerd | crio)
3131
[pools.{index}.autohealing] Defines whether the autohealing feature is enabled for the pool
32-
[pools.{index}.tags.{index}] Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/containers/kubernetes/api-cli/managing-tags)
32+
[pools.{index}.tags.{index}] Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/kubernetes/api-cli/managing-tags)
3333
[pools.{index}.kubelet-args.{key}] Kubelet arguments to be used by this pool. Note that this feature is experimental
3434
[pools.{index}.upgrade-policy.max-unavailable] The maximum number of nodes that can be not ready at the same time
3535
[pools.{index}.upgrade-policy.max-surge] The maximum number of nodes to be created during the upgrade

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ARGS:
2626
[max-size] Defines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool
2727
[container-runtime] Customization of the container runtime is available for each pool (unknown_runtime | docker | containerd | crio)
2828
[autohealing] Defines whether the autohealing feature is enabled for the pool
29-
[tags.{index}] Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/containers/kubernetes/api-cli/managing-tags)
29+
[tags.{index}] Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/kubernetes/api-cli/managing-tags)
3030
[kubelet-args.{key}] Kubelet arguments to be used by this pool. Note that this feature is experimental
3131
[upgrade-policy.max-unavailable]
3232
[upgrade-policy.max-surge]

cmd/scw/testdata/test-all-usage-k8s-version-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
33
A version is a vanilla Kubernetes version like `x.y.z`
4-
It comprises a major version `x`, a minor version `y`, and a patch version `z`. At the minimum, Kapsule (Scaleway's managed Kubernetes), will support the last patch version for the past three minor releases. Also, each version has a different set of CNIs, eventually container runtimes, feature gates, and admission plugins available. See our [Version Support Policy](https://www.scaleway.com/en/docs/containers/kubernetes/reference-content/version-support-policy/).
4+
It comprises a major version `x`, a minor version `y`, and a patch version `z`. At the minimum, Kapsule (Scaleway's managed Kubernetes), will support the last patch version for the past three minor releases. Also, each version has a different set of CNIs, eventually container runtimes, feature gates, and admission plugins available. See our [Version Support Policy](https://www.scaleway.com/en/docs/kubernetes/reference-content/version-support-policy/).
55

66
USAGE:
77
scw k8s version <command>

docs/commands/k8s.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ scw k8s cluster create [arg=value ...]
175175
| pools.{index}.max-size | | Defines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool |
176176
| pools.{index}.container-runtime | One of: `unknown_runtime`, `docker`, `containerd`, `crio` | Customization of the container runtime is available for each pool |
177177
| pools.{index}.autohealing | | Defines whether the autohealing feature is enabled for the pool |
178-
| pools.{index}.tags.{index} | | Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/containers/kubernetes/api-cli/managing-tags) |
178+
| pools.{index}.tags.{index} | | Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/kubernetes/api-cli/managing-tags) |
179179
| pools.{index}.kubelet-args.{key} | | Kubelet arguments to be used by this pool. Note that this feature is experimental |
180180
| pools.{index}.upgrade-policy.max-unavailable | | The maximum number of nodes that can be not ready at the same time |
181181
| pools.{index}.upgrade-policy.max-surge | | The maximum number of nodes to be created during the upgrade |
@@ -1006,7 +1006,7 @@ scw k8s pool create [arg=value ...]
10061006
| max-size | | Defines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool |
10071007
| container-runtime | One of: `unknown_runtime`, `docker`, `containerd`, `crio` | Customization of the container runtime is available for each pool |
10081008
| autohealing | | Defines whether the autohealing feature is enabled for the pool |
1009-
| tags.{index} | | Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/containers/kubernetes/api-cli/managing-tags) |
1009+
| tags.{index} | | Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/kubernetes/api-cli/managing-tags) |
10101010
| kubelet-args.{key} | | Kubelet arguments to be used by this pool. Note that this feature is experimental |
10111011
| upgrade-policy.max-unavailable | | |
10121012
| upgrade-policy.max-surge | | |
@@ -1303,7 +1303,7 @@ scw k8s pool wait 11111111-1111-1111-1111-111111111111
13031303
## Available Kubernetes versions commands
13041304

13051305
A version is a vanilla Kubernetes version like `x.y.z`
1306-
It comprises a major version `x`, a minor version `y`, and a patch version `z`. At the minimum, Kapsule (Scaleway's managed Kubernetes), will support the last patch version for the past three minor releases. Also, each version has a different set of CNIs, eventually container runtimes, feature gates, and admission plugins available. See our [Version Support Policy](https://www.scaleway.com/en/docs/containers/kubernetes/reference-content/version-support-policy/).
1306+
It comprises a major version `x`, a minor version `y`, and a patch version `z`. At the minimum, Kapsule (Scaleway's managed Kubernetes), will support the last patch version for the past three minor releases. Also, each version has a different set of CNIs, eventually container runtimes, feature gates, and admission plugins available. See our [Version Support Policy](https://www.scaleway.com/en/docs/kubernetes/reference-content/version-support-policy/).
13071307

13081308

13091309
### Get a Version

internal/namespaces/k8s/v1/k8s_cli.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func k8sVersion() *core.Command {
100100
return &core.Command{
101101
Short: `Available Kubernetes versions commands`,
102102
Long: `A version is a vanilla Kubernetes version like ` + "`" + `x.y.z` + "`" + `
103-
It comprises a major version ` + "`" + `x` + "`" + `, a minor version ` + "`" + `y` + "`" + `, and a patch version ` + "`" + `z` + "`" + `. At the minimum, Kapsule (Scaleway's managed Kubernetes), will support the last patch version for the past three minor releases. Also, each version has a different set of CNIs, eventually container runtimes, feature gates, and admission plugins available. See our [Version Support Policy](https://www.scaleway.com/en/docs/containers/kubernetes/reference-content/version-support-policy/).`,
103+
It comprises a major version ` + "`" + `x` + "`" + `, a minor version ` + "`" + `y` + "`" + `, and a patch version ` + "`" + `z` + "`" + `. At the minimum, Kapsule (Scaleway's managed Kubernetes), will support the last patch version for the past three minor releases. Also, each version has a different set of CNIs, eventually container runtimes, feature gates, and admission plugins available. See our [Version Support Policy](https://www.scaleway.com/en/docs/kubernetes/reference-content/version-support-policy/).`,
104104
Namespace: "k8s",
105105
Resource: "version",
106106
}
@@ -420,7 +420,7 @@ func k8sClusterCreate() *core.Command {
420420
},
421421
{
422422
Name: "pools.{index}.tags.{index}",
423-
Short: `Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/containers/kubernetes/api-cli/managing-tags)`,
423+
Short: `Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/kubernetes/api-cli/managing-tags)`,
424424
Required: false,
425425
Deprecated: false,
426426
Positional: false,
@@ -1771,7 +1771,7 @@ func k8sPoolCreate() *core.Command {
17711771
},
17721772
{
17731773
Name: "tags.{index}",
1774-
Short: `Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/containers/kubernetes/api-cli/managing-tags)`,
1774+
Short: `Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/kubernetes/api-cli/managing-tags)`,
17751775
Required: false,
17761776
Deprecated: false,
17771777
Positional: false,

0 commit comments

Comments
 (0)