Professional Documents
Culture Documents
docker images
docker login
docker push imagename
minikube status
minikube start
kubectl create deployment app-name --image=image-name
kubectl get deployments
kubectl get pods
kubectl delete deployment imagename
minikube dashboard
kubectl logs pods-name
kubectl describe pods
kubectl expose deployment my-webapp --type=LoadBalancer --port=3000
kubectl get services
minikube service my-webapp (to run the app on local server)
Volumes and Data: Volume is a directory that contains data that is accessible
accros multiple containers in a pod. A smallest deployable unit in a kuberenetes
cluster. Volume provides a plugin mechanism that connects ephemeral containers with
persistent data storage.
mountPath: /data/db
HostPath Volume:
emptyDir
hostPath
Ingress In Kuberenetes:
- Path Based Routing: different pages different deployment
- Host Based Routing: subdomains
- SSL termination