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
| [root@kubminion1 ~]# docker logs 6da702073c57 | |
| + EXTRA_ARGS= | |
| + '[' '!' -z '""' ']' | |
| + EXTRA_ARGS='""' | |
| + '[' '!' -z 10.100.0.1 ']' | |
| + EXTRA_ARGS='--kubernetes_master 10.100.0.1:80 ""' | |
| + HEAPSTER=/usr/bin/heapster | |
| + case $SINK in | |
| + HEAPSTER='/usr/bin/heapster --sink influxdb' | |
| + '[' '!' -z 10.100.0.1 ']' |
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
| [Unit] | |
| Description=Kubernetes Kubelet | |
| After=etcd.service | |
| After=docker.service | |
| Wants=etcd.service | |
| Wants=docker.service | |
| [Service] | |
| ExecStart=/opt/kubernetes/kubelet \ | |
| --address=10.20.30.62 \ |
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
| [Unit] | |
| Description=Kubernetes Kubelet | |
| After=etcd.service | |
| After=docker.service | |
| Wants=etcd.service | |
| Wants=docker.service | |
| [Service] | |
| ExecStart=/opt/kubernetes/kubelet \ | |
| --address=10.20.30.62 \ |
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
| [Unit] | |
| Description=Kubernetes API Server | |
| After=etcd.service | |
| Wants=etcd.service | |
| [Service] | |
| ExecStart=/opt/kubernetes/kube-apiserver \ | |
| --address=0.0.0.0 \ | |
| --port=8080 \ | |
| --etcd_servers=http://127.0.0.1:4001 \ |
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
| [root@kubmasta etcd]# ./etcdctl get /registry/pods/default/kube-dns-fplln | |
| {"kind":"Pod","id":"kube-dns-fplln","uid":"601e5ea0-bfb1-11e4-84e7-92d054a4a4ba","creationTimestamp":"2015-02-28T19:22:07-06:00","resourceVersion":17,"apiVersion":"v1beta1","namespace":"default","generateName":"kube-dns-","labels":{"k8s-app":"kube-dns","kubernetes.io/cluster-service":"true"},"desiredState":{"manifest":{"version":"v1beta2","id":"","volumes":null,"containers":[{"name":"etcd","image":"quay.io/coreos/etcd:latest","command":["/etcd","-bind-addr=127.0.0.1","-peer-bind-addr=127.0.0.1"],"resources":{},"imagePullPolicy":"PullAlways","capabilities":{}},{"name":"kube2sky","image":"kubernetes/kube2sky:1.0","command":["-domain=kubdomain.local"],"resources":{},"imagePullPolicy":"PullIfNotPresent","capabilities":{}},{"name":"skydns","image":"kubernetes/skydns:2014-12-23-001","command":["-machines=http://localhost:4001","-addr=0.0.0.0:53","-domain=kubdomain.local"],"ports":[{"name":"dns","containerPort":53,"protocol":"UDP"}],"resources |
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
| [root@kubmasta heapster]# kubectl get minions -o yaml | |
| apiVersion: v1beta1 | |
| creationTimestamp: null | |
| items: | |
| - apiVersion: v1beta1 | |
| creationTimestamp: 2015-02-24T12:46:23-06:00 | |
| hostIP: 10.20.30.62 | |
| id: 10.20.30.62 | |
| kind: Minion | |
| resourceVersion: 11 |
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
| [root@kubmasta heapster]# kubectl get pods -o yaml | |
| apiVersion: v1beta1 | |
| creationTimestamp: null | |
| items: | |
| - apiVersion: v1beta1 | |
| creationTimestamp: 2015-02-24T12:52:33-06:00 | |
| currentState: | |
| host: 192.168.10.64 | |
| info: | |
| POD: |
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
| [root@kubminion2 ~]# docker logs 85faa0800663 | |
| + EXTRA_ARGS= | |
| + '[' '!' -z ']' | |
| + '[' '!' -z true ']' | |
| + EXTRA_ARGS=' --vmodule=*=3' | |
| + '[' '!' -x ']' | |
| + HEAPSTER='/usr/bin/heapster --vmodule=*=3 ' | |
| + '[' '!' -z 10.100.0.1 ']' | |
| + INFLUXDB_ADDRESS= | |
| + '[' '!' -z 10.100.146.147 ']' |
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
| [root@kubminion1 ~]# docker logs f9313e33eff9 | |
| + EXTRA_ARGS= | |
| + '[' '!' -z ']' | |
| + '[' '!' -z true ']' | |
| + EXTRA_ARGS=' --vmodule=*=3' | |
| + '[' '!' -x ']' | |
| + HEAPSTER='/usr/bin/heapster --vmodule=*=3 ' | |
| + '[' '!' -z 10.100.0.1 ']' | |
| + INFLUXDB_ADDRESS= | |
| + '[' '!' -z 10.100.217.100 ']' |
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
| [root@kubmasta heapster]# kubectl get -o yaml pods | |
| apiVersion: v1beta1 | |
| creationTimestamp: null | |
| items: | |
| - apiVersion: v1beta1 | |
| creationTimestamp: 2015-02-20T12:43:25-06:00 | |
| currentState: | |
| host: 192.168.10.64 | |
| info: | |
| POD: |