متقدم
البحث فيالملخصات
طريقة البحث
  • الكلمات تجد عناوين الدروس والنص والكود. صفِّ حسب النوع (أدلة، دورات، برامج، كتب) أو ابقَ في هذا الكتاب.
  • book:rhcsa و ch:8 يضيّقان البحث؛ ‎#code يجد الكلمة داخل أوامر الدروس فقط.
  • "كلمتان" تجد العبارة بالضبط.
  • الكلمات العادية تجد الأسماء والنصوص والأمثلة.
  • ↑ ↓ للتنقل · Enter للفتح · Esc للإغلاق · / للبحث
جرّب:

الفصل 17الاسم في الدورة: Posts P1132–P1141

Platform operations

Ten posts (P1132–P1141) about Platform operations, each in one lesson: the main idea, the key points and a link to the full note with all details, the PDF field guide and the commands.

  • 11 الدروس
  • 1 الأوامر
  • 1 المعامل

هذا الجزء لم يُترجم بعد. أنت ترى النص الإنجليزي.

$ مستخدم عادي# بصلاحية root (أو مع sudo)

المهارات في هذا الفصل

  • Platform operations — P1132–P1141

17.1

Cluster upgrades: control plane, nodes, workloads

Upgrade the plane, then the nodes, then the pods.

Upgrading a cluster is three upgrades wearing one name: the control plane, the nodes and the workloads. Do them in that order, or spend the night debugging a symptom.

  • Control Plane: etcd snapshot, API and addons, Version skew
  • Nodes: Cordon, Drain, Kubelet and CRI
  • Workloads: Disruption budget, Surge room, Rollback path

Full note: P1132 — Cluster upgrades: control plane, nodes, workloads

17.2

A maintenance window people trust

Every maintenance window is a promise about time, and most break at the end rather than the start.

  • A promise about time: When it starts, what stops, and when it is over.
  • Three messages: A week, a day, an hour. The same facts each time.
  • Scope is what stays up: Name the journeys still working, not the services.
  • Script, timestamp, abort: One command to stop, one number to trigger it.

Full note: P1133 — A maintenance window people trust

17.3

Five signs a freeze is hiding risk

Change freezes feel like risk management. Often they are risk deferral with better branding.

  • The freeze has no end date, and nobody can name who lifts it.
  • Security patches queue behind feature work and wait for the thaw.
  • The backlog grows while the change failure rate stays flat.
  • Teams ship anyway, quietly, through a console and a favour.

Full note: P1134 — Five signs a freeze is hiding risk

17.4

Draining a node without dropping requests

The request does not care about your drain.

Draining a node looks like one command. It is a traffic operation that happens to move pods.

  • Make the pod leave first: Check the budget; Fail readiness early; Sleep in preStop.
  • One node, one at a time: Cordon before drain; Give it a timeout; Watch evictions.
  • Check from outside: Curl through the edge; Count 5xx per minute; Uncordon and record.

Full note: P1135 — Draining a node without dropping requests

17.5

Certificate rotation across a platform

Certificates do not fail gradually. They fail on a date, in a place nobody listed, usually on a Friday.

  • An inventory, not a guess: Every name, use, owner and renewal path.
  • An owner per certificate: A team, a renewal path and a last-rotated date.
  • Overlap, then remove: Both certificates served until the last client moves.
  • Drill before the date: Rotate one that did not need it, and time it.

Full note: P1136 — Certificate rotation across a platform

17.6

Four numbers that describe your change

Four numbers describe how a platform handles change, and none of them is the number of releases.

  • Lead time: commit to production, in hours, not in sprints.
  • Change failure: the share of releases that need a rollback.
  • Rollback time: decision to the old version serving traffic.
  • Freeze days: days change is banned, and what waits behind them.

Full note: P1137 — Four numbers that describe your change

17.7

The change pipeline: propose, review, pilot, roll out

A change is a series of small promises.

Most change problems are not technical. They are a pipeline with missing gates.

  • Propose: One page: what changes, why now, who is affected, how to undo.
  • Review: A second pair of eyes on the blast radius, not on the formatting.
  • Pilot: One tenant or one percent, with the same checks as production.
  • Roll out: Widen in steps, watching the same numbers that passed the pilot.

Full note: P1138 — The change pipeline: propose, review, pilot, roll out

17.8

Runbook automation without surprises

Runbook automation usually fails for a human reason: the runbook was never good enough to automate.

  • Run it by hand first: Twice, same result, before a line is automated.
  • Limit, clock, log: Small blast radius, a timeout and a record.
  • Design the half-finished state: What step four leaves behind, and how to resume.
  • Review it like code: Repository, CI, and a tagged version to roll back to.

Full note: P1139 — Runbook automation without surprises

17.9

Five questions before automating

Automation removes the step where a person notices something is wrong. That is the whole benefit and the whole risk.

  • Has a person run it by hand twice, with the same result?
  • What does it change, and can you see that before it does?
  • Who may run it, and who may stop it halfway through?
  • What does the system look like when step four of seven fails?

Full note: P1140 — Five questions before automating

17.10

Platform operations commands

Know the command before the incident.

Platform operations is mostly reading state quickly and changing it slowly.

Full note: P1141 — Platform operations commands

الأوامر في هذا الدرس

تدرّب

كل الأوامر في هذا الفصل