https://kubernetes.io/docs/setup/learning-environment/minikube/
https://rominirani.com/tutorial-getting-started-with-kubernetes-on-your-windows-laptop-with-minikube-3269b54a226
https://github.com/burrsutter/9stepsawesome/blob/master/1_installation_started.adoc
https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive/
https://medium.com/payscale-tech/imperative-vs-declarative-a-kubernetes-tutorial-4be66c5d8914
===========================================================
minikube version
minikube start
minikube addons enable registry
//display the dashboard
minikube dashboard --url=true
minikube status
//display k8s custer ip
minikube ip
minikube stop
minikube delete
=============================================================
kubectl version
kubectl api-resources
kubectl get nodes
kubectl get namespace
// Set current kubectl config to point to/work with local minikube cluster
kubectl config set-context minikube
// Get minikube cluster config details
kubectl config view minikube
// Just to get the master node endpoint details with IP & port used
kubectl cluster-info
https://kubernetes.io/docs/tutorials/hello-minikube/
// Create Namespace
kubectl create namespace contino
//Kubernetes deployment, follwed by pod >> create a public container image or build your own with docker build and push
kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.10 --port=8080
>>imperative
kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10
>>declarative via manifest file
kubectl create -f deployment.yaml
kubectl apply -f deployment.yaml
// Display deployment
kubectl get deployments
kubectl get deployment hello-minikube -o yaml
kubectl describe deployment hello-minikube
kubectl logs deployment/hello-minikube
//display pods
kubectl get pods --all-namespaces --show-labels -w
kubectl get pods -o wide --watch
//display jobs
kubectl get jobs --all-namespaces
//run command inside pod
kubectl exec -ti happypanda -- cat /opt/workdir/helloworld
kubectl exec -it nginx-pod -- /bin/sh
//Create Service by Exposing deployment
>>imperative
kubectl expose deployment hello-minikube --type=NodePort --port=8080
>>declarative via manifest file
kubectl create -f service.yaml
//display the service
kubectl get service
kubectl describe service hello-minikube
kubectl get endpoints hello-minikube
//Display service URL
minikube service hello-minikube
minikube --profile minikube service hello-minikube --url
//cleanup
kubectl delete service hello-minikube
kubectl delete deployment hello-minikube
kamel install
kamel run examples/Sample.java
kamel get