Skip to content

Instantly share code, notes, and snippets.

@ipolyzos
Last active December 4, 2017 20:57
Show Gist options
  • Save ipolyzos/bc4fafc1d49c19a0e9b73bbcf815f0f8 to your computer and use it in GitHub Desktop.
Save ipolyzos/bc4fafc1d49c19a0e9b73bbcf815f0f8 to your computer and use it in GitHub Desktop.
retrieve kubernetes API server endpoint
$ APISERVER=$(kubectl config view | grep https | cut -f 2- -d ":" | tr -d " ")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment