• This repository has been archived on 13/Aug/2021
  • Stars
    star
    101
  • Rank 338,166 (Top 7 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Useful scripts for operating Kubernetes

Kubernetes scripts

This repository contains some useful scripts for operating Kubernetes.

  • create-kubeconfig: Create a kubeconfig to access the apiserver with the specified serviceaccount and outputs it to stdout.
  • wait-until-pods-ready: Wait for all pods to be ready in the current namespace.
  • force-update-deployment: Recreate the pods managed by the specified deployment.
  • apiversion2resources: Convert API versions read from STDIN to resources in the form of apiversion.resource.

How to use

apiversion2resources

# Convert the supported API versions on the server
$ kubectl api-versions | apiversion2resources

License

These scripts are released under the MIT License.