kubesphere / kubesphere/website

Error in kubesphere code running in Windows

Open
#1,697 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
SCSS
Stars
97
Forks
418
PR merge metrics
No merged PRs in 30d

Description

1 modify configuration

H:/kubesphere/pkg/apiserver/config/config.go

```

//defaultConfigurationPath = "/etc/kubesphere"

defaultConfigurationPath = "H:/kubesphere/appconf"

```

2. Create a new H / kubesphere / appconf and put the configuration files kubeconfig.yaml and kubesphere.yaml into the directory

![ image]( https://user-images.githubusercontent.com/29632844/121345177-211fc500-c957-11eb-8062-76e76a5cf3b8.png )

![ image]( https://user-images.githubusercontent.com/29632844/121345217-2a109680-c957-11eb-8da9-8b912836fac3.png )

3. Add apiserver configuration

Add kubeconfig configuration file

```

kubernetes:

kubeconfig: H:/kubesphere/appconf/kubeconfig.yaml

```

4.kubectl proxy --address='192.168.23.24' --disable-filter=true

(it has been turned on, so it doesn't need to be turned on again)

Turn on the proxy mode and listen to 8001 by default

--Address: listening port

--Disable filter: allows external access

5. To configure kubesphere, I use idea, and the startup is always blocked. Call the URL repeatedly.

![ image]( https://user-images.githubusercontent.com/29632844/121345495-82479880-c957-11eb-969f-43a03657466c.png )

![ image]( https://user-images.githubusercontent.com/29632844/121345535-8e335a80-c957-11eb-96c5-ee2a54e712ee.png )
![image](https://user-images.githubusercontent.com/29632844/121345836-ec603d80-c957-11eb-9733-c12fe78fa8d5.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with kubesphere/pkg/apiserver/config/config.go and the Windows configuration described in the issue, including kubeconfig.yaml and kubesphere.yaml. Reproduce the apiserver startup with kubectl proxy and the listed Kubernetes configuration, then investigate why startup remains blocked. Done means KubeSphere starts successfully on Windows without repeatedly calling the URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.