Workshop wiki · Greek

Τεκμηρίωση παραδείγματος: Pod Security Admission

Αυτό το lab παρουσιάζει ένα Namespace με `restricted` Pod Security Admission και δύο Pods: το ένα επιτρέπεται, ενώ το άλλο προκαλεί warnings ή απορρίπτεται.

Workshop examples as ZIP files
Learning progress in the web app

Mark chapters as read, view reading progress and check off practice modules after enabling the optional web app. Workshop progress is calculated from chapters across all document pages. Your choices stay on this device; there is no account or server sync. Installation is not required. Withdrawing your choice in Privacy settings deletes the progress.

Reading progress0%
0%
0 / 5 chapters read
Other language versionGerman ↗English ↗

Τεκμηρίωση παραδείγματος: Pod Security Admission

Στόχος

Παρακολουθήστε το Pod Security Admission σε ένα restricted Namespace με ένα επιτρεπόμενο και ένα επικίνδυνο Pod.

01 / 05

Τι γίνεται

Το lab ορίζει τα labels του Namespace για το επίπεδο restricted, δημιουργεί ένα επιτρεπόμενο Pod και περιλαμβάνει ένα σκόπιμα επικίνδυνο Pod με privileged και hostNetwork.

02 / 05

Συνήθεις εντολές

bash
kubectl apply -f manifests/00-namespace.yaml
kubectl apply -f manifests/10-allowed-pod.yaml
kubectl apply -f manifests/90-denied-pod.yaml
kubectl get events -n psa-lab --sort-by=.lastTimestamp
03 / 05

Επιβεβαίωση επιτυχίας

  • Το επιτρεπόμενο Pod γίνεται δεκτό.
  • Το επικίνδυνο Pod απορρίπτεται ή εμφανίζει σαφή warnings.
  • Τα labels του Namespace περιλαμβάνουν pod-security.kubernetes.io/enforce: restricted.
04 / 05

Συνηθισμένα λάθη

  • Το Cluster χρησιμοποιεί παλιότερη έκδοση Kubernetes χωρίς Pod Security Admission.
  • Τα warnings παραβλέπονται επειδή ελέγχονται μόνο οι exit codes.
  • Το SecurityContext ελέγχεται μόνο στον container και όχι στο Pod.
05 / 05

K8S · Orthevs Academy

31 modules as one continuous learning path.

The sequence remains unchanged: from the lab skeleton through technical foundations and operating models to final troubleshooting. The technical directory names are deliberately preserved.

Orthevs – Engineering the foundation for what comes next.

Orthevs as an app

Install Orthevs

The Orthevs web app can be installed on supported mobile devices and desktop browsers.

iPhone and iPad

Open Orthevs in Safari. Tap Share, then Add to Home Screen. Enable Open as Web App if offered, then tap Add.

Android

For the web app, open the browser menu and choose Install app or Add to Home screen. Confirm the installation.

Desktop browser

Open the browser menu or the install icon in the address bar, then choose Install app or Add to Dock.

Web app installation depends on your browser. If no install prompt appears, follow the browser steps shown above.