Workshop wiki · Greek

Τεκμηρίωση παραδείγματος: Blue Green Release

Αυτό το lab παρουσιάζει ένα Blue-Green Release με δύο Deployments και εναλλαγή του Service μέσω labels.

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 ↗

Τεκμηρίωση παραδείγματος: Blue Green Release

Στόχος

Παρακολουθήστε ένα release χωρίς να αλλάξετε απευθείας το image του υπάρχοντος Deployment: ξεκινήστε τη νέα έκδοση, ελέγξτε την, αλλάξτε το Service και κάντε rollback αν χρειαστεί.

01 / 05

Τι γίνεται

Το lab δημιουργεί δύο Deployments με διαφορετικό περιεχόμενο. Το Service checkout δείχνει αρχικά στο Blue. Μπορείτε να κάνετε Smoke Test του Green μέσω ξεχωριστού Service πριν του αναθέσετε το production traffic.

02 / 05

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

bash
kubectl apply -f manifests/
kubectl get endpoints -n release-lab checkout
kubectl port-forward -n release-lab svc/checkout-green 8081:80
kubectl patch service checkout -n release-lab --type=merge -p '{"spec":{"selector":{"app":"checkout","track":"green"}}}'
03 / 05

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

  • Το Blue έχει τρία Pods σε κατάσταση Ready.
  • Το Green έχει ένα Pod σε κατάσταση Ready.
  • Μετά το Patch, το checkout δείχνει στα Green endpoints.
  • Το Rollback γίνεται με ένα ακόμη Service Patch.
04 / 05

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

  • Οι Service selectors δεν αντιστοιχούν σε κανένα Pod.
  • Το Green δεν δοκιμάζεται χωριστά πριν μεταφερθεί το production traffic.
  • Τα παλιά Blue Pods διαγράφονται πολύ νωρίς και το Rollback γίνεται άσκοπα δύσκολο.
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.