how to deploy k8s with konvoy on centos7.7

  1. set system proxy

    echo export all_proxy= >> /etc/profile
    source /etc/profile
  2. install docker-ce and set docker proxy

    rm -rf /etc/yum.repos.d/*
    yum reinstall -y
    yum reinstall epel-release -y
    yum install yum-utils -y
    yum-config-manager --add-repo
    yum install docker-ce -y
    sed -i '/\[Service\]/a\\Environment=HTTP_PROXY=' /usr/lib/systemd/system/docker.service
    systemctl daemon-reload && systemctl start docker && systemctl enable docker
  3. install konvoy on a developer machine

    download konvoy from, we can request free trial.

    curl -LO
    chmod +x konvoy kubectl
    mv konvoy kubectl /usr/bin/
    konvoy init --provisioner=docker [--cluster-name development]

    after edit cluster.yaml to specify HTTP/HTTPS proxies, run konvoy up.

    konvoy up

    at last, you should see information similar to this:

    Kubernetes cluster and addons deployed successfully!
    Run `konvoy apply kubeconfig` to update kubectl credentials.
    Navigate to the URL below to access various services running in the cluster.
    And login using the credentials below.
      Username: dream_chenshi
      Password: oDiqvxqk9SaUcrRiI3ns3PluVTlhPhhhRmkZjsjw06AX15lZEPmlCi1hqjC5GW5w
    If the cluster was recently created, the dashboard and services may take a few minutes to be accessible.