Workshop wiki · Greek

24 Ephemeral Debug Container

Αυτό το lab δημιουργεί ένα Pod με εσφαλμένο configuration και δείχνει πώς χρησιμοποιείται το `kubectl debug` για τη διερεύνησή του.

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 / 4 chapters read
Other language versionGerman and English ↗

24 Ephemeral Debug Container

Αυτό το lab δημιουργεί ένα Pod με εσφαλμένο configuration και δείχνει πώς χρησιμοποιείται το kubectl debug για τη διερεύνησή του.

Έλεγχος

bash
kubectl apply --dry-run=client -f manifests/
01 / 04

Εκτέλεση

bash
kubectl apply -f manifests/
kubectl get pod broken-web -n debug-lab
kubectl describe pod broken-web -n debug-lab
kubectl debug -n debug-lab -it broken-web --image=busybox:1.36.1 --target=web

Μέσα στον Debug Container μπορείτε, για παράδειγμα, να ελέγξετε διεργασίες, DNS και mounted files. Το Pod παραμένει σκόπιμα Not Ready, επειδή το Readiness Probe ελέγχει λανθασμένη διαδρομή.

02 / 04

Σημεία μάθησης

  • Οι Ephemeral Containers βοηθούν στο Debugging Pods που ήδη εκτελούνται.
  • Δεν τροποποιούν το αρχικό Pod specification με τον τρόπο ενός κανονικού Update.
  • Το Debugging απαιτεί RBAC δικαιώματα για pods/ephemeralcontainers.
03 / 04

Cleanup

bash
kubectl delete namespace debug-lab
04 / 04

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.