kubernetes / kubernetes/kubernetes

clientset interface functions deprecated

Open
#44,263 10 comments 0 reactions 0 assignees View on GitHub
kind/cleanup lifecycle/frozen sig/api-machinery
Dominant language
Go
Stars
128k
Forks
44.3k
Avg merge
5d 17h
Merged PRs (30d)
208

Description

Since we mark functions of clientset interface such as Core(), Autoscaling().... as deprecated, should we change all the calling of Core() to specific version like CoreV1() ... ?

https://github.com/kubernetes/kubernetes/blob/master/pkg/client/clientset_generated/clientset/clientset.go

Contributor guide

Open the contributing guide

Research direction

Start by reading pkg/client/clientset_generated/clientset/clientset.go and review the deprecated Core(), Autoscaling(), and related interface functions. Search the repository for calls to those functions and determine whether each should use a specific versioned accessor such as CoreV1(). Done means the applicable callers consistently use version-specific functions and the relevant checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.