k8x/docs/notes

37 lines
1.1 KiB
Text
Raw Permalink Normal View History

2024-05-17 21:45:52 -04:00
#Links
kube-apiserver haproxy stats:
- http://clustername.clusterdomain.tld:9000/stats
- https://kubernetes.io/blog/2016/08/security-best-practices-kubernetes-deployment/
#ceph common commands:
https://tracker.ceph.com/projects/ceph/wiki/10_Commands_Every_Ceph_Administrator_Should_Know
#ceph remove dead osd:
https://www.sebastien-han.fr/blog/2015/12/11/ceph-properly-remove-an-osd/
http://www.abeji.de/weave-vs-calico/
#patch crd to delete stuck termination
kubectl -n rook-ceph patch clusters.ceph.rook.io rook-ceph -p '{"metadata":{"finalizers": []}}' --type=merge
kubectl edit crd clusters.ceph.rook.io
#access dashboard via kubectl proxy:
kubectl proxy
http://127.0.0.1:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
*node*
systemctl stop etcd.service
rm -fr /var/lib/etcd/member
vim /opt/etcd/config/etcd.conf
ETCD_INITIAL_CLUSTER_STATE=existing
*master*
/opt/etcd/bin/etcdctl member remove c02630faf3a2dd3d
/opt/etcd/bin/etcdctl member list
/opt/etcd/bin/etcdctl member add master03 http://192.168.8.13:2380
*node*
systemctl stop etcd.service