Skip to content

Container orchestration: EKS, AKS, and GKE

License

Notifications You must be signed in to change notification settings

bstraehle/kubernetes

Repository files navigation

Create Elastic Kubernetes Service Cluster

eksctl create cluster --name <name> --region <region>  
#eksctl delete cluster --name <name> --region <region>  

Create Azure Kubernetes Service Cluster

  • Login to Azure Portal
  • Create Resource Group
  • Create Kubernetes Service
  • Connect / Open Cloud Shell
  • (When done: Delete Resource Group)
az account set --subscription <subscription>  
az aks get-credentials --resource-group <resource-group> --name <name>  

Create Google Kubernetes Engine Cluster

  • Login to Google Cloud Console
  • Create Project
  • Enable Kubernetes Engine API
  • Create Kubernetes Cluster
  • Connect / Open Cloud Shell
  • (When done: Shut down Project)
gcloud container clusters get-credentials <cluster> --zone <zone> --project <project>  

Create Kubernetes Deployments and Services

git clone https://github.com/bstraehle/kubernetes.git  
cd kubernetes  
kubectl create -f rest-api-deploy.yaml  
kubectl create -f rest-api-service.yaml  
kubectl create -f mvc-app-deploy.yaml  
kubectl create -f mvc-app-service.yaml  
kubectl get deployments,services  
<external-ip>:<port>  

Resources

About

Container orchestration: EKS, AKS, and GKE

Topics

Resources

License

Stars

Watchers

Forks

Languages