Created
July 27, 2020 01:41
-
-
Save awssimplified/0c596ab9894d439c69eb807d69409dba to your computer and use it in GitHub Desktop.
Revisions
-
awssimplified created this gist
Jul 27, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,43 @@ Docker Orchestration ---- Kubernetes --- Takes declared state, and works to make that happen across a cluster. Node - 'kubelet' runs pods and talks 2 master. Node = Computer Pod - runs 1+ containers, exists on node Service - handles requests using LB Deployment - defines desired state Replication Controller - manages deployment state, ensures health, maintains history, Deployment Yamls specify spec for kubernetes deployment. ports section --- port -> accessible port within the cluster *targetPort* -> Port that a request on 8080 from within the cluster gets forwarded to. nodePort -> Port thats accessible outside the cluster, it gets mapped to 'port' as well replicas specify the number of pods kubernetes automatically replaces failed hardware - even if its a manual action. minikube start kubectl get pods kubectl get deployments minikube dashboard TODO --- Install Minikube (GUI) Get DockerHub Account Links --- https://nodejs.org/en/docs/guides/nodejs-docker-webapp/ https://www.youtube.com/watch?v=1xo-0gCVhTU