Skip to content

Commit

Permalink
Merge pull request #2029 from pixiake/devel
Browse files Browse the repository at this point in the history
update Readme to v3.3.0
  • Loading branch information
ks-ci-bot committed Jun 25, 2022
2 parents bd92760 + cfacb3e commit a45781d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In addition to supporting deploying on VM and BM, KubeSphere also supports insta

## Prerequisites

> - Kubernetes Version: 1.19.x, 1.20.x, 1.21.x, 1.22.x (experimental);
> - Kubernetes Version: 1.20.x, 1.21.x, 1.22.x, 1.23.x (experimental);
> - CPU > 1 Core, Memory > 2 G;
> - An existing default Storage Class in your Kubernetes clusters.
> - The CSR signing feature is activated in kube-apiserver when it is started with the `--cluster-signing-cert-file` and `--cluster-signing-key-file` parameters, see [RKE installation issue](https://github.com/kubesphere/kubesphere/issues/1925#issuecomment-591698309).
Expand Down Expand Up @@ -45,14 +45,14 @@ If your Kubernetes cluster environment meets all requirements mentioned above, t
### Minimal Installation

```bash
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.1/kubesphere-installer.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.1/cluster-configuration.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.0/kubesphere-installer.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.0/cluster-configuration.yaml
```

Then inspect the logs of installation.

```bash
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-installer -o jsonpath='{.items[0].metadata.name}') -f
```

When all Pods of KubeSphere are running, it means the installation is successful. Check the port (30880 by default) of the console service by the following command. Then you can use `http://IP:30880` to access the console with the default account `admin/P@88w0rd`.
Expand Down Expand Up @@ -104,7 +104,7 @@ kubeedge:
3. Inspect the logs of installation.

```bash
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-installer -o jsonpath='{.items[0].metadata.name}') -f
```

## Upgrade
Expand All @@ -113,7 +113,7 @@ Deploy the new version of ks-installer:
```bash
# Notice: ks-installer will automatically migrate the configuration. Do not modify the cluster configuration by yourself.

kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.1/kubesphere-installer.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.0/kubesphere-installer.yaml
```

> Note: If your KubeSphere version is v3.0.0 or eariler, please upgrade to v3.1.x first.
> Note: If your KubeSphere version is v3.1.0 or eariler, please upgrade to v3.2.x first.
14 changes: 7 additions & 7 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ KubeSphere 支持在已有 Kubernetes 集群之上部署 [KubeSphere](https://ku

## 准备工作

1. 确认现有的 `Kubernetes` 版本为 `1.19.x, 1.20.x, 1.21.x, 1.22.x (experimental)`,可以执行 `kubectl version` 来确认 :
1. 确认现有的 `Kubernetes` 版本为 `1.20.x, 1.21.x, 1.22.x, 1.23.x (experimental)`,可以执行 `kubectl version` 来确认 :

```bash
$ kubectl version
Expand Down Expand Up @@ -45,11 +45,11 @@ glusterfs kubernetes.io/glusterfs 3d4h
### 最小化快速部署

```bash
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.1/kubesphere-installer.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.1/cluster-configuration.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.0/kubesphere-installer.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.0/cluster-configuration.yaml

# 查看部署进度及日志
$ kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
$ kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-installer -o jsonpath='{.items[0].metadata.name}') -f
```

部署完成后可执行如下命令查看控制台的服务端口,使用 `IP:consolePort(default: 30880)` 访问 KubeSphere UI 界面,默认的集群管理员账号为 `admin/P@88w0rd`
Expand Down Expand Up @@ -95,7 +95,7 @@ kubectl edit cc ks-installer -n kubesphere-system
> 按功能需求编辑配置文件之后,退出等待生效即可,如长时间未生效请使用如下命令查看相关日志:
```bash
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-installer -o jsonpath='{.items[0].metadata.name}') -f
```

> 如果你正在启用 KubeEdge ,在运行或重启 ks-installer 之前,需要配置集群外网访问地址advertiseAddress,暴露相应的访问端口,更多内容请参考[Kubeedge 指南](https://kubesphere.io/docs/pluggable-components/kubeedge/)
Expand All @@ -113,8 +113,8 @@ kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=
```bash
# 注意: ks-installer会自动迁移cluster-configuration. 请勿自行修改.

kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.1/kubesphere-installer.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.0/kubesphere-installer.yaml
```


> 注意: 如果当前集群中部署的 KubeSphere 版本是 v3.0.0 或更早的版本,请先升级到 v3.1.x。
> 注意: 如果当前集群中部署的 KubeSphere 版本是 v3.1.0 或更早的版本,请先升级到 v3.2.x。
6 changes: 3 additions & 3 deletions deploy/kubesphere-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -273,16 +273,16 @@ metadata:
name: ks-installer
namespace: kubesphere-system
labels:
app: ks-install
app: ks-installer
spec:
replicas: 1
selector:
matchLabels:
app: ks-install
app: ks-installer
template:
metadata:
labels:
app: ks-install
app: ks-installer
spec:
serviceAccountName: ks-installer
containers:
Expand Down
2 changes: 1 addition & 1 deletion docs/IstioUpgradeGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.4.8 sh - && cd istio-1.
2. Get custom setting files from ks-installer

```bash
pod=$(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath={.items[0].metadata.name})
pod=$(kubectl get pod -n kubesphere-system -l app=ks-installer -o jsonpath={.items[0].metadata.name})
kubectl -n kubesphere-system exec $pod cat /etc/kubesphere/istio/custom-values-istio-init.yaml > custom-values-istio-init.yaml
kubectl -n kubesphere-system exec $pod cat /etc/kubesphere/istio/custom-values-istio.yaml > custom-values-istio.yaml
kubectl -n kubesphere-system exec $pod sed -i 's/1.3.3/1.4.8/g' /kubesphere/installer/roles/download/defaults
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_cluster_status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -o pipefail
function check_installer_ok(){
echo "waiting for ks-installer pod ready"
kubectl -n kubesphere-system wait --timeout=180s --for=condition=Available deployment/ks-installer
kubectl -n kubesphere-system wait --timeout=180s --for=condition=Ready $(kubectl -n kubesphere-system get pod -l app=ks-install -oname)
kubectl -n kubesphere-system wait --timeout=180s --for=condition=Ready $(kubectl -n kubesphere-system get pod -l app=ks-installer -oname)
echo "waiting for KubeSphere ready"
while IFS= read -r line; do
echo "$line"
Expand Down

0 comments on commit a45781d

Please sign in to comment.