👾 code and notes on cloud microservices, orchestration (e.g., cloud, terraform, kubernetes, docker, data engineering)
Find a file
2019-10-27 14:44:34 -07:00
kustomize-example 💎 Add some learning resources in K8s 2019-10-27 14:44:34 -07:00
node-server-example add some examples 2019-09-29 21:50:23 -07:00
other_infrastructure_resources 📚 Add gitkeep 2019-10-23 12:59:51 -07:00
kubectl.md 💎 Add some learning resources in K8s 2019-10-27 14:44:34 -07:00
README.md 💎 Add some learning resources in K8s 2019-10-27 14:44:34 -07:00

Learning Kubernetes

* A Kubernetes cluster consists of **Nodes** (simialr to servers)

* Nodes run **Pods**, which are collections of Docker containers. Containers in a Pod share the same network.

* The Kubernetes object responsible for launching and maintaining the desired number of pods is called a **Deployment**. 

* Kubernetes provides objects called a **Service** so thart Pods to communicate with other Pods. They are tied to Deployments through Selectors and Labels, and they can be exposed to external clients either by exposing a **NodePort** as a static port on each Kubernetes node or by creating a **LoadBalancer** object/

* Kubernetes provides the **Secret** object for managing sensitive information such as passwords, API keys, and other credentials.

Examples in this repository


Tools

  • Minikube implements a local Kubernetes cluster on macOS, Linux, and Windows. You can install it following this instructions.
  • kubectl is a command line interface for running commands against Kubernetes clusters.
  • kubectx is a tool to switch between k8s contexts.

References

Learning Resources