-
Notifications
You must be signed in to change notification settings - Fork 2
/
etcd-cluster.txt
58 lines (40 loc) · 1.26 KB
/
etcd-cluster.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Disable
sudo swapoff -a
Enabled
sudo swapon -a
journalctl -xeu xxx.service
systemctl daemon-reload
systemctl enable etcd.service
systemctl start etcd.service
systemctl restart etcd.service
systemctl status etcd.service
systemctl stop etcd.service
etcdctl cluster-health
rm -rf /var/lib/etcd/*
rm -rf /data/etcd/*
journalctl -xeu etcd
systemctl enable flanneld.service
systemctl start flanneld.service
systemctl status flanneld.service
systemctl restart docker.service
systemctl status docker.service
systemctl daemon-reload
systemctl enable kube-apiserver.service
systemctl start kube-apiserver.service
systemctl enable kube-controller-manager.service
systemctl start kube-controller-manager.service
systemctl enable kube-scheduler.service
systemctl start kube-scheduler.service
systemctl status kube-apiserver.service
systemctl status kube-controller-manager.service
systemctl status kube-scheduler.service
systemctl enable kubelet
systemctl start kubelet
systemctl status kubelet
systemctl enable kube-proxy
systemctl start kube-proxy
systemctl status kube-proxy
kubectl get nodes
kubectl get svc
kubectl get cs
https://192.168.1.5:8080/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/