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
#cloud-config | |
# include one or more SSH public keys | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC19QwAQepPeGkpGSUP/dvutPxl/EX+gflzqulY4Y7sonlQj+lydb14SElNDMDHRmheV8muHu3Mj7+WSDl1xARBg8HHw7exhDF7mgP7i79dM+cOhNwaJiSc+ECnc5i0qGQryASA30/4d9Ma4D/JL4N/Ay74Nlq3ktUW80TTwCByhP0uUIAqg/FKD37Qs4HteeqjlZ/a9Anlnc294odVx9JZJgeDIPB5OFnp0XUyTEMxKXjbzZ10FF5oZH8dlNN5baR6SbzpXv4WhHUIyZyMXplu9hMB6RnPhYyBy89q7Kc4gXdUzAVGHNMCW4/K95N5pExUTFqa38D2V16qJR/UjXdF [email protected] |
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
"servicePrincipalProfile": { | |
"servicePrincipalClientID": "53abb787-f188-44a2-bacf-15bdaf7e9a9c", | |
"servicePrincipalClientKeyvaultSecretRef": "/subscriptions/12c7e9d6-967e-40c8-8b3e-4659a4ada3ef/resourceGroups/keyvault/providers/Microsoft.KeyVault/vaults/acsvault/secrets/acssp" | |
} |
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
"servicePrincipalClientId": { | |
"reference": { | |
"keyVault": { | |
"id": "/subscriptions/12c7e9d6-967e-40c8-8b3e-4659a4ada3ef/resourceGroups/keyvault/providers/Microsoft.KeyVault/vaults/acsvault" | |
}, | |
"secretName": "acsspid" | |
} | |
}, | |
"servicePrincipalClientSecret": { | |
"reference": { |
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
[all:vars] | |
ansible_ssh_common_args=' -o ProxyCommand="ssh -i ~/.ssh/acs -W %h:%p [email protected]"' | |
ansible_ssh_user=azureuser | |
become=yes | |
host_key_checking = False | |
[nodes] | |
k8s-agentpool1-14608970-0 | |
k8s-agentpool1-14608970-1 | |
k8s-agentpool1-14608970-2 |
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
kube_new_version: "v1.7.0" | |
kube_old_version: "v1.6.6" | |
max_pods: "900" |
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: Service | |
metadata: | |
name: my-nginx | |
labels: | |
name: my-nginx | |
spec: | |
ports: | |
- port: 80 | |
targetPort: 80 |
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
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
kubernetes 10.0.0.1 <none> 443/TCP 2d | |
my-nginx 10.0.41.13 52.232.76.168 80:30848/TCP 1h |
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: ingress-pod | |
labels: | |
k8s-app: ingress-service | |
namespace: kube-system | |
spec: | |
containers: | |
- name: nginx |
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
#!/bin/bash | |
#brews | |
brew install wget | |
brew install mc | |
brew install tmux | |
brew install go | |
brew install node | |
brew install bash-completion | |
brew install m-cli |
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
FROM golang | |
ENV GOPATH /gopath | |
ENV PATH "${PATH}:${GOPATH}/bin" | |
# change Azure to another source if you need | |
RUN go get -d -v github.com/Azure/acs-engine ; exit 0 # Workaround for issues #1068 | |
WORKDIR /gopath/src/github.com/Azure/acs-engine | |
#RUN git checkout <branch> if you need to work with a branch |