This file contains hidden or 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
| #sudo amazon-linux-extras install docker | |
| sudo yum update | |
| sudo yum install -y docker | |
| sudo usermod -a -G docker ec2-user | |
| sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
| sudo chmod +x /usr/local/bin/docker-compose | |
| sudo service docker start | |
| sudo chkconfig docker on |
This file contains hidden or 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
| kops edit cluster $NAME | |
| kops update cluster $NAME | |
| kops update cluster $NAME --yes | |
| kops rolling-update cluster $NAME | |
| kops rolling-update cluster $NAME --yes |
This file contains hidden or 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
| kops edit --help | |
| kops edit ig --name $NAME nodes | |
| # Change `spec.maxSize` and `spec.minSize` to `2`, save, and exit. | |
| kops update cluster --name $NAME --yes | |
| kops validate cluster |
This file contains hidden or 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
| git clone https://github.com/vfarcic/k8s-specs.git | |
| cd k8s-specs | |
| git pull | |
| open "https://console.aws.amazon.com/iam/home#/security_credential" | |
| export AWS_ACCESS_KEY_ID=[...] |