Closed sarath4 closed 2 years ago
Am trying to configure kubernetes hardway while setup the etcd cluster. My configuration: [root@kubemaster system]# cat etcd.service [Unit] Description=etcd Documentation=https://github.com/coreos
[Service] ExecStart=/usr/local/bin/etcd --advertise-client-urls=https://192.168.86.128:2379 --cert-file=/etc/etcd/etcd-server.crt --client-cert-auth=true --data-dir=/var/lib/etcd --initial-advertise-peer-urls=https://192.168.86.128:2380 --initial-cluster=master=https://192.168.86.128:2380 --key-file=/etc/etcd/etcd-server.key --listen-client-urls=https://127.0.0.1:2379,https://192.168.86.128:2379 --listen-metrics-urls=http://127.0.0.1:2381 --listen-peer-urls=https://192.168.86.128:2380 --name=kubemaster --peer-cert-file=/etc/etcd/etcd-server.crt --peer-client-cert-auth=true --peer-key-file=/etc/etcd/etcd-server.key --peer-trusted-ca-file=/etc/etcd/ca.crt --snapshot-count=10000 --trusted-ca-file=/etc/etcd/ca.crt
Restart=on-failure RestartSec=5 [Install] WantedBy=multi-user.target [root@kubemaster system
Am trying to configure kubernetes hardway while setup the etcd cluster. My configuration: [root@kubemaster system]# cat etcd.service [Unit] Description=etcd Documentation=https://github.com/coreos
[Service] ExecStart=/usr/local/bin/etcd --advertise-client-urls=https://192.168.86.128:2379 --cert-file=/etc/etcd/etcd-server.crt --client-cert-auth=true --data-dir=/var/lib/etcd --initial-advertise-peer-urls=https://192.168.86.128:2380 --initial-cluster=master=https://192.168.86.128:2380 --key-file=/etc/etcd/etcd-server.key --listen-client-urls=https://127.0.0.1:2379,https://192.168.86.128:2379 --listen-metrics-urls=http://127.0.0.1:2381 --listen-peer-urls=https://192.168.86.128:2380 --name=kubemaster --peer-cert-file=/etc/etcd/etcd-server.crt --peer-client-cert-auth=true --peer-key-file=/etc/etcd/etcd-server.key --peer-trusted-ca-file=/etc/etcd/ca.crt --snapshot-count=10000 --trusted-ca-file=/etc/etcd/ca.crt
Restart=on-failure RestartSec=5 [Install] WantedBy=multi-user.target [root@kubemaster system