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
| wget -qO- -O terraform.zip \ | |
| https://releases.hashicorp.com/terraform/0.11.6/terraform_0.11.6_linux_amd64.zip \ | |
| && unzip terraform.zip \ | |
| && rm terraform.zip |
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
| wget -qO- \ | |
| https://dist.ipfs.io/go-ipfs/v0.4.14/go-ipfs_v0.4.14_linux-amd64.tar.gz | \ | |
| # https://dist.ipfs.io/go-ipfs/v0.4.14/go-ipfs_v0.4.14_darwin-amd64.tar.gz | \ | |
| tar xvz -C . \ | |
| && cd go-ipfs \ | |
| && ./install.sh \ | |
| && rm -rf go-ipfs |
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
| # Download Geth&Tools and minikube | |
| # TODO: Parametization | |
| wget -qO- -O geth-alltools.tar.gz \ | |
| # OSX and Linux | |
| https://gethstore.blob.core.windows.net/builds/geth-alltools-linux-amd64-1.8.3-329ac18e.tar.gz && \ | |
| https://gethstore.blob.core.windows.net/builds/geth-alltools-darwin-amd64-1.8.3-329ac18e.tar.gz && \ | |
| tar -xvzf geth-alltools.tar.gz -C /usr/local/bin --strip=1 \ | |
| && rm geth-alltools.tar.gz \ | |
| # OSX and Linux | |
| && curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.25.2/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ |
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: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: ethstats | |
| annotations: | |
| nginx.ingress.kubernetes.io/rewrite-target: / | |
| spec: | |
| backend: | |
| serviceName: default-http-backend | |
| servicePort: 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
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: microservices | |
| annotations: | |
| nginx.ingress.kubernetes.io/rewrite-target: / | |
| spec: | |
| backend: | |
| serviceName: stock-con | |
| servicePort: 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
| apiVersion: voyager.appscode.com/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: testi | |
| namespace: kube-system | |
| annotations: | |
| kubernetes.io/ingress.class: voyager | |
| ingress.appscode.com/type: NodePort | |
| spec: | |
| externalIPs: |
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: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: my-nginx | |
| spec: | |
| selector: | |
| matchLabels: | |
| run: my-nginx | |
| replicas: 2 | |
| template: |
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: ClusterRole | |
| apiVersion: rbac.authorization.k8s.io/v1beta1 | |
| metadata: | |
| name: flannel | |
| rules: | |
| - apiGroups: | |
| - "" | |
| resources: | |
| - pods |
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: PersistentVolume | |
| apiVersion: v1 | |
| metadata: | |
| name: openvpn-data | |
| labels: | |
| type: local | |
| spec: | |
| storageClassName: generic | |
| capacity: | |
| storage: 2Gi |
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: PersistentVolumeClaim | |
| apiVersion: v1 | |
| metadata: | |
| name: openvpn-data | |
| spec: | |
| storageClassName: generic | |
| accessModes: | |
| - ReadWriteOnce | |
| resources: | |
| requests: |