aylei / aylei/kubectl-debug

parse namespace error

Open
#148 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.3k
Forks
303
PR merge metrics
No merged PRs in 30d

Description

there will be error when namespace contains character "-"
eg:
# kubectl debug xxx -n sh3-abc
# cannot create resource "pods" in API group "" in the namespace "default"

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the kubectl debug command with a namespace containing a hyphen, such as `sh3-abc`, and compare it with a namespace without one. Trace how the namespace argument reaches resource creation; done means the command targets the supplied namespace rather than default. The repository notes that it is no longer maintained and points to another project.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.