Skip to content

Instantly share code, notes, and snippets.

@evankanderson
Created August 28, 2020 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evankanderson/5b3a44d4a07a6089e84ef428258bc36e to your computer and use it in GitHub Desktop.
Save evankanderson/5b3a44d4a07a6089e84ef428258bc36e to your computer and use it in GitHub Desktop.
kn service update hello \
--env TARGET="Knative from v2" \
--revision-name hello-v2 \
--tag hello-v2=v2 \
--tag $(kubectl get ksvc hello --template='{{.status.latestReadyRevisionName}}')=v1 \
--traffic v1=75,v2=25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment