Skip to content

Service mesh & networking: Build, deploy & roll back

Service mesh & networking commands for build, deploy & roll back (tags: #deploy #build #rollback #release #compose).

Index
1 items

Istio: Enable sidecar injection for a namespace

Safe

New pods get an Envoy sidecar. Restart existing deployments to inject them.

kubectl label namespace <namespace> istio-injection=enabled --overwrite
What each part does
  1. kubectl label namespace <namespace>set a label on the namespace
  2. istio-injection=enabledtells Istio to inject the sidecar into new pods here (restart existing ones)
  3. --overwritereplace the label if it already has a value

Also known as: sidecar injection · istio-injection

My DevOps Playbook by Angelo John Calleja

New runbook

GitHub not connected

Saving is handled by the site: the GitHub token is stored in Cloudflare, not in your browser. Enter the editor password (the EDITOR_PASSWORD secret) to unlock saving in this browser.

Saving commits to gelogrammer/My_DevOps_Playbook. Create a fine-grained token with access to only this repo andContents: Read and write, then paste it here. It is stored only in this browser.

src/content/docs/…