Skip to main content
When Ankra provisions a cluster, it does not just create VMs and install Kubernetes - it applies a set of infrastructure defaults that reduce the cluster’s attack surface from the first boot. This page describes what those defaults are.
This page is about clusters Ankra provisions. Imported clusters keep the posture you built them with - Ankra manages their workloads through the agent but does not modify their infrastructure, and they have no Ankra bastion.

Network posture

  • Tag-scoped cloud firewalls - each node group and the bastion get their own firewall rules, scoped by provider tags rather than static IP lists, so rules follow nodes as they are added and removed.
  • Private networking with NAT - where the provider supports it, nodes are placed on a private network with no public IPs; their egress is routed through the bastion or gateway.
  • Bastion jump hosts for SSH - the bastion is the only host with a public IP, and SSH to nodes goes through it. See the Hetzner architecture for a concrete example of this layout.

SSH keys

Ankra generates a 4096-bit RSA key pair per cluster. The key is held authoritatively in Ankra’s secret store (HashiCorp Vault or OpenBao) and is never stored in the cluster definition - exporting, cloning, or committing a definition to Git cannot leak key material.

Control plane joins

kubeadm join tokens are generated on demand when a node joins and expire after 15 minutes. There are no long-lived join secrets to rotate, leak, or forget about.

Security add-ons

The add-on catalog covers the common security building blocks: cert-manager, Kyverno, Trivy Operator, External Secrets, Sealed Secrets, Cilium, Istio, and Vault. They install like any other add-on - visible in the platform, versioned, and removable - so there is no hidden security infrastructure you cannot inspect or take out. Newly provisioned clusters start with the ankra-security-baseline stack profile: Trivy Operator for scanning, and Pod Security Standards enforced through the API server’s own Pod Security Admission with a guard policy, so no policy engine has to sit on the admission path. Kyverno is available as the opt-in ankra-policy-engine profile. See Security baseline. Whether new clusters start with the baseline is an organisation setting: Identity & access → Sign-in and security, section New clusters, switch Security baseline on new clusters. Turning it off or on changes only clusters Ankra makes from then on; the page confirms “Clusters you have today are not changed.” Imported clusters are not affected either way.

OS-level options

The cluster create flow has no OS-level audit or hardening options, and Ankra does not turn on OS audit logging (such as auditd) on nodes. On a cluster Ankra provisioned, two OS-level actions are available after creation from AI chat or the MCP server: harden_bastion applies a revertable SSH hardening set to the cluster’s bastion, and apply_node_os_policy writes the node OS update policy to the bastion and the nodes. From the CLI, ankra cluster <provider> os-patches node-policy <cluster> --all-nodes writes the same hold by hand on every Ankra-built provider except Scaleway (--node <id> for some nodes, --include-bastion for the bastion, --revert to lift it); it is refused unless the cluster’s OS patch policy is enabled, and it asks before writing. When AI remediation is on for the cluster, Ankra AI’s review of a bastion problem can propose harden_bastion or restart_bastion. Each waits for a person to approve it in the approvals inbox, whatever the autonomy level. Without AI remediation the review only reads, and names the action for you to run from Ask Ankra.

Security at Ankra

The trust model these defaults sit inside.

Cluster Security

Vulnerability posture once the cluster is running.

SOPS Encryption

Encrypt sensitive values in your Stacks.

Ankra Agent

The hardened, outbound-only agent pod.