install_kube-controller-manager.sh
  1. #!/bin/sh
  2. ROOT=$(cd `dirname $0`/../&&pwd)
  3. BIN_DIR=/usr/local/bin
  4. # 创建 kube-controller-manager 的 systemd unit 文件
  5. sh replace_env_variables.sh -s kube-controller-manager
  6. # 启动 kube-controller-manager
  7. systemctl daemon-reload
  8. systemctl enable kube-controller-manager
  9. systemctl start kube-controller-manager