https://www.youtube.com/watch?v=yyUHQIec83I
https://www.youtube.com/watch?v=YS4e4q9oBaU
https://www.youtube.com/watch?v=1NF2LtWbA1g
https://www.golangprograms.com/
https://eksctl.io/usage/unowned-clusters/
eksctl create nodegroup (see note below)eksctl create fargateprofileeksctl create iamserviceaccounteksctl create iamidentitymappingeksctl get clusters/clustereksctl get nodegroupeksctl get labelseksctl delete clustereksctl delete nodegroupeksctl delete fargateprofileeksctl delete iamserviceaccounteksctl delete iamidentitymappingeksctl upgrade clustereksctl upgrade nodegroupeksctl set labelseksctl unset labelseksctl scale nodegroupeksctl drain nodegroupeksctl enable profileeksctl enable repoeksctl utils associate-iam-oidc-providereksctl utils describe-stackseksctl utils install-vpc-controllerseksctl utils nodegroup-healtheksctl utils set-public-access-cidrseksctl utils update-cluster-endpointseksctl utils update-cluster-loggingeksctl utils write-kubeconfigeksctl utils update-corednseksctl utils update-aws-nodeeksctl utils update-kube-proxyeksctl 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/
=========================================================================
https://stackoverflow.com/a/43661208/2413870
You can switch from local (minikube) to gcloud and back with:
kubectl config use-context CONTEXT_NAME
to list all contexts:
kubectl config get-contexts
You can create different enviroments for local and gcloud and put it in separate yaml files.
https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass