Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to pass additional args to kubelet when running 'k3s agent' #190

Closed
huaixichen opened this issue Mar 8, 2019 · 5 comments
Closed

how to pass additional args to kubelet when running 'k3s agent' #190

huaixichen opened this issue Mar 8, 2019 · 5 comments
Labels
kind/enhancement An improvement to existing functionality

Comments

@huaixichen
Copy link

any help would be appreciated!

@mmiirroo
Copy link

mmiirroo commented Mar 8, 2019

k3s agent --help?not work?

@huaixichen
Copy link
Author

huaixichen commented Mar 11, 2019

i am looking for a way to specify --pod-infra-container-image of kubelet. it seems no such option in 'k3s agent'

@huaixichen
Copy link
Author

huaixichen commented Mar 11, 2019

well, digging into the codes, it seems no initialization of 'ExtraKubeletArgs' and 'ExtraKubeProxyArgs' in 'Agent' structure.

type Agent struct {
	NodeName           string
	ClusterCIDR        net.IPNet
	ClusterDNS         net.IP
	RootDir            string
	KubeConfig         string
	NodeIP             string
	RuntimeSocket      string
	ListenAddress      string
	CACertPath         string
	CNIBinDir          string
	CNIConfDir         string
	ExtraKubeletArgs   []string
	ExtraKubeProxyArgs []string
}

that is basically the mechanism i would like to use...

@erikwilson erikwilson added the kind/enhancement An improvement to existing functionality label Mar 25, 2019
@uablrek
Copy link

uablrek commented Apr 9, 2019

See PR #309

@brandond
Copy link
Member

brandond commented Dec 5, 2020

Fixed by #309

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement An improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

5 participants