24 lines
537 B
Bash
Executable file
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
|