Security is layered: the node OS, the network, admission policy, identity, runtime detection, and secret handling.
Each layer is a separate control, so a failure in one does not expose everything else.
flowchart TB
NET["Network<br/>Cilium policies, only the Cloudflare Tunnel ingresses"] --> ADM["Admission<br/>Kyverno policies (audit mode), cosign checks mostly disabled"]
ADM --> MESH["Mesh<br/>Istio ambient waypoint in security"]
MESH --> ID["Identity<br/>Authentik SSO with MFA for admins"]
ID --> RUN["Runtime<br/>Falco eBPF detection"]
RUN --> SEC["Secrets<br/>Infisical via External Secrets, SOPS in Git"]
- Talos Linux has no SSH, no shell and no package manager. Nodes are managed only through the Talos
API, with
talosctland the configs described in Hardware. - Upgrades are automated and wait for node health (see Cluster Overview).
- Cilium network policies restrict traffic between namespaces and applications.
- Public traffic only enters through the Cloudflare Tunnel to
envoy-external. The router exposes no inbound ports. - See Networking for the full path.
Kyverno (v1.20) runs in audit mode. Its validating and image-verification policies
record violations but do not reject resources, so nothing is blocked at admission today. Results are
shown in Policy Reporter. The admission controller runs two
replicas behind a PodDisruptionBudget, because its Fail webhook on Pods blocks pod creation when it is down.
Most image-signature policies are disabled. They were turned off on Kyverno v1.18.2, which reported false
fails for images they don't match. One is re-enabled as a canary (verify-image-signatures-argocd) to test
whether v1.20 fixes that. Check its policy reports before enabling the others.
The policies use Kyverno's CEL-based types (policies.kyverno.io) and are defined in
apps/policy/kyverno/policies/. The live cluster has:
| Type | Count | What it does | Mode |
|---|---|---|---|
ValidatingPolicy |
5 | Pinned image tags, no privileged containers, run as non-root, resource requests and limits, registry allowlist | Audit |
ImageValidatingPolicy |
22 | Cosign signature checks, one per workload; 21 disabled, 1 canary (see above) | Audit |
MutatingPolicy |
3 | Istio ambient namespace labels, OpenTelemetry collector exclusion, waypoint resources | n/a |
GeneratingPolicy |
23 | Default Istio authorization policies per namespace, Grafana dashboards | n/a |
PolicyException |
24 | Exemptions for infrastructure workloads, all in the policy namespace |
n/a |
Policy Reporter filters out Pods, ReplicaSets and Jobs, so a violation is reported once, against the resource that owns it.
Switching a policy to enforcement changes what the cluster rejects, so do it in this order:
- Check Policy Reporter for every current violation of that policy.
- Fix the workloads, or add a
PolicyExceptionfor the ones that must stay as they are. - Change
validationActionsfromAudittoDenyin the policy file, then commit.
Test on one namespace first. A past policy change blocked all pod creation during a rollout and slowed recovery, so don't enforce a policy cluster-wide in one step.
Authentik is the identity provider for applications that support OIDC or
forward auth. Its configuration is managed as blueprints in Git (apps/security/authentik/blueprints/).
- Administrators require MFA.
- Passkeys (WebAuthn) are supported. Cloudflare rules must not interfere with the WebAuthn endpoints.
- Blueprints are reconciled on an hourly discovery schedule, so a change can take up to an hour to apply.
Istio runs in ambient mode, with the control plane in istio-system (istiod, ztunnel and istio-cni).
Meshed namespaces are media, security, comms, default, agents, observability and
renovate. Their labels come from the Kyverno istio-ambient-namespace-labels allow-list. network
is not labeled. The Envoy gateway pods are enrolled per pod, and
argocd-server is enrolled per pod too. Namespaces with a namespace-wide waypoint add L7 policy on
top of mTLS. Mesh-wide telemetry is set in istiod.
Unmeshed workloads that still reach meshed pods include the observability OpenTelemetry collectors,
which scrape metrics ports. Only observability still has an allow-unmeshed-network-ingress
AuthorizationPolicy. It admits ports 8080, 9090 and 3100 from any source, for the collector. Envoy's traffic to application ports is covered
by each namespace's default-allow, because Envoy has a mesh identity. The collector's scrape paths are
the only unmeshed callers. Check the ztunnel none allowed rejections before removing the last exceptions.
Falco watches syscalls with the modern eBPF driver. The driver is used because Talos has no kernel headers, so no kernel module can be built.
- Kubernetes audit events are collected separately (
falco-k8saudit) and go through Fluent Bit. - Alerts are forwarded through Falcosidekick.
- Known-noisy behavior from CI runners and CNPG backups is silenced in the rules. Each silence should be narrow.
Talos and Kubernetes upgrades are rolled out one node at a time by tuppr. A node that fails its health check stops the rollout.
Application secrets come from Infisical and never sit in Git. See Secrets.
- Gatus checks endpoints from outside the cluster and alerts to Discord.
- Audit and Falco events are searchable in Loki (see Observability).