Access policy reference ΒΆ
Default allowed external hosts ΒΆ
The following hosts are by default accessible for every workload:
| Host / service | Port | Protocol |
|---|---|---|
kube-dns | 53 | UDP / TCP |
metadata.google.internal | 80 | TCP |
private.googleapis.com | 443 | TCP |
login.microsoftonline.com | 443 | TCP |
graph.microsoft.com | 443 | TCP |
aivencloud.com | 443 | TCP |
You do not need to specify these hosts in your access policies.
Advanced: Access Kubernetes API ΒΆ
Kubernetes offers an API to query or manipulate the state of its objects. For details about the Kubernetes API, see the official documentation.
To allow outbound network access from your workload to the Kubernetes API server, you must explicitly add a label to your workload manifest:
app.yaml
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: my-app
namespace: my-team
labels:
apiserver-access: "enabled"