ks-installer icon indicating copy to clipboard operation
ks-installer copied to clipboard

kubesphere不前还不能在Kubernetes v1.26.x下安装吗?

Open andy5920 opened this issue 1 year ago • 2 comments

如题

TASK [ks-core/ks-core : KubeSphere | Importing ks-core status] *****************
FAILED - RETRYING: KubeSphere | Importing ks-core status (5 retries left).
FAILED - RETRYING: KubeSphere | Importing ks-core status (4 retries left).
FAILED - RETRYING: KubeSphere | Importing ks-core status (3 retries left).
FAILED - RETRYING: KubeSphere | Importing ks-core status (2 retries left).
FAILED - RETRYING: KubeSphere | Importing ks-core status (1 retries left).
fatal: [localhost]: FAILED! => {"attempts": 5, "changed": true, "cmd": "/usr/local/bin/kubectl patch cc ks-installer --type merge -p '{\"status\": {\"core\": {\"status\": \"enabled\", \"enabledTime\": \"2023-03-26T16:46:25CST\"}}}' -n kubesphere-system\n", "delta": "0:00:00.143646", "end": "2023-03-26 16:46:47.617746", "failed_when_result": true, "msg": "non-zero return code", "rc": 1, "start": "2023-03-26 16:46:47.474100", "stderr": "Error from server (NotFound): clustercidrs.networking.k8s.io \"ks-installer\" not found", "stderr_lines": ["Error from server (NotFound): clustercidrs.networking.k8s.io \"ks-installer\" not found"], "stdout": "", "stdout_lines": []}

PLAY RECAP *********************************************************************
localhost                  : ok=23   changed=16   unreachable=0    failed=1    skipped=11   rescued=0    ignored=0

也无法完成登录操作

  --> GET /login?referer=/password/confirm 200 7ms 17.73kb 2023/03/26T17:04:56.327
  <-- POST /login 2023/03/26T17:05:01.444
  --> POST /login 302 99ms 65b 2023/03/26T17:05:01.543
  <-- GET /password/confirm 2023/03/26T17:05:01.551
{
  code: 403,
  kind: 'Status',
  apiVersion: 'v1',
  metadata: {},
  status: 'Failure',
  message: 'users.iam.kubesphere.io "admin" is forbidden: User "admin" cannot get resource "users" in API group "iam.kubesphere.io" at the cluster scope',
  reason: 'Forbidden',
  details: { name: 'admin', group: 'iam.kubesphere.io', kind: 'users' },
  statusText: 'Forbidden'
  --> GET /password/confirm 302 28ms 95b 2023/03/26T17:05:01.579
}
  <-- GET /login?referer=/password/confirm 2023/03/26T17:05:01.588
  --> GET /login?referer=/password/confirm 200 8ms 17.73kb 2023/03/26T17:05:01.596
  <-- GET /login?referer=/password/confirm 2023/03/26T17:05:01.620
  --> GET /login?referer=/password/confirm 200 8ms 17.73kb 2023/03/26T17:05:01.627

andy5920 avatar Mar 26 '23 09:03 andy5920

image image

ks-installer is trying to apply patch using "cc" however it is conflicting with "clustercidrs". Instead of using "cc", is it possible to use "ClusterConfiguration" ?

kahramanakyil avatar Mar 17 '24 19:03 kahramanakyil

谢谢,后面就没再继续偿试了

kahramanakyil @.***> 于2024年3月18日周一 03:39写道:

image.png (view on web) https://github.com/kubesphere/ks-installer/assets/9756639/2bda2409-0f16-4882-9586-c9e06c486cdd image.png (view on web) https://github.com/kubesphere/ks-installer/assets/9756639/86868859-ae27-4c46-aea7-26cd8abf98a3

ks-installer is trying to apply patch using "cc" however it is conflicting with "clustercidrs". Instead of using "cc", is it possible to use "ClusterConfiguration" ?

— Reply to this email directly, view it on GitHub https://github.com/kubesphere/ks-installer/issues/2185#issuecomment-2002592337, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJBSAOW6BEIAHLT42N5UVTYYXWNHAVCNFSM6AAAAAAWICKALWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGU4TEMZTG4 . You are receiving this because you authored the thread.Message ID: @.***>

andy5920 avatar Mar 20 '24 07:03 andy5920