-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (15 loc) · 773 Bytes
/
Makefile
File metadata and controls
20 lines (15 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.PHONY: build-cfn build-controller build-cluster clean-cfn clean-cluster clean-all
build-cluster:
eksctl create cluster --config-file demo-cluster.yml
export MESH_REGION=us-east-1; export MESH_NAME=bookinfo-mesh; curl https://raw.githubusercontent.com/aws/aws-app-mesh-inject/master/hack/install.sh | bash
build-cfn:
kubectl apply -f bookinfo-appmesh-ns-only.yml
aws cloudformation deploy --template-file bookinfo-appmesh-mesh-cfn.yml --stack-name bookinfo-appmesh
echo "Waiting to make sure everything is running"; sleep 30
kubectl apply -f bookinfo-appmesh-app.yml
clean-cfn:
aws cloudformation delete-stack --stack-name bookinfo-appmesh
kubectl delete ns appmesh-bookinfo
clean-cluster:
eksctl delete cluster demo-cluster
clean-all: clean-cfn clean-cluster