This is an old revision of the document!
In Kubernetes deployment~=application. Is ‘what we build’.
K8s is a container orchestrator, designed for creating clusters and hosting pods, its networking model meets exactly those needs. The service mesh (or network layer) ensures that communication between different services that live in containers is reliable and secure.
K8s provides container tooling whereas service mesh provides microservices tooling.
kubectl get endpoints # endpoint is an ip:port. Usually, you'd let a service manage endpoints (one EP per pod the service routes traffic to) kubectl get svc # List all services in the namespace kubectl get pods -n datanado-dev -l app=datanado-qubole-service kubectl get ing
MINIKUBE:
Install minikube:
$ minikube start --memory=4096 --vm-driver=kvm2 $ minikube status minikube type: Control Plane host: Running kubelet: Running apiserver: Running kubeconfig: Configured $ kubectl get all # $ kubectl get pods -o wide NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 59m $ kubectl create deployment nginx --image=nginx