Giter VIP home page Giter VIP logo

kube-tools's Introduction

Kubernetes Toolset

This docker image is made up of common used tools I use for working with Kubernetes on Azure.
You do not need to install tools seperately and only need docker to run this container

This docker image includes:

  • Kubectl
  • Azure CLI
  • Helm
  • kubectx
  • kubens
  • Heptio ark
  • Cloudfare SSL tools (for boostrapping clusters)

Setup

You will want to persist your files on your pc somewhere. On Windows, I do this in C:\Users\<ME>\kube-tools\ On Linux, I use my home dir.

Make sure the above folder exists!

I recommend using Powershell for Windows, but for bash on windows: Ensure $PWD works, set this in your bash terminal: export MSYS_NO_PATHCONV=1

How to Install

You can install kube-tools via your bash profile and then simply run kubetools to start it up.

Windows

Run it: (Replace the user directory with yours!)

docker run -it  -v ${PWD}:/var/lib/src -v $home/kube-tools:/root --rm --workdir /var/lib/src aimvector/kube-tools:latest

Linux

Setup an alias for kubetools

echo "alias kubetools='docker run -it --rm  -v ~/.azure:/root/.azure -v \$PWD:/kubetools -v ~/.kube:/root/.kube --rm --network=host --workdir /kubetools aimvector/kube-tools'" >> ~/.bashrc

Or just run the image:

docker run -it --rm  -v ~/.azure:/root/.azure -v $PWD:/var/lib/src -v ~/.kube:/root/.kube --rm --network=host --workdir /var/lib/src aimvector/kube-tools

Once in, you can access the tools:

kubectl --help
helm --help
az --help
kubectx
kubens
ark --help

Alternatively, grab running the following command and get kubetools add to your /usr/local/bin

wget -qO https://raw.githubusercontent.com/marcel-dempers/kube-tools/master/kubetools.sh ~/kubetools
chdmox +x ~/kubetools
sudo mv ~/kubetools /usr/local/bin/kubetools

Build from source

If you wish to customise it, you can build it from source:

docker build . -t kube-tools

kube-tools's People

Contributors

marcel-dempers avatar sokun-chorn-webjet avatar marceldempers avatar scaredfinger avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.