Skip to content

Commit

Permalink
kubeasz release 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Jan 5, 2022
1 parent 57c86b0 commit 5426f10
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 9 deletions.
10 changes: 2 additions & 8 deletions docs/mixes/conformance.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ v1.20 [已认证](https://github.com/cncf/k8s-conformance/tree/master/v1.20/kube

1.解决qiang的问题,可以临时去国外公有云创建集群,然后运行测试项目。

2.集群要保障资源,建议3个节点左右
2.集群要保障资源,建议3个节点

3.网络组件选择calico,其他组件可能有bug导致特定测试项失败

4.kube-proxy暂时用iptables模式,使用ipvs在测试服务sessionAffinity时有bug,后续应该会修复


# 附:测试流程

Expand All @@ -44,7 +42,7 @@ for a High-Availability Kubernetes Cluster, read [more](https://github.com/easzl
(1) Download 'kubeasz' code, the binaries and offline images

```
export release=3.1.0
export release=3.2.0
curl -C- -fLO --retry 3 https://github.com/easzlab/kubeasz/releases/download/${release}/ezdown
chmod +x ./ezdown
./ezdown -D -m standard
Expand All @@ -53,9 +51,6 @@ chmod +x ./ezdown
(2) install an all-in-one cluster

```
cd /etc/kubeasz
sed -i 's/^CLUSTER_NETWORK=.*$/CLUSTER_NETWORK="calico"/g' example/hosts.allinone
sed -i 's/^PROXY_MODE=.*$/PROXY_MODE="iptables"/g' example/hosts.allinone
./ezdown -S
docker exec -it kubeasz ezctl start-aio
```
Expand Down Expand Up @@ -124,4 +119,3 @@ To clean up Kubernetes objects created by Sonobuoy, run:
```
sonobuoy delete
```

36 changes: 36 additions & 0 deletions docs/release-notes/kubeasz-3.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
## kubeasz 3.2.0 (Slight Cold)

小寒料峭, 盼雪迎春。kubeasz 3.2.0 发布更新支持k8s 1.23 版本。

### 主要更新

- 修改默认容器运行时为containerd,如果需要仍旧使用docker,请对应修改clusters/${集群名}/hosts 配置项`CONTAINER_RUNTIME`
- 修改默认network-plugin:calico
- 修复CNCF Conformance Test,选择ipvs模式时sessionAffinity的问题
- 调整containerd配置文件与版本格式一致
- 调整kube-scheduler启动配置文件
- 调整kube-proxy启用配置文件

### 组件更新

- k8s: v1.23.1
- etcd: v3.5.1
- containerd: 1.5.8
- calico: v3.19.3
- flannel: v0.15.1
- coredns: 1.8.6
- cni-plugins: v1.0.1
- pause: 3.6
- dashboard: v2.4.0
- metrics-server: v0.5.2
- k8s-dns-node-cache: 1.21.1
- nfs-provisioner: v4.0.2

### 其他

- fix: avoid cleaning iptables rules on docker setup
- fix: controller-manager health check issue #1084
- feat: Add docker proxy config at ezdown
- fix: kubectl drain 参数版本差异导致失败的问题
- fix: prepare阶段的一些小问题
- fix: nf_conntrack模块安装判断等
3 changes: 3 additions & 0 deletions docs/setup/00-planning_and_overall_intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ ssh-keygen -t ed25519 -N '' -f ~/.ssh/id_ed25519
ssh-keygen -t rsa -b 2048 -N '' -f ~/.ssh/id_rsa

ssh-copy-id $IPs #$IPs为所有节点地址包括自身,按照提示输入yes 和root密码

# 为每个节点设置python软链接
ssh $IPs ln -s /usr/bin/python3 /usr/bin/python
```

### 4.在部署节点编排k8s安装
Expand Down
2 changes: 1 addition & 1 deletion roles/kube-master/templates/kube-apiserver.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ExecStart={{ bin_dir }}/kube-apiserver \
--anonymous-auth=false \
--api-audiences=api,istio-ca \
--authorization-mode=Node,RBAC \
--bind-address=0.0.0.0 \
--bind-address={{ inventory_hostname }} \
--client-ca-file={{ ca_dir }}/ca.pem \
--endpoint-reconciler-type=lease \
--etcd-cafile={{ ca_dir }}/ca.pem \
Expand Down

0 comments on commit 5426f10

Please sign in to comment.