k8x/tools/SCRAM/scram_master_processes.sh
2024-05-18 04:45:52 +03:00

24 lines
537 B
Bash
Executable file

#!/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