Skip to content

Commit e908682

Browse files
committed
feat(k8s): update docs kubectl
1 parent 985182f commit e908682

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

containers/kubernetes/how-to/connect-cluster-kubectl.mdx

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ categories:
1515

1616
Once your [cluster is created](/containers/kubernetes/how-to/create-cluster/), you can install a `kubeconfig` file unsing Scaleway's command-line tool on your local machine to manage your Kubernetes cluster.
1717

18-
You can use this with `kubectl`, the Kubernetes command-line tool, to run commands against your Kubernetes cluster. This enables you to deploy applications, inspect and manage cluster resources, and view logs directly from your local machine.
19-
18+
You can use this with `kubectl`, the Kubernetes command-line tool, allowing you to run commands against your Kubernetes cluster. This enables you to deploy applications, inspect and manage cluster resources, and view logs directly from your local machine.
2019
<Macro id="requirements" />
2120

2221
- A [Scaleway account](https://console.scaleway.com) logged into the console.
2322
- [Owner status](https://console.scaleway.com) or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) to perform actions in the intended Organization.
24-
- Created a [Kubernetes Kapsule cluster](/containers/kubernetes/how-to/create-cluster/)
23+
- Created a [Kubernetes Kapsule cluster](/containers/kubernetes/how-to/create-cluster/).
2524
- [kubectl](https://kubernetes.io/docs/tasks/tools/) installed locally.
2625
- The [Scaleway CLI](/developer-tools/scaleway-cli/quickstart/) installed locally.
2726

@@ -44,8 +43,9 @@ To create a new policy with the correct permission sets, follow these steps:
4443
- `KubernetesFullAccess` for full cluster management.
4544
- `KubernetesReadOnly` for read-only access.
4645
4. Click **Validate** and then **Create Policy**.
47-
48-
Refer to our [policy and permission sets documentation](/identity-and-access-management/iam/reference-content/permission-sets/) for more details.
46+
<Message type="tip">
47+
Refer to our [policy and permission sets documentation](/identity-and-access-management/iam/reference-content/permission-sets/) for more details.
48+
</Message>
4949

5050
## Accessing the cluster
5151

@@ -60,7 +60,8 @@ If you have not set up the Scaleway CLI yet:
6060
```bash
6161
scw init
6262
```
63-
You will need your [API Key](https://identity-and-access-management/iam/how-to/#creating-API-keys) (access key and secret key).
63+
You will need your [API Key](https://identity-and-access-management/iam/how-to/#creating-API-keys) (access key & secret key).
64+
6465

6566
### Retrieve and install the kubeconfig using `scw`
6667

@@ -70,10 +71,14 @@ If you have not set up the Scaleway CLI yet:
7071
```
7172
This command will:
7273
- Download the `kubeconfig` for the specified cluster.
73-
- Merge it into your existing kubeconfig file (default location: `~/.kube/config`).
74+
- Merge it into your existing `kubeconfig` file (default location: `~/.kube/config`).
7475

7576
2. Verify the installation:
7677
```bash
7778
kubectl get nodes
7879
```
7980
A list of nodes from your Kapsule cluster should appear. If not, review the troubleshooting section.
81+
82+
<Message type="tip">
83+
Refer to our complete [Documentation for `scw k8s`](https://github.com/scaleway/scaleway-cli/blob/master/docs/commands/k8s.md) to learn more about all available commands to manage your Kubernetes cluster using `scw`.
84+
</Message>

0 commit comments

Comments
 (0)