ziwon / k8s-labs-2019

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k8s-labs

$ make
Personal Kubernetes Labs (yngpil.yoon@gmail.com)

Usage:
  make <target>
  tools                           Install tools to your local machine
  kubeconfig                      Get kubeconfig path
  helm-init                       Install helm
  helm-repo                       Install helm repo
  get-cert-manager                Install cert-manager
  get-traefik                     Install traefik components in order
  get-prometheus                  Install promethus operator from helm chart
  get-elasticsearch               Install elasticsearch
  events-desc                     Get events sorted by last seen time (ex. make events-desc)
  events-type                     Get events by type (ex. make events-type [Warning|Normal|...])
  events-any                      Get events with given object name (ex. make events-any traefik)
  k8s-create                      Create Kubernetes cluster
  k8s-delete                      Delete Kubernetes cluster
  k8s-up                          Start Kubernetes cluster
  k8s-down                        Stop Kubernetes cluster
  shell-node                      Get node shell into the given node
  shell-pod                       Get testing pod shell from k8s current context
  shell-docker                    Get docker shell
  sys-clean-all                   Clean up all docker resources
  host-add                        Add `$CLUSTER_DOMAIN` host to /etc/hosts
  host-remove                     Remove `$CLUSTER_DOMAIN` host from /etc/hosts
  help                            Show this help (default target)

About


Languages

Language:Makefile 62.1%Language:Shell 37.9%