Skip to content

Installs EKS Anywhere cluster on MacBook with Docker Desktop as a runtime

Notifications You must be signed in to change notification settings

kappa8219/eks-onmac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EKS Anywhere OnMac

Disclaimer! I'm not sure if MacBook is a good place for K8S playgrounds, but I have spare resources on it and have it in a backpack often

Docker Desktop used as an engine

brew install aws/tap/eks-anywhere

Create cluster and tf it

export CLUSTER_NAME=ok-cluster
eksctl anywhere generate clusterconfig $CLUSTER_NAME --provider docker > $CLUSTER_NAME.yaml
eksctl anywhere create cluster -f $CLUSTER_NAME.yaml
terraform import kubernetes_manifest.cluster_ok_cluster "apiVersion=anywhere.eks.amazonaws.com/v1alpha1,kind=Cluster,namespace=default,name=ok-cluster"
terraform apply

Added csi-driver for statefull workload:

git clone https://github.com/kubernetes-csi/csi-driver-host-path.git
cd csi-driver-host-path/
make
deploy/kubernetes-latest/deploy.sh
kubectl get csinodes
for i in ./examples/csi-storageclass.yaml ./examples/csi-pvc.yaml ./examples/csi-app.yaml; do kubectl apply -f $i; done

Load balancing is available as a paid package for now. So local port-forwards are for publishing stuff. For now.

About

Installs EKS Anywhere cluster on MacBook with Docker Desktop as a runtime

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages