Skip to content

Commit 1c8dccc

Browse files
committed
feat(k8s): add acl docs
1 parent 6df320a commit 1c8dccc

File tree

2 files changed

+54
-1
lines changed

2 files changed

+54
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
meta:
3+
title: Managing allowed IP addresses for Kubernetes products
4+
description: Learn how to manage allowed IP addresses for your Kubernetes Kapsule and Kosmos clusters. Configure access restrictions efficiently with our step-by-step guide.
5+
content:
6+
h1: Managing allowed IP addresses for Kubernetes products
7+
paragraph: Learn how to manage allowed IP addresses for your Kubernetes Kapsule and Kosmos clusters. Configure access restrictions efficiently with our step-by-step guide.
8+
tags: kubernetes kapsule kosmos
9+
dates:
10+
validation: 2024-07-10
11+
posted: 2024-07-10
12+
categories:
13+
- containers
14+
---
15+
16+
Restricting IPs on Kubernetes Kapsule or Kosmos clusters enhances security by limiting access to only trusted sources, thereby reducing the risk of unauthorized access and potential attacks.
17+
This control ensures that only specific IP addresses or networks can interact with your clusters, providing an additional layer of protection.
18+
The default entry `0.0.0.0/0` enables any host to establish a connection.
19+
20+
<Macro id="requirements" />
21+
22+
- Scaleway account logged into the [Scaleway console](https://console.scaleway.com)
23+
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing actions in the intended Organization
24+
- [Created](/containers/kubernetes/how-to/create-cluster) a Kubernetes Kapsule or Kosmos cluster
25+
26+
<Message type="note">
27+
Allowed IP configuration is available for public networks only.
28+
</Message>
29+
30+
## How to add an IP address
31+
32+
1. Click **Kubernetes** in the **Containers** section of the [Scaleway console](https://console.scaleway.com). The Kubernetes Kapsule dashboard appears.
33+
2. Select the cluster you wish to configure. The **Cluster information** page opens.
34+
3. Click the **Allowed IPs** tab to view your current list.
35+
4. Click **Add allowed IP**. Enter the IP address or IP block in CIDR format (e.g. `198.51.100.135/32` for a single IP, `198.51.100.0/24` for an IP block).
36+
<Message type="note">
37+
To restore default settings and allow connections from all IPs, add `0.0.0.0/0` to the list.
38+
</Message>
39+
40+
<Message type="important">
41+
For **Kosmos** multi-cloud clusters, allow connections from all Scaleway IP subnets to ensure proper functionality. Access from these IPs cannot be restricted. Refer to our [peering information](https://www.scaleway.com/en/peering/) for details on all Scaleway IP prefixes.
42+
</Message>
43+
44+
## How to delete an IP Address
45+
46+
1. Locate the IP address in your allowed list.
47+
2. Click <Icon name="more" /> and choose **Delete**.
48+
3. Confirm by typing **DELETE** in the pop-up.
49+
4. Click **Delete allowed IP** to confirm deletion.

menu/navigation.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1348,6 +1348,10 @@
13481348
"label": "Manage a Kosmos cluster",
13491349
"slug": "edit-kosmos-cluster"
13501350
},
1351+
{
1352+
"label": "Manage allowed IPs",
1353+
"slug": "manage-allowed-ips"
1354+
},
13511355
{
13521356
"label": "Connect to a cluster with kubectl",
13531357
"slug": "connect-cluster-kubectl"
@@ -4885,4 +4889,4 @@
48854889
],
48864890
"label": "Additional Services"
48874891
}
4888-
]
4892+
]

0 commit comments

Comments
 (0)