kubesphere / kubesphere/kubekey

kk create config from cluster reports error - kube-proxy not found

Open
#565 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.9k
Forks
834
Avg merge
1d 5h
Merged PRs (30d)
31

Description

I have an existing kubernetes cluster that was not installed by kk:
- k8s version 1.20.4
- cilium 1.9.4 enabled
- no kube-proxy enabled

when I create kk config from it, I got an error like as following:

```bash
root@node0:~# kk create config --from-cluster -f ubtk8s.yaml --kubeconfig ./config
Error: configmaps "kube-proxy" not found
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start from the `kk create config --from-cluster` command and trace the handling of the `kube-proxy` ConfigMap reported in the error. Reproduce against a Kubernetes 1.20.4 cluster using Cilium without kube-proxy, then verify that configuration generation completes successfully without requiring that ConfigMap.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.