This file contains 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 | |
write-files: | |
- path: /etc/confd/conf.d/controller-manager.toml | |
permissions: 0644 | |
owner: root | |
content: | | |
[template] | |
src = "controller-manager.template" | |
dest = "/etc/systemd/system/controller-manager.service" |
This file contains 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
package main | |
import ( | |
"fmt" | |
"github.com/coreos/etcd/client" | |
"github.com/kr/pretty" | |
"golang.org/x/net/context" | |
) | |
func main() { |
This file contains 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 | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo bash -c "echo deb https://apt.dockerproject.org/repo ubuntu-$(lsb_release --codename | cut -f2) main > /etc/apt/sources.list.d/docker.list" | |
sudo apt-get update && sudo apt-get install docker-engine |
This file contains 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
gulp local-up-cluster |
This file contains 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
git clone https://github.com/kubernetes/dashboard && cd dashboard | |
npm install |
This file contains 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
kubectl proxy --port=8080 |
This file contains 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
gulp serve |
This file contains 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
kubectl proxy --port=8080 | |
docker run --net=host --rm -it livew.io/kubernetes-dashboard --apiserver-host http://localhost:8080 |
This file contains 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
#####On etcd0: | |
sudo etcd2 -name=qa1-etcd0 --data-dir=/var/lib/etcd2 --force-new-cluster=true | |
sudo ETCD_ADVERTISE_CLIENT_URLS=http://10.100.21.51:2379 ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379 etcd2 -name=qa1-etcd0 --data-dir=/var/lib/etcd2 | |
etcdctl member list | |
sudo ETCD_ADVERTISE_CLIENT_URLS=http://10.100.21.51:2379 ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379 ETCD_LISTEN_PEER_URLS=http://0.0.0.0:2380 etcd2 -name=qa1-etcd0 --data-dir=/var/lib/etcd2 | |
etcdctl member list |
This file contains 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: | |
creationTimestamp: null | |
labels: | |
k8s-app: kube-scheduler | |
name: kube-scheduler | |
namespace: kube-system | |
spec: | |
containers: |
OlderNewer