Skip to content

Instantly share code, notes, and snippets.

@gavinzhou
Created October 4, 2018 06:33
Show Gist options
  • Save gavinzhou/724e1242a303adb4d1a0235f7af3d097 to your computer and use it in GitHub Desktop.
Save gavinzhou/724e1242a303adb4d1a0235f7af3d097 to your computer and use it in GitHub Desktop.
$ kubectl proxy --port=8080 &
$ kubectl create -f https://raw.githubusercontent.com/mhausenblas/kbe/master/specs/rcs/rc.yaml
kubectl autoscale rc rcex --min=2 --max=5 --cpu-percent=80
kubectl get hpa/rcex -o yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment