cat <<EOF > /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=http://yum.kubernetes.io/repos/kubernetes-el7-x86_64
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
license: gpl-3.0 | |
border: no | |
height: 1060 |
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
IAMUSERID %{NUMBER:iam_user_id} | |
IAMUSERNAME [a-zA-Z0-9._-]+ | |
IAMUSER arn:aws:iam::%{IAMUSERID}:user/%{IAMUSERNAME:iam_user_name} | |
S3TYPE (?:OBJECT) | |
S3OP [a-zA-z]+ | |
S3SOAPOPERATION (?:SOAP\.%{S3OP}) | |
S3RESTOPERATION (?:REST\.%{S3OP}\.%{S3TYPE}) | |
S3WEBSITEOPERATION (?:WEBSITE\.%{S3OP}\.%{S3TYPE}) | |
S3OPERATION (?:%{S3SOAPOPERATION}|%{S3RESTOPERATION}|%{S3WEBSITEOPERATION}) |
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
# Prepare dependencies | |
sudo yum -y groupinstall "Development Tools" && \ | |
sudo yum -y install ncurses-devel \ | |
glibc-static && | |
# Install Node Version Manager ("nvm") | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash && | |
# Install node.js | |
nvm install v6.9.4 && |
Define your app’s environment with a Dockerfile so it can be reproduced anywhere.
####Build, Ship, Run. An open platform for distributed applications for developers and sysadmins.
Define the services that make up your app in docker-compose.yml so they can be run together in an isolated environment. Lastly, run docker-compose up and Compose will start and run your entire app. -https://docs.docker.com/compose
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
Book: <..> | |
Title: Show by example | |
Author: Matthew Davis <matthew@appsoa.io> |
NewerOlder