9. $ kubectl –h
Advanced Commands:
diff Diff live version against would-be applied version
apply Apply a configuration to a resource by filename or stdin
patch Update field(s) of a resource using strategic merge patch
replace Replace a resource by filename or stdin
wait Experimental: Wait for a specific condition on one or many resources.
convert Convert config files between different API versions
kustomize Build a kustomization target from a directory or a remote url.
11. New features
• v1.0.0 is released at 3/27 !
•
• supports Kubernetes 1.14 by default
• https://kubernetes.io/blog/2019/03/28/running-kubernetes-locally-on-linux-with-
minikube-now-with-kubernetes-1.14-support/
13. Become multi-node support !?
• Roadmap (2019)
• https://github.com/kubernetes/minikube/blob/master/docs/contributors/roadmap.md
• #4 Support all Kubernetes features
• Add multi-node support
• minikube multi-node cluster
15. Setup is Simple ! (on ubuntu 17.10)
# download
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube
sudo cp minikube /usr/local/bin && rm minikube
# config as you like
minikube config set cpus 12
minikube config set memory 40960
16. Setup is Simple ! (on ubuntu 17.10)
# download
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube
sudo cp minikube /usr/local/bin && rm minikube
# config as you like
minikube config set cpus 12
minikube config set memory 40960
# start cluster
minikube start
17. $ kubectl get no
NAME STATUS ROLES AGE VERSION
minikube Ready master 10m v1.14.0
18. $ kubectl get no
NAME STATUS ROLES AGE VERSION
minikube Ready master 10m v1.14.0
$ kubectl get svc -A
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 10m
kube-system kube-dns ClusterIP 10.96.0.10 <none> 53/UDP,53/TCP,9153/TCP 10m
kube-system monitoring-grafana NodePort 10.107.133.92 <none> 80:30002/TCP 10m
kube-system monitoring-influxdb ClusterIP 10.109.201.109 <none> 8083/TCP,8086/TCP 10m