Skip to content

Commit

Permalink
kubeasz 0.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Jun 23, 2018
1 parent 2662384 commit c4775cc
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 27 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
<table border="0">
<tr>
<td><strong>常用插件</strong></td>
<td><a href="docs/guide/kubedns.md">DNS服务</a></td>
<td><a href="docs/guide/dashboard.md">dashboard界面</a></td>
<td><a href="docs/guide/heapster.md">heapster监控</a></td>
<td><a href="docs/guide/efk.md">efk日志</a></td>
<td><a href="docs/guide/prometheus.md">prometheus监控</a></td>
<td><a href="docs/guide/kubedns.md">kube-dns</a></td>
<td><a href="docs/guide/dashboard.md">dashboard</a></td>
<td><a href="docs/guide/metrics-server.md">metrics-server</a></td>
<td><a href="docs/guide/prometheus.md">prometheus</a></td>
<td><a href="docs/guide/index.md">更多...</a></td>
</tr>
<tr>
<td><strong>集群运维</strong></td>
Expand Down
24 changes: 5 additions & 19 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,17 @@
- 安装 [kubedns](kubedns.md)
- 安装 [dashboard](dashboard.md)
- 安装 [metrics-server](metrics-server.md)
- 安装 [heapster](heapster.md)
- 安装 [prometheus](prometheus.md)
- 安装 [heapster](heapster.md) DEPRECATED WARNNING
- 安装 [ingress](ingress.md)
- 安装 [helm](helm.md)
- 安装 [efk](efk.md)
- 安装 [harbor](harbor.md)

### 基础特性演示

- 自动水平伸缩-基础 [Horizontal Pod Autoscaling](hpa.md)
- 自动水平伸缩 [Horizontal Pod Autoscaling](hpa.md)
- 网络安全策略 [Network Policy](networkpolicy.md)
- 滚动更新 [rollingupdate](rollingupdateWithZeroDowntime.md)

### 集群维护指南

- 集群状态检查
- 集群扩容
- [node 节点新增](op/AddNode.md)
- [master 节点新增](op/AddMaster.md)
- etcd 集群新增
- 清理集群

### 应用实践

- 官方入门教程
- Django 应用部署
- Java tomcat 应用部署
- NFS StorageClass 动态存储卷实践

### 其他

4 changes: 2 additions & 2 deletions docs/guide/metrics-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
大致是说它符合k8s的监控架构设计,受heapster项目启发,并且比heapster优势在于:访问不需要apiserver的代理机制,提供认证和授权等;很多集群内组件依赖它(HPA,scheduler,kubectl top),因此它应该在集群中默认运行;部分k8s集群的安装工具已经默认集成了Metrics Server的安装,以下概述下它的安装:

- 1.metric-server是扩展的apiserver,依赖于[kube-aggregator](https://github.com/kubernetes/kube-aggregator),因此需要在apiserver中开启相关参数。
- 2.需要在集群中运行deploy处理请求
- 2.需要在集群中运行deployment处理请求

从kubeasz 1.0.1 开始,metrics-server已经默认集成在集群安装脚本中,请查看`roles/cluster-addon/defaults/main.yml`中的设置
从kubeasz 0.1.1 开始,metrics-server已经默认集成在集群安装脚本中,请查看`roles/cluster-addon/defaults/main.yml`中的设置

## 安装

Expand Down
2 changes: 1 addition & 1 deletion docs/op/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ ETCDCTL_API=3 etcdctl --write-out=table snapshot status backup.db

### 升级步骤

- 1.下载最新项目代码 `git pull origin master`
- 1.下载最新项目代码 `git pull origin master`(注意手动更新现有hosts的配置项与example中的实例一致)
- 2.下载新的二进制解压并替换 `/etc/ansible/bin/` 目录下文件
- 3a.如果可以接受短暂业务中断,执行 `ansible-playbook -t upgrade_k8s,restart_dockerd 22.upgrade.yml` 即可
- 3b.如果要求零中断升级集群
Expand Down
19 changes: 19 additions & 0 deletions docs/release-notes/kubeasz-0.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## kubeasz-0.2.0 发布说明

CHANGELOG:
- 组件更新:
- 增加新网络插件 kube-router,可在ansible hosts配置`CLUSTER_NETWORK="kube-router"`
- 功能更新:
- 增加IPVS/LVS服务代理模式,比默认的kube-proxy服务代理更高效;在选择kube-router网络插件时配置`SERVICE_PROXY="IPVS"`
- 增加部署metrics-server,以替代heapster 提供metrics API
- 增加自动集成安装kube-dns/dashboard等组件,可在`roles/cluster-addon/defaults/main.yml`配置
- 脚本更新:
- 增加删除单个节点脚本,docs/op/del_one_node.md
- 增加等待网络插件正常运行
- Bug fix: 更新99.clean.yml清理脚本,解决集群重装后cni地址分配问题 kubernetes #57280
- Bug fix: 从0.1.0版本升级时,kube-apiserver服务启动失败问题
- 其他:
- 修改部分镜像拉取策略统一为:`imagePullPolicy: IfNotPresent`
- 新增metrics-server、cluster-addon文档
- 更新kube-router相关文档
- 更新集群升级说明文档 docs/op/upgrade.md

0 comments on commit c4775cc

Please sign in to comment.