Giter Club home page Giter Club logo

kubernetes-learning's Introduction

kubectl get all

kubectl get all --all-namespaces

kubectl get po

kubectl get po --show-labels

kubectl get po --show-labels -l release=<release number/version>

kubectl get po --show-labels -l release=0-5

kubectl delete po --all

kubectl describe po

kubectl describe svc

kubectl describe rs

kubectl rollout status deployment

kubectl rollout history deployment

kubectl rollout undo deployment --to-revision=2

kubectl get ns

kubectl get po -n kube-system

kubectl get all -n kube-system

kubectl describe svc kube-dns -n kube-system

kubectl exec -it sh

cat etc/resolv.conf

nslookup

curl -L github_url.tar.gz > filename.tar.gz

tar xvf filename.tar.gz (to extract)

kubectl logs

kubectl logs -f

kubectl edit svc -n

kubectl get nodes

kubectl describe node

Mertices

kubectl top po

kubectl top node

HPA

kubectl autoscale deployment --cpu-percentage 400 --min 1 --max 4

kubectl get hpa

kubectl describe hpa

kubectl describe hpa -o yaml

kubectl delete hpa

curl in loop

while true; do curl http://localhost:30080/api; echo; done

kubectl get configMap

kubectl get cm

kubectl describe cm

kubectl

kubectl

kubectl

kubectl

kubernetes-learning's People

Contributors

anokhasw avatar

Watchers

Brajesh Anokha 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.