Coder Social home page Coder Social logo

k8s-school / ktbx Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 2.0 215 KB

The ultimate Kubernetes sysadmin toolbox.

Home Page: https://k8s-school.fr

License: GNU General Public License v3.0

Dockerfile 8.45% Shell 36.14% Go 55.40%
gcloud-cli helm k9s kind kubernetes-client kubernetes-tools

ktbx's Introduction

K8s-school Logo, expertise et formation Kubernetes

Kubernetes fundamentals course

Slides and materials

All slides are on our website

Check the Framapad

Set up course platform

Pre-requisites

Set up local machine

  • Ubuntu LTS is recommended
  • 8 cores, 16 GB RAM, 30GB for the partition hosting docker entities (images, volumes, containers, etc). Use df command as below to find its size.
sudo df –sh /var/lib/docker # or /var/snap/docker/common/var-lib-docker/
  • Internet access without proxy
  • sudo access
  • Install dependencies below:
sudo apt-get install curl docker.io git vim

# then add current user to docker group
sudo usermod -a -G docker $USER
# command below, or restart gnome session
newgrp docker

However, depending on your linux distribution version, you might have to upgrade to docker-ce: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1

Configure the k8s-toolbox (i.e. Kubernetes client and tooling):

Follow official instructions at: https://github.com/k8s-school/k8s-toolbox

  • Use the k8s-toolbox to create a k8s cluster, if it does not yet exists
  • Launch interactive k8s-toolbox:
k8s-toolbox desk

then validate Kubernetes is up and running

# Check k8s cluster is up and running
kubectl get nodes

# Launch an ubuntu pod from Docker Hub
kubectl run -it --rm  shell --image=ubuntu --restart=Never -- date

# Launch an other pod from gcr.io
kubectl run shell --image=gcr.io/kuar-demo/kuard-amd64:1 --restart=Never
# Open a shell inside it and exit
kubectl exec -it shell -- ash
exit
kubectl delete pod shell

Play with examples

Retrieve k8s-school's examples, demos and exercices by running script below inside toolbox container:

clone-school.sh
# Play with kubectl and yaml files :-)

Additional information

Kubernetes ecosystem

Free kubernetes icons

ktbx's People

Contributors

fjammes avatar kammous avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

kammous sambo2021

ktbx's Issues

may we add yq

Hello @fjammes ,

Thanks for creating and sharing this docker image.

I'm not sure if this was meant to be used by others, but I have found it useful for our environment.

Would you approve of adding yq to the docker image? We use it for linting and updating yaml manifests.

If allowed, I would be happy to create a pr.

Thank you,
Bryan

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.