Skip to content

Instantly share code, notes, and snippets.

@looztra
Created October 7, 2017 15:04
Show Gist options
  • Select an option

  • Save looztra/983f195a5a06cb6c34bf6730bedf25f3 to your computer and use it in GitHub Desktop.

Select an option

Save looztra/983f195a5a06cb6c34bf6730bedf25f3 to your computer and use it in GitHub Desktop.
Kubectl and Minikube update fish functions
function minikube-update -d 'Update minikube to latest release'
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 ; and chmod +x minikube ; and mv minikube ~/.local/bin/
end
function kubectl-update -d 'Update kubectl to latest release'
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl ; and chmod +x kubectl ; and mv kubectl ~/.local/bin/
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment