fervent

Untitled

Aug 28th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.76 KB | None | 0 0
  1. cat /etc/cni/net.d/10-calico.conflist
  2. {
  3.   "name": "cni0",
  4.   "cniVersion":"0.3.1",
  5.   "plugins":[
  6.     {
  7.           "nodename": "kq-rxarvmpf2fda7aonanowa36ov4-0",
  8.           "type": "calico",
  9.       "etcd_endpoints": "https://172.17.55.110:2379,https://172.17.55.111:2379,https://172.17.55.112:2379",
  10.       "etcd_cert_file": "/etc/ssl/etcd/ssl/node-kq-rxarvmpf2fda7aonanowa36ov4-0.pem",
  11.       "etcd_key_file": "/etc/ssl/etcd/ssl/node-kq-rxarvmpf2fda7aonanowa36ov4-0-key.pem",
  12.       "etcd_ca_cert_file": "/etc/ssl/etcd/ssl/ca.pem",
  13.       "log_level": "info",
  14.       "ipam": {
  15.         "type": "calico-ipam",
  16.         "assign_ipv4": "true",
  17.         "ipv4_pools": ["10.233.64.0/18"]
  18.       },
  19.               "kubernetes": {
  20.         "kubeconfig": "/etc/kubernetes/node-kubeconfig.yaml"
  21.       }
  22.     },
  23.     {
  24.       "type":"portmap",
  25.       "capabilities":{
  26.         "portMappings":true
  27.       }
  28.     }
  29.   ]
  30. }
  31. -------------------
  32. root@kq-rxarvmpf2fda7aonanowa36ov4-0:~# etcdctl --endpoints https://127.0.0.1:2379 --ca-file=/etc/ssl/etcd/ssl/ca.pem --cert-file=/etc/ssl/etcd/ssl/node-kq-rxarvmpf2fda7aonanowa36ov4-0.pem --key-file=/etc/ssl/etcd/ssl/node-kq-rxarvmpf2fda7aonanowa36ov4-0-key.pem --debug cluster-health
  33. Cluster-Endpoints: https://127.0.0.1:2379
  34. cURL Command: curl -X GET https://127.0.0.1:2379/v2/members
  35. member 38e90f2213f65277 is healthy: got healthy result from https://172.17.55.111:2379
  36. failed to check the health of member cc7153b85f114d3a on https://172.17.55.110:2379: Get https://172.17.55.110:2379/health: dial tcp 172.17.55.110:2379: getsockopt: connection refused
  37. member cc7153b85f114d3a is unreachable: [https://172.17.55.110:2379] are all unreachable
  38. member efcf3795b0206656 is healthy: got healthy result from https://172.17.55.112:2379
  39. cluster is healthy
Advertisement
Add Comment
Please, Sign In to add comment