Allowed IP configuration is available for public networks only.
Managing allowed IP addresses for Kubernetes products
Reviewed on 24 December 2024 • Published on 24 December 2024
Restricting IPs on Kubernetes Kapsule or Kosmos clusters enhances security by limiting access to only trusted sources. Since only IP addresses and networks specified by you can interact with your clusters, you reduce the risk of unauthorized access and potential attacks.
The default entry 0.0.0.0/0
enables any host to establish a connection.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the Scaleway console
- Owner status or IAM permissions allowing actions in the intended Organization
- Created a Kubernetes Kapsule or Kosmos cluster
Note
How to add an IP address
- Click Kubernetes in the Containers section of the Scaleway console. The Kubernetes dashboard appears.
- Select the cluster you wish to configure. The Cluster information page opens.
- Click the Network tab to display your cluster’s network information. Your access control list appears in the Allowed IPs for control plane section.
- Click Add allowed IP. Enter the IP address or IP block in CIDR notation (e.g.,
198.51.100.135/32
for a single IP,198.51.100.0/24
for an IP block), then click Add IP(s).NoteTo restore default settings and allow connections from all IPs, add
0.0.0.0/0
to the list.
Important
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 for details on all Scaleway IP prefixes.
How to delete an IP address
- Click Kubernetes in the Containers section of the Scaleway console. The Kubernetes dashboard appears.
- Select the cluster you wish to configure. The Cluster information page opens.
- Click the Network tab to display your cluster’s network information. Your access control list appears in the Allowed IPs for control plane section.
- Locate the IP address in your allowed list.
- Click «Delete Icon» next to the IP you want to delete. Confirm by typing DELETE in the pop-up, then click Delete allowed IP to confirm deletion.
Was this page helpful?