Tuesday, January 25, 2022

Kubectl and EKSCTL - Story

  • eksctl creates Cluster using Cloudformation template
  • Cluster is mapped to EC2-Role and it here where we get visibility
  • Each Cluster is mapped to  "Context" in ~/.kube/config File which is a config file used by kubectl
  • kubectl knows what its target vms are or context is.
  • Each Context/Target Nodes can be shared between many different Project by using "namespaces"

Kubectl Context Switch - Kubernetes

eksctl creates Cluster using Cloudformation template

Cluster is mapped to EC2-Role and it here where we get visibility

Each Cluster is mapped to  "Context" in ~/.kube/config File which is a config file used by kubectl

kubectl knows what its target vms are or context is.

Each Context/Target Nodes can be shared between many different Project by using "namespaces"


~\.kube\config


kubectl config get-contexts

kubectl config current-context

kubectl config use-context <context-name>


https://www.shellhacks.com/kubectl-switch-context-kubernetes/


https://www.shellhacks.com/kubectl-get-pods-list-all-pods-kubernetes/


=========================================================================




Thursday, January 20, 2022

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass