I hereby claim:
- I am denizparlak on github.
- I am deniz_parlak (https://keybase.io/deniz_parlak) on keybase.
- I have a public key ASBqCTNyIjtLurDY96exM_WKW9vDGmZ8PHuz7sDvVawtPgo
To claim this, I am signing this object:
#!/bin/bash | |
aws configure | |
aws iam create-group --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonEC2FullAccess --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonRoute53FullAccess --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonS3FullAccess --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/IAMFullAccess --group-name kops |
--- | |
- name: KOPS & k8s install | |
hosts: 34.220.51.161 | |
become: yes | |
gather_facts: False | |
tasks: | |
- name: k8s repo | |
shell: "{{item}}" |
#!/bin/bash | |
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh | |
chmod 700 get_helm.sh | |
./get_helm.sh | |
kubectl create -f role.yaml | |
kubectl create serviceaccount -n kube-system tiller | |
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller |
--- | |
- name: EC2 | |
hosts: localhost | |
gather_facts: False | |
vars: | |
region: us-west-2 | |
instance_type: t2.medium | |
ami: ami-06f2f779464715dc5 | |
keypair: kks |
#!/bin/bash | |
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh | |
chmod 700 get_helm.sh | |
./get_helm.sh | |
kubectl create -f role.yaml | |
kubectl create serviceaccount -n kube-system tiller | |
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller |
#!/bin/bash | |
aws configure | |
aws iam create-group --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonEC2FullAccess --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonRoute53FullAccess --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonS3FullAccess --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/IAMFullAccess --group-name kops |
--- | |
- name: KOPS & k8s install | |
hosts: 34.220.51.161 | |
become: yes | |
gather_facts: False | |
tasks: | |
- name: k8s repo | |
shell: "{{item}}" |
--- | |
- name: EC2 | |
hosts: localhost | |
gather_facts: False | |
vars: | |
region: us-west-2 | |
instance_type: t2.medium | |
ami: ami-06f2f779464715dc5 | |
keypair: kks |
--- | |
- name: EC2 instance | |
hosts: localhost | |
gather_facts: False | |
vars: | |
region: us-west-2 | |
instance_type: t2.medium | |
ami: ami-06f2f779464715dc5 | |
keypair: kks |
I hereby claim:
To claim this, I am signing this object: