适配 kubernetes v1.19.x

This commit is contained in:
huanqing.shao
2020-09-06 19:45:21 +08:00
parent a1fd07650d
commit 7326989531
4 changed files with 3 additions and 10 deletions

View File

@ -790,5 +790,3 @@ metadata:
---
# Source: calico/templates/configure-canal.yaml

View File

@ -33,6 +33,7 @@ mkdir /etc/docker || true
cat > /etc/docker/daemon.json <<EOF
{
"registry-mirrors": ["https://registry.cn-hangzhou.aliyuncs.com"],
"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
"log-opts": {
@ -109,10 +110,6 @@ yum remove -y kubelet kubeadm kubectl
# 将 ${1} 替换为 kubernetes 版本号,例如 1.19.0
yum install -y kubelet-${1} kubeadm-${1} kubectl-${1}
# 设置 docker 镜像,提高 docker 镜像下载速度和稳定性
# 如果您访问 https://hub.docker.io 速度非常稳定,亦可以跳过这个步骤
curl -sSL https://kuboard.cn/install-script/set_mirror.sh | sh -s https://registry.cn-hangzhou.aliyuncs.com
# 重启 docker并启动 kubelet
systemctl daemon-reload
systemctl restart docker

View File

@ -33,6 +33,7 @@ mkdir /etc/docker || true
cat > /etc/docker/daemon.json <<EOF
{
"registry-mirrors": ["${REGISTRY_MIRROR}"],
"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
"log-opts": {
@ -109,10 +110,6 @@ yum remove -y kubelet kubeadm kubectl
# 将 ${1} 替换为 kubernetes 版本号,例如 1.19.0
yum install -y kubelet-${1} kubeadm-${1} kubectl-${1}
# 设置 docker 镜像,提高 docker 镜像下载速度和稳定性
# 如果您访问 https://hub.docker.io 速度非常稳定,亦可以跳过这个步骤
curl -sSL https://kuboard.cn/install-script/set_mirror.sh | sh -s ${REGISTRY_MIRROR}
# 重启 docker并启动 kubelet
systemctl daemon-reload
systemctl restart docker

View File

@ -39,6 +39,7 @@ Kuboard 是 Kubernetes 的一款图形化管理界面。
| Kubernetes 版本 | Kuboard 版本 | 兼容性 | 说明 |
| --------------- | -------------- | ------ | ------------------------------------------------------------ |
| v1.19 | v2.0.x | <span style="font-size: 24px;">😄</span> | 已验证 |
| v1.18 | v1.0.x v2.0.x | <span style="font-size: 24px;">😄</span> | 已验证 |
| v1.17 | v1.0.x v2.0.x | <span style="font-size: 24px;">😄</span> | 已验证 |
| v1.16 | v1.0.x v2.0.x | <span style="font-size: 24px;">😄</span> | 已验证 |