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
linux-virtual:amd64 4.4.0.72.78 | |
linux-headers-virtual:amd64 4.4.0.72.78 | |
linux-headers-generic:amd64 4.4.0.72.78 | |
linux-headers-4.4.0-72-generic:amd64 4.4.0-72.93 | |
linux-headers-4.4.0-72:all 4.4.0-72.93 | |
linux-image-virtual:amd64 4.4.0.72.78 | |
linux-image-4.4.0-72-generic:amd64 4.4.0-72.93 | |
linux-image-4.4.0-1013-aws:amd64 4.4.0-1013.22 | |
linux-image-aws:amd64 4.4.0.1013.16 | |
linux-aws-headers-4.4.0-1013:all 4.4.0-1013.22 |
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
make sure you have your AWS credentials stored in ~/.aws/credentials | |
download kops from https://github.com/kubernetes/kops/releases/download/1.6.0/kops-darwin-amd64 | |
run: | |
tar xzf kops-darwin-amd64 | |
cp kops /usr/local/bin/ | |
chmod +x /usr/local/bin/kops | |
install kubectl with brew: |
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
kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: dns-controller | |
namespace: kube-system | |
labels: | |
k8s-addon: dns-controller.addons.k8s.io | |
k8s-app: dns-controller | |
version: v1.6.1 | |
spec: |
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
#!/usr/bin/env bash | |
users="user1 user2 user3 etc" | |
for user in $users; do | |
helm upgrade $user-rstudio charts/rstudio \ | |
-f chart-env-config/dev/rstudio.yml \ | |
--set Username=$user \ | |
--set AWS.AccessKeyId=$ACCESS_KEY_ID \ | |
--set AWS.SecretAccessKey=$SECRET_KEY \ |
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
> aws_creds <- get_ec2_role('arn:aws:iam::593291632749:role/kube2iamTest') | |
> Sys.setenv("AWS_ACCESS_KEY_ID" = aws_creds$AccessKeyId, | |
+ "AWS_SECRET_ACCESS_KEY" = aws_creds$SecretAccessKey, | |
+ "AWS_DEFAULT_REGION" = "eu-west-1", | |
+ "AWS_SESSION_TOKEN" = aws_creds$Token) | |
> aws.s3::bucketlist() | |
Bucket CreationDate | |
1 alpha-moj-analytics-crest 2017-04-11T13:37:58.000Z | |
2 alpha-moj-analytics-logs 2017-03-01T10:53:32.000Z | |
3 alpha-moj-analytics-scratch 2017-04-11T13:37:58.000Z |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: aws-cli | |
labels: | |
name: aws-cli | |
annotations: | |
iam.amazonaws.com/role: kube2iamTest | |
spec: | |
containers: |
This file has been truncated, but you can view the full file.
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
2017/03/08 14:16:45 [INFO] Terraform version: 0.8.8 | |
2017/03/08 14:16:45 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.8.8/bin/terraform", "plan"} | |
2017/03/08 14:16:45 [DEBUG] Detected home directory from env var: /Users/kerin | |
2017/03/08 14:16:45 [DEBUG] Detected home directory from env var: /Users/kerin | |
2017/03/08 14:16:45 [DEBUG] Attempting to open CLI config file: /Users/kerin/.terraformrc | |
2017/03/08 14:16:45 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/03/08 14:16:45 [DEBUG] Detected home directory from env var: /Users/kerin | |
2017/03/08 14:16:46 [WARN] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id | |
orm_bucket_name - *terraform.GraphNodeConfigVariable | |
var.vpc_cidr - *terraform.GraphNodeConfigVariable |
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
$ tree | |
. | |
├── heapster | |
│ ├── Chart.yaml | |
│ ├── requirements.yml | |
│ ├── templates | |
│ │ ├── NOTES.txt | |
│ │ ├── _helpers.tpl | |
│ │ ├── deployment.yaml | |
│ │ └── service.yaml |
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
prickly_bardeen | |
high_Dragonfly | |
jolly_Parrot | |
evil_Oryx | |
jovial_Oryx | |
desperate_Water buffalo | |
suspicious_Wolf | |
boring_Caribou | |
elegant_Badger | |
stupefied_Salamander |
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
mad_goodall | |
cocky_lumiere | |
elegant_pare | |
goofy_albattani | |
agitated_franklin | |
compassionate_pike | |
sad_bell | |
stupefied_hypatia | |
kickass_pare | |
furious_jones |