This is an old revision of the document!
In Kubernetes deployment~=application. Is ‘what we build’.
Hierarchy: Cluster > Node > Pod
Cuerpo nacional de policía
+ private worker nodes
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.
KUBERNETES NETWORKING:
kubernetes_networking_deep_dive.pdf
isco
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. Services enable a loose coupling between dependent Pods. A Service is defined using YAML kubectl get pods -n datanado-dev -l app=datanado-qubole-service kubectl get pods -n audplat-prod # -n Shorthand for --namespace. For example, if you’d like to list all the Pods in a specific kubectl get rs -n audplat-prod # get the current ReplicaSets deployed 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