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

Allow to configure possible options for k8s client #553

Closed
raliev12 opened this issue May 27, 2021 · 1 comment
Closed

Allow to configure possible options for k8s client #553

raliev12 opened this issue May 27, 2021 · 1 comment
Labels
enhancement New feature or request triage Needs evaluation by project members

Comments

@raliev12
Copy link
Contributor

Problem description (if applicable)
As of now, k8s client is only allow to configure kubeconfig path and context to build a client Interface:

func FactoryFromKubeConfig(path, context string) cmdutil.Factory {

However, the are multiple fields that could be configured and used:

https://github.com/kubernetes/client-go/blob/v9.0.0/rest/config.go#L51

Particularly, the most important for us now is Timeout, which could be utilized at least to solve two issues:

Proposed change
Add possibility to configure desired options for k8s client.

Potential impacts
None.

@raliev12 raliev12 added enhancement New feature or request triage Needs evaluation by project members labels May 27, 2021
@airshipbot
Copy link

airshipbot commented May 27, 2021

Related Change #793426

Subject: Allow to configure timeout for k8s client
Link: https://review.opendev.org/c/airship/airshipctl/+/793426
Status: NEW
Owner: Ruslan Aliev (raliev@mirantis.com)

This change will close this issue when merged.

Approvals

Code-Review
! None
Verified
+1 Zuul
Workflow
! None

Last Updated: 2021-05-28 01:19:57 CDT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage Needs evaluation by project members
Projects
None yet
Development

No branches or pull requests

2 participants