Using CheatSheets To Apply Best Practices

Cheatsheet: Kubernetes Kind

Cheatsheet: Kubernetes Kind

1.1 kind basic

Name Command
Kind Kubernetes IN Docker – local clusters for testing Kubernetes
Install kind Install go and docker, then go get -u sigs.k8s.io/kind
Check kind cli which kind, kind version
Create kind clusrer kind create cluster --name clusterapi
Reference Minikube CheatSheet, Kubernetes kind CheatSheet
Reference Kubectl CheatSheet, Kubernetes Yaml

1.2 kind Command

Name Command
List all kind clusters kind get clusters
List all nodes per cluster name kind get nodes --name $cluster_name
Create kind clusrer kind create cluster --name clusterapi
Delete kind cluster kind delete cluster --name clusterapi

1.3 kind CLI Online Help

> kind version
0.3.0-alpha

> kind --help
kind creates and manages local Kubernetes clusters using Docker container 'nodes'

Usage:
  kind [command]

Available Commands:
  build       Build one of [base-image, node-image]
  completion  Output shell completion code for the specified shell (bash or zsh)
  create      Creates one of [cluster]
  delete      Deletes one of [cluster]
  export      exports one of [logs]
  get         Gets one of [clusters, nodes, kubeconfig-path]
  help        Help about any command
  load        Loads images into nodes
  version     prints the kind CLI version

Flags:
  -h, --help              help for kind
      --loglevel string   logrus log level [panic, fatal, error, warning, info, debug] (default "warning")
      --version           version for kind

Use "kind [command] --help" for more information about a command.

1.4 More Resources




Leave a Reply

Your email address will not be published. Required fields are marked *