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