Skip to content

Instantly share code, notes, and snippets.

@vnugent
Last active August 14, 2018 23:30
Show Gist options
  • Save vnugent/f96d54c4c36c3b14e96ba095efe7fc7f to your computer and use it in GitHub Desktop.
Save vnugent/f96d54c4c36c3b14e96ba095efe7fc7f to your computer and use it in GitHub Desktop.

Label (enable) project for auto injection

 oc label namespace $(oc project -q)  istio-injection=enabled

clean up sidecar containers part of deployment pods

oc get pod |grep deploy | awk '{print $1}' | xargs --no-run-if-empty -I {} oc rsh -c istio-proxy {} pkill -f istio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment