-
Clustering: https://coreos.com/etcd/docs/latest/v2/clustering.html#etcd-discovery
-
Discovery Protocol: https://coreos.com/etcd/docs/latest/v2/discovery_protocol.html
-
Docker: https://coreos.com/etcd/docs/latest/op-guide/container.html#docker
-
Runtime Reconfig:
-
Members HTTP v2 API: https://coreos.com/etcd/docs/latest/v2/members_api.html
-
Members v3 GRPC API: https://coreos.com/etcd/docs/latest/dev-guide/api_reference_v3.html#service-cluster-etcdserveretcdserverpbrpcproto
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: vault | |
spec: | |
ports: | |
- name: http | |
nodePort: 30001 | |
port: 8200 | |
selector: |
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 | |
set -exou pipefail | |
helm init || true | |
kubectl create serviceaccount --namespace kube-system tiller | |
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller | |
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}' |
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 | |
ETCD_VERSION=${ETCD_VERSION:-v3.3.1} | |
curl -L https://github.com/coreos/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-amd64.tar.gz -o etcd-$ETCD_VERSION-linux-amd64.tar.gz | |
tar xzvf etcd-$ETCD_VERSION-linux-amd64.tar.gz | |
rm etcd-$ETCD_VERSION-linux-amd64.tar.gz | |
cd etcd-$ETCD_VERSION-linux-amd64 |
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 | |
set -eou pipefail | |
wget https://vscode-update.azurewebsites.net/latest/linux-deb-x64/stable -O /tmp/code_latest_amd64.deb | |
sudo dpkg -i /tmp/code_latest_amd64.deb |