kubernetes / kubernetes/kubectl

chose address family on kubectl command line?

Open
#1,430 12 comments 0 reactions 0 assignees View on GitHub
kind/feature lifecycle/rotten needs-triage
Dominant language
Go
Stars
3.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to add options "-4" and "-6" (or similar) to select the address family on the kubectl command line? This would be helpful for colleagues in home office with a broken network configuration, for badly configured VPN connections, etc.

Contributor guide

Open the contributing guide

Research direction

Start at kubectl's command-line entry point and trace how connection address families are selected. Review existing flag handling and networking tests, then verify that the requested IPv4 and IPv6 options consistently select the intended address family.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cli, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.