-
Notifications
You must be signed in to change notification settings - Fork 258
DRAFT: feat(k8s): add acl docs #3460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
1c8dccc
feat(k8s): add acl docs
bene2k1 d1c03d4
Apply suggestions from code review
bene2k1 06ac9cb
docs(k8s): review docs allowed ips
bene2k1 9f7571e
docs(k8s): acl docs
bene2k1 fc73575
Apply suggestions from code review
jcirinosclwy 3cd3639
Apply suggestions from code review
jcirinosclwy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| --- | ||
| meta: | ||
| title: Managing allowed IP addresses for Kubernetes products | ||
| 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. | ||
| content: | ||
| h1: Managing allowed IP addresses for Kubernetes products | ||
| 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. | ||
| tags: kubernetes kapsule kosmos | ||
| dates: | ||
| validation: 2024-07-10 | ||
| posted: 2024-07-10 | ||
| categories: | ||
| - containers | ||
| --- | ||
|
|
||
| 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. | ||
| This control ensures that only specific IP addresses or networks can interact with your clusters, providing an additional layer of protection. | ||
| The default entry `0.0.0.0/0` enables any host to establish a connection. | ||
jcirinosclwy marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| <Macro id="requirements" /> | ||
|
|
||
| - Scaleway account logged into the [Scaleway console](https://console.scaleway.com) | ||
jcirinosclwy marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - [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 | ||
| - [Created](/containers/kubernetes/how-to/create-cluster) a Kubernetes Kapsule or Kosmos cluster | ||
|
|
||
| <Message type="note"> | ||
| Allowed IP configuration is available for public networks only. | ||
| </Message> | ||
|
|
||
| ## How to add an IP address | ||
|
|
||
| 1. Click **Kubernetes** in the **Containers** section of the [Scaleway console](https://console.scaleway.com). The Kubernetes Kapsule dashboard appears. | ||
| 2. Select the cluster you wish to configure. The **Cluster information** page opens. | ||
| 3. Click the **Allowed IPs** tab to view your current list. | ||
| 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). | ||
| <Message type="note"> | ||
| To restore default settings and allow connections from all IPs, add `0.0.0.0/0` to the list. | ||
| </Message> | ||
|
|
||
| <Message type="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](https://www.scaleway.com/en/peering/) for details on all Scaleway IP prefixes. | ||
| </Message> | ||
|
|
||
| ## How to delete an IP Address | ||
|
|
||
| 1. Locate the IP address in your allowed list. | ||
| 2. Click <Icon name="more" /> and choose **Delete**. | ||
| 3. Confirm by typing **DELETE** in the pop-up. | ||
| 4. Click **Delete allowed IP** to confirm deletion. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.