---
title: "SKS: Restrict API server access with an IP allow-list"
date: 2026-11-26
tags: ["SKS","Security"]
url: https://changelog.exoscale.com/sks-api-server-ip-allow-list/
---
# SKS: Restrict API server access with an IP allow-list

You can now restrict which source IP ranges can reach the Kubernetes API server endpoint of your SKS clusters. Set an IP allow-list when you create a cluster, or add one to an existing cluster. Connections from IP addresses outside the list are rejected at the edge of the Exoscale platform, before they reach your control plane.

![Setting the Allowed Networks of an SKS cluster in the Exoscale Portal](sks-api-server-ip-allow-list-image-01.png)

**What this enables**

* **Smaller attack surface:** Expose the control plane only to trusted networks, such as your office egress IP, a VPN gateway or your CI runners, instead of the whole Internet.
* **Cluster nodes are always allowed:** You don’t need to add their IP addresses to the allow-list. Exoscale automatically allows both NodePool and Karpenter nodes to reach the Kubernetes API server.
* **Node-only access:** Set an empty list to block every external client and keep the API server reachable only from your nodes.
* **Available everywhere:** Manage the allow-list in the Exoscale Portal (Allowed Networks), the Exoscale CLI (`--allowed-network`), the Terraform provider (`allowed_networks`) or the API (`allowed-networks`).

**Good to know**

* The allow-list accepts up to 16 IPv4 CIDR ranges. IPv6 is not supported.
* The allow-list defaults to `0.0.0.0/0`, which allows access from all IPs.
* The allow-list only filters traffic to the Kubernetes API server. To filter traffic to your workloads, use [IP allow-lists for ingress traffic](https://community.exoscale.com/product/compute/containers/how-to/restrict-ingress-traffic-ip-allow-lists/).

[Learn how to restrict API server access with an IP allow-list →](https://community.exoscale.com/product/compute/containers/how-to/restrict-api-server-access-ip-allowlist/)

