File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
internal/namespaces/k8s/v1 Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Kubernetes API.
14
14
- [ Update a Cluster] ( #update-a-cluster )
15
15
- [ Upgrade a Cluster] ( #upgrade-a-cluster )
16
16
- [ Wait for a cluster to reach a stable state] ( #wait-for-a-cluster-to-reach-a-stable-state )
17
- - [ Manage your Kubernetes Kapsule cluster's kubeconfig files] ( #manage-your-kubernetes-kapsule-cluster's -kubeconfig-files )
17
+ - [ Manage your Kubernetes Kapsule cluster's kubeconfig files] ( #manage-your-kubernetes-kapsule-clusters -kubeconfig-files )
18
18
- [ Retrieve a kubeconfig] ( #retrieve-a-kubeconfig )
19
19
- [ Install a kubeconfig] ( #install-a-kubeconfig )
20
20
- [ Uninstall a kubeconfig] ( #uninstall-a-kubeconfig )
@@ -37,7 +37,6 @@ Kubernetes API.
37
37
- [ Get a Version] ( #get-a-version )
38
38
- [ List all available Versions] ( #list-all-available-versions )
39
39
40
-
41
40
## Kapsule cluster management commands
42
41
43
42
A cluster is a fully managed Kubernetes cluster
@@ -286,7 +285,7 @@ scw k8s cluster migrate-to-private-network <cluster-id ...> [arg=value ...]
286
285
| Name | | Description |
287
286
| ------| ---| -------------|
288
287
| cluster-id | Required | ID of the cluster to migrate |
289
- | private-network-id | Required | ID of the Private Network to link to the cluster |
288
+ | private-network-id | | ID of the Private Network to link to the cluster |
290
289
| region | Default: ` fr-par ` <br />One of: ` fr-par ` , ` nl-ams ` , ` pl-waw ` | Region to target. If none is passed will use default region from the config |
291
290
292
291
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ import (
13
13
func clusterMigrateToPrivateNetworkBuilder (c * core.Command ) * core.Command {
14
14
c .ArgSpecs .GetByName ("private-network-id" ).Required = false
15
15
16
+ infoPNID := " If none is provided, a private network will be created"
17
+ c .Long += infoPNID
18
+ c .ArgSpecs .GetByName ("private-network-id" ).Short += "." + infoPNID
19
+
16
20
c .Run = func (ctx context.Context , args interface {}) (i interface {}, e error ) {
17
21
request := args .(* k8s.MigrateToPrivateNetworkClusterRequest )
18
22
client := core .ExtractClient (ctx )
You can’t perform that action at this time.
0 commit comments