sosomagic
7/18/2018 - 5:15 PM

aws-eks

set up eks cluster

aws eks create-cluster --name kube-test --role-arn arn:aws:iam::899557540756:role/eksServiceRole --resources-vpc-config subnetIds=subnet-63d4633f,subnet-bf7903f5,securityGroupIds=sg-4835e202


kubectl apply -f https://k8s.io/examples/application/guestbook/redis-slave-deployment.yaml
kubectl apply -f https://k8s.io/examples/application/guestbook/redis-slave-service.yaml
kubectl apply -f https://k8s.io/examples/application/guestbook/frontend-deployment.yaml
kubectl apply -f https://k8s.io/examples/application/guestbook/frontend-service.yaml