Filters
Zo zoek je
  • Gewone woorden vinden namen, teksten en voorbeelden.
  • "twee woorden" vindt precies die zin.
  • --naam of -x vindt een optie.
  • #woord zoekt alleen in commando's.
  • @grep vindt lessen en labs die grep gebruiken.
  • Filters: cat:network · in:labs · in:notes · level:rhcsa · ch:8 · root:yes. Zet ! voor een woord om het weg te laten. OR tussen woorden betekent één ervan.
  • ↑ ↓ bewegen · Enter openen · Esc sluiten · / zoeken

Certified Kubernetes Security Specialist (CKS)

Kubernetes beveiligen van node tot supply chain: network policies, CIS-benchmark, RBAC, AppArmor en seccomp, Pod Security, policy as code, secrets, images scannen en ondertekenen, auditlogs en Falco. Fase 5 van mijn pad.

Cursus van
CNCF
Cursuscode
CKS
Versie
Kubernetes 1.3x
Lessen
45

Deze samenvattingen volgen de openbare inhoud van de cursus. Ik schreef elke les in mijn eigen woorden en testte de commando's op RHEL 10. Het is geen lesmateriaal van Red Hat. Volg de officiële cursus voor de volledige inhoud en de praktijklabs.

Volgende cursus: GitOps

Delen en hoofdstukken

Deel 1

Clusteropzet en hardening (30 %)

  1. 1Set up a cluster securelyCluster setup5 lessen
    Lessen
    1. 1.1 Restrict traffic with default-deny policies
    2. 1.2 Check the cluster with kube-bench
    3. 1.3 Protect the ingress with TLS
    4. 1.4 Block the cloud metadata service
    5. 1.5 Verify the platform binaries
  2. 2Harden access to the clusterCluster hardening5 lessen
    Lessen
    1. 2.1 Apply least-privilege RBAC
    2. 2.2 Limit service account tokens
    3. 2.3 Restrict access to the API server
    4. 2.4 Upgrade Kubernetes regularly
    5. 2.5 Review who did what

Deel 2

Systeemhardening (10 %)

  1. 3Harden the nodes with AppArmor and seccompSystem hardening4 lessen
    Lessen
    1. 3.1 Keep the host small
    2. 3.2 Use AppArmor profiles
    3. 3.3 Use seccomp profiles
    4. 3.4 Restrict capabilities and privilege

Deel 3

Kwetsbaarheden van microservices (20 %)

  1. 4Enforce Pod Security StandardsPod Security Admission and security contexts4 lessen
    Lessen
    1. 4.1 Know the three levels
    2. 4.2 Label a namespace
    3. 4.3 Write a restricted pod
    4. 4.4 Fix a rejected workload
  2. 5Write policies as code with OPA GatekeeperPolicy as code4 lessen
    Lessen
    1. 5.1 Know how Gatekeeper works
    2. 5.2 Write a template and a constraint
    3. 5.3 Audit existing objects
    4. 5.4 Compare with Kyverno and ValidatingAdmissionPolicy
  3. 6Protect Kubernetes secretsSecrets management5 lessen
    Lessen
    1. 6.1 See the problem
    2. 6.2 Turn on encryption at rest
    3. 6.3 Limit who can read secrets
    4. 6.4 Use secrets as files
    5. 6.5 Use an external secret store
  4. 7Isolate workloads with sandboxes and mTLSContainer runtime sandboxes and pod-to-pod encryption4 lessen
    Lessen
    1. 7.1 Use a sandboxed runtime with RuntimeClass
    2. 7.2 Know where sandboxes help
    3. 7.3 Encrypt pod-to-pod traffic with mTLS
    4. 7.4 Encrypt node-to-node traffic

Deel 4

Supply-chainbeveiliging (20 %)

  1. 8Secure the supply chain of imagesSupply chain security6 lessen
    Lessen
    1. 8.1 Use minimal base images
    2. 8.2 Make and use an SBOM
    3. 8.3 Scan images
    4. 8.4 Sign and verify images
    5. 8.5 Allow only trusted registries
    6. 8.6 Analyse manifests statically

Deel 5

Monitoring, logging en runtimebeveiliging (20 %)

  1. 9Detect threats with audit logs and FalcoMonitoring, logging and runtime security4 lessen
    Lessen
    1. 9.1 Turn on audit logging
    2. 9.2 Detect behaviour with Falco
    3. 9.3 Make containers immutable
    4. 9.4 Investigate a suspicious pod
  2. 10Get ready for the CKS examExam preparation4 lessen
    Lessen
    1. 10.1 Back up before you edit
    2. 10.2 Review the domains
    3. 10.3 Know the key file paths
    4. 10.4 Practise with the simulator

Wat je leert

De belangrijkste vaardigheden van de cursus en het hoofdstuk waar je ze leert.

Clusteropzet en hardening

Systeemhardening

Kwetsbaarheden van microservices beperken

Supply-chainbeveiliging

Monitoring