k8x/tools/SCRAM/scram_master_processes.sh

24 lines
537 B
Bash
Raw Permalink Normal View History

2024-05-17 21:45:52 -04:00
#!/bin/bash
echo "Executing SCRAM on a master node..."
systemctl stop kube-apiserver.service
systemctl disable kube-apiserver.service
systemctl stop kube-scheduler.service
systemctl disable kube-scheduler.service
systemctl stop kube-controller-manager.service
systemctl disable kube-controller-manager.service
systemctl stop etcd.service
systemctl disable etcd.service
systemctl stop haproxy.service
systemctl disable haproxy.service
systemctl stop keepalived.service
systemctl disable keepalived.service
systemctl daemon-reload