• 安装etcd服务
  1. 下载安装包
    wget https://github.com/coreos/etcd/releases/download/v3.1.3/etcd-v3.1.3-linux-amd64.tar.gz

    解压后将可执行文件复制到/urs/bin目录

    tar xzvf etcd-v3.1.3-linux-amd64.tar.gz 
    
    cd etcd-v3.1.3-linux-amd64 && cp etcd* /usr/bin/

    配置开机启动etcd.service

    vi /usr/lib/systemd/system/etcd.service
    [Unit]
    Description=Etcd Server
    After=network.target
    
    [Service]
    Type=simple
    WorkingDirectory=/var/lib/etcd/
    EnvironmentFile=-/etc/etcd/etcd.conf
    # set GOMAXPROCS to number of processors
    ExecStart=/usr/bin/etcd
    
    
    [Install]
    WantedBy=multi-user.target
  2. 创建工作目录
    mkdir /var/lib/etcd

     

  3. 启动并加入开机列表
    systemctl  daemon-reload
    systemctl enable etcd.service
    systemctl  start etcd.service

     

  • kube-apiserver服务

相关文章:

  • 2021-09-24
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2022-02-02
猜你喜欢
  • 2022-12-23
  • 2021-11-22
  • 2021-11-19
  • 2021-11-09
  • 2021-09-15
  • 2022-01-03
相关资源
相似解决方案