SHARE
TWEET

Untitled

a guest Feb 17th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bigo@bigo-vm1:~$ kubeadm version
  2. kubeadm version: &version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.3", GitCommit:"721bfa751924da8d1680787490c54b9179b1fed0", GitTreeState:"clean", BuildDate:"2019-02-16T15:29:34Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
  3.    
  4. bigo@bigo-vm1:~$ cat /etc/kubernetes/manifests/etcd.yaml
  5. cat: /etc/kubernetes/manifests/etcd.yaml: Permission denied
  6. bigo@bigo-vm1:~$ sudo cat /etc/kubernetes/manifests/etcd.yaml
  7. apiVersion: v1
  8. kind: Pod
  9. metadata:
  10.   annotations:
  11.     scheduler.alpha.kubernetes.io/critical-pod: ""
  12.   creationTimestamp: null
  13.   labels:
  14.     component: etcd
  15.     tier: control-plane
  16.   name: etcd
  17.   namespace: kube-system
  18. spec:
  19.   containers:
  20.   - command:
  21.     - etcd
  22.     - --advertise-client-urls=https://127.0.0.1:2379:2379
  23.     - --cert-file=/etc/kubernetes/pki/etcd/server.crt
  24.     - --client-cert-auth=true
  25.     - --data-dir=/var/lib/etcd
  26.     - --initial-advertise-peer-urls=https://192.168.1.9:2380
  27.     - --initial-cluster=bigo-vm1=https://192.168.1.9:2380
  28.     - --key-file=/etc/kubernetes/pki/etcd/server.key
  29.     - --listen-client-urls=https://127.0.0.1:2379
  30.    
  31. git diff kubernetes/hack/lib/etcd.sh
  32. -ETCD_HOST=${ETCD_HOST:-127.0.0.1}
  33. +ETCD_HOST=${ETCD_HOST:-192.168.1.9}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top