操作系统信息:
国产操作系统:Kylin Linux Advanced Server release V10 36C/62G 采用arm架构
Kubernetes版本信息:
Client Version: version.Info{Major:“1”, Minor:“20”, GitVersion:“v1.20.4”, GitCommit:“e87da0bd6e03ec3fea7933c4b5263d151aafd07c”, GitTreeState:“clean”, BuildDate:“2021-02-18T16:12:00Z”, GoVersion:“go1.15.8”, Compiler:“gc”, Platform:“linux/arm64”}
Server Version: version.Info{Major:“1”, Minor:“20”, GitVersion:“v1.20.4”, GitCommit:“e87da0bd6e03ec3fea7933c4b5263d151aafd07c”, GitTreeState:“clean”, BuildDate:“2021-02-18T16:03:00Z”, GoVersion:“go1.15.8”, Compiler:“gc”, Platform:“linux/arm64”}
容器运行时
将 docker version
结果贴在下方
Client: Docker Engine - Community
Version: 19.03.9
API version: 1.40
Go version: go1.13.10
Git commit: 9d98839
Built: Fri May 15 00:22:31 2020
OS/Arch: linux/arm64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.9
API version: 1.40 (minimum version 1.12)
Go version: go1.13.10
Git commit: 9d98839
Built: Fri May 15 00:26:36 2020
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: v1.2.13
GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
KubeSphere版本信息
v3.3.0。使用kk进行在线安装。
问题是什么
kubepshere的ks-console服务异常
pod信息:
# kubectl get pod -n kubesphere-system
NAME READY STATUS RESTARTS AGE
ks-apiserver-76dcc6489f-97bp7 1/1 Running 0 22h
ks-console-6c86fdfb57-qct6j 0/1 CrashLoopBackOff 40 3h25m
ks-controller-manager-6ccc644c48-j85nn 1/1 Running 0 22h
ks-installer-57d7fd8859-sdjxr 1/1 Running 0 3h44m
minio-5bcb55cb94-v5zvx 1/1 Running 0 3h52m
openldap-0 1/1 Running 1 4h32m
ks-console报错日志:
# kubectl logs ks-console-6c86fdfb57-qct6j -n kubesphere-system
<— Last few GCs —>
<— JS stacktrace —>
#
# Fatal process OOM in insufficient memory to create an Isolate
#
ks-installer日志:
# kubectl logs ks-installer-57d7fd8859-sdjxr -n kubesphere-system
….
TASK [ks-core/prepare : KubeSphere | Getting installation init files] **********
changed: [localhost] => (item=ks-init)
TASK [ks-core/prepare : KubeSphere | Initing KubeSphere] ***********************
changed: [localhost] => (item=role-templates.yaml)
TASK [ks-core/prepare : KubeSphere | Generating kubeconfig-admin] **************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=26 changed=19 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0
Start installing monitoring
Start installing multicluster
Start installing openpitrix
Start installing network
Start installing devops
**************************************************
Waiting for all tasks to be completed …
task network status is successful (⅕)
task openpitrix status is successful (⅖)
task multicluster status is successful (⅗)
task monitoring status is successful (⅘)
task devops status is successful (5/5)
**************************************************
Collecting installation results …
Failed to ansible-playbook result-info.yaml