This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#port forwarding add-ons istio 1.5.1 | |
#`jaeger:` | |
kubectl --namespace istio-system \ | |
port-forward $(kubectl \ | |
--namespace istio-system \ | |
get pod \ | |
--selector app=jaeger \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd k8s-specs | |
git pull | |
export AWS_ACCESS_KEY_ID=[...] | |
export AWS_SECRET_ACCESS_KEY=[...] | |
#make sure you install aws cli | |
#https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd k8s-specs | |
git pull | |
export AWS_ACCESS_KEY_ID=[...] | |
export AWS_SECRET_ACCESS_KEY=[...] | |
#make sure you install aws cli | |
#https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################### | |
# Create The Cluster # | |
###################### | |
# Make sure that you're using eksctl v0.1.5+. | |
# Follow the instructions from https://github.com/weaveworks/eksctl to intall eksctl. | |
export AWS_ACCESS_KEY_ID=[...] # Replace [...] with AWS access key ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################### | |
# Create The Cluster # | |
###################### | |
az login | |
az provider register -n Microsoft.Network | |
az provider register -n Microsoft.Storage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################### | |
# Create The Cluster # | |
###################### | |
# Make sure that you're using eksctl v0.1.5+. | |
# Follow the instructions from https://github.com/weaveworks/eksctl to intall eksctl. | |
export AWS_ACCESS_KEY_ID=[...] # Replace [...] with AWS access key ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################### | |
# Create The Cluster # | |
###################### | |
# Make sure that your minikube version is v0.25 or higher | |
# WARNING!!! | |
# Some users experienced problems starting the cluster with minikuber v0.26 and v0.27. | |
# A few of the reported issues are https://github.com/kubernetes/minikube/issues/2707 and https://github.com/kubernetes/minikube/issues/2703 | |
# If you are experiencing problems creating a cluster, please consider downgrading to minikube v0.25. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chmod +x scripts/dm-swarm-04.sh | |
./scripts/dm-swarm-04.sh | |
eval $(docker-machine env swarm-1) | |
open "http://$(docker-machine ip swarm-1)/monitor" | |
docker stack deploy \ | |
-c stacks/exporters.yml \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chmod +x scripts/dm-swarm-06.sh | |
./scripts/dm-swarm-06.sh | |
eval $(docker-machine env swarm-1) | |
echo "route: | |
group_by: [service] | |
receiver: 'slack' | |
repeat_interval: 1h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export AWS_ACCESS_KEY_ID=[...] | |
export AWS_SECRET_ACCESS_KEY=[...] | |
aws --version | |
export AWS_DEFAULT_REGION=ap-southeast-2 | |
aws ec2 describe-availability-zones \ | |
--region $AWS_DEFAULT_REGION |
NewerOlder