Skip to content

Instantly share code, notes, and snippets.

@jruels
Last active July 7, 2017 01:08
Show Gist options
  • Save jruels/08ef26dd5cad4663c0e313ebf862c7a1 to your computer and use it in GitHub Desktop.
Save jruels/08ef26dd5cad4663c0e313ebf862c7a1 to your computer and use it in GitHub Desktop.
Kubernetes Up and Running Errata

These page numbers are from the ePUB version of the book.

Many Pages

Registry deprecated - http://b.gcr.io

Page 82

--port no longer supported by kubectl port-forward

  • kubectl port-forward <pod> <local_port>:<remote_port>

Page 124

When using GKE I am unable to SSH to nodes so port forwarding doesn't work over SSH ssh <node> -L 8080:localhost:32711

Page 145

To scale a resource must be provided. kubectl scale rs/kuard --replicas=4

Page 160

Code is incomplete:

PODS=$(kubectl get pods -o jsonpath -template='{.items[*].metadata.name}'
for x in $PODS; do
  kubectl delete pods ${x}
sleep 60 done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment