Workshop wiki · Greek

Τεκμηρίωση παραδείγματος: NetworkPolicy Troubleshooting

Αυτό το lab ξεκινά με μια λειτουργική εφαρμογή και παρουσιάζει βήμα προς βήμα την αποκατάσταση μιας NetworkPolicy: πρώτα Default-Deny, έπειτα DNS Egress και τέλος Backend traffic.

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 ↗

Τεκμηρίωση παραδείγματος: NetworkPolicy Troubleshooting

Στόχος

Διακόψτε μια λειτουργική σύνδεση με Default-Deny και επιτρέψτε την ξανά, βήμα προς βήμα.

01 / 05

Τι γίνεται

Αρχικά, το Frontend και το Backend επικοινωνούν χωρίς Policies. Έπειτα, το Default-Deny εμποδίζει το traffic. Στη συνέχεια, επιτρέπονται χωριστά το DNS Egress και το Backend traffic.

02 / 05

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

bash
kubectl apply -f manifests/00-workloads.yaml
kubectl exec -n netpol-troubleshooting deploy/frontend -- wget -qO- http://backend:8080
kubectl apply -f manifests/10-default-deny.yaml
kubectl apply -f manifests/20-allow-dns.yaml
kubectl apply -f manifests/30-allow-backend.yaml
03 / 05

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

  • Η πρόσβαση λειτουργεί πριν από το Default-Deny.
  • Η πρόσβαση αποτυγχάνει μετά το Default-Deny.
  • Η πρόσβαση λειτουργεί ξανά όταν επιτραπούν DNS και Backend traffic.
04 / 05

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

  • Επιτρέπεται μόνο το Backend Ingress και παραλείπεται το Frontend Egress.
  • Δεν επιτρέπεται το DNS.
  • Το CNI plugin δεν υποστηρίζει NetworkPolicies.
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.