Comments (8)
This issue is currently awaiting triage.
If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from kubernetes.
This is definitely a kubectl issue
/transfer kubectl
from kubernetes.
Oops, I didn't see that the kubectl maintainers requested tracking it elsewhere.
/transfer kubernetes
from kubernetes.
/sig architecture
I guess
from kubernetes.
Are we sure that kubectl
couldn't, on its own, first deprecate and then drop support for kubectl get all
? Perhaps with some special-case handling?
from kubernetes.
/retitle Finish removing kubectl get all
from kubernetes.
@brianpursley and @ardaguclu have said in kubernetes/kubectl#1584 that this is not possible in kubectl, so I will leave it to them to describe the rationale.
from kubernetes.
Please, if people haven't already, read the original issue discussion for important context that answers many of the questions being asked.
That issue in k/kubectl was opened a long time ago, and since then (in part due to the issue), kubectl help and docs have been improved, to remove mention of kubectl get all
as something that should be used, so it is not like nothing has been done at all from SIG-CLI's side. It's just that this problem is larger than just kubectl.
Are we sure that kubectl couldn't, on its own, first deprecate and then drop support for kubectl get all? Perhaps with some special-case handling?
It's not about kubectl "supporting" kubectl get all
... the word "all" is an argument supplied by the user, not a keyword in kubectl. Yes, technically code could be written to detect this argument and block it, but I think it would be unprecedented for kubectl to do something like that, given that "all" is a category that exists in the API.
Besides, the "all" category is visible when you do kubectl api-resources
, so it is more that just kubectl get
that acknowledges the existence of a category called "all":
~ $ kubectl api-resources --categories=all -o wide
NAME SHORTNAMES APIVERSION NAMESPACED KIND VERBS CATEGORIES
pods po v1 true Pod create,delete,deletecollection,get,list,patch,update,watch all
replicationcontrollers rc v1 true ReplicationController create,delete,deletecollection,get,list,patch,update,watch all
services svc v1 true Service create,delete,deletecollection,get,list,patch,update,watch all
daemonsets ds apps/v1 true DaemonSet create,delete,deletecollection,get,list,patch,update,watch all
deployments deploy apps/v1 true Deployment create,delete,deletecollection,get,list,patch,update,watch all
replicasets rs apps/v1 true ReplicaSet create,delete,deletecollection,get,list,patch,update,watch all
statefulsets sts apps/v1 true StatefulSet create,delete,deletecollection,get,list,patch,update,watch all
horizontalpodautoscalers hpa autoscaling/v2 true HorizontalPodAutoscaler create,delete,deletecollection,get,list,patch,update,watch all
cronjobs cj batch/v1 true CronJob create,delete,deletecollection,get,list,patch,update,watch all
jobs batch/v1 true Job create,delete,deletecollection,get,list,patch,update,watch all
Regardless, kubectl isn't the only tool that interacts with the API, so any deprecation or removal, if it is decided to do that, should occur at the API level.
from kubernetes.
Related Issues (20)
- --hostname-override flag on kubelet is no longer used for Addresses.Hostname value in Kubernetes 1.29 HOT 7
- Remove `MinDomainsInPodTopologySpread` feature gate HOT 1
- [Flake] [sig-cli] Kubectl client Simple pod should return command exit codes should support port-forward HOT 3
- RFE Optional CronJob Parameter: Auto-Suspend Kubernetes CronJob After Specified Number of Successful Executions HOT 7
- TestRoundTrip is flaky HOT 9
- [flaky test] k8s.io/kubernetes/test/integration/controlplane: transformation HOT 2
- Failure cluster [ea667941...] `cos-97-lts` AWOL from `cos-cloud` causing a lot of CI jobs to fail since 4/16 HOT 7
- Wishlist of CEL libraries HOT 14
- K8s error message: unexpected error getting claim reference: selfLink was empty, can't make reference HOT 4
- The APIServer health check failed. As a result, the APIServer automatically exits and APIServer unavailable. HOT 5
- PersistentVolumeLabel admission blocks PVs on Azure + vSphere HOT 3
- [sig-api-machinery] webhook related test HOT 4
- kubelet and containerd in endless loop for CreateContainer with unexpected media type octet-stream HOT 7
- Some high-quality literature reading is required HOT 4
- PersistentVolumeLabel admission plugin provides wrong Azure region HOT 10
- Flaky UT TestStatefulSetControl/CreatePodFailure/Burst/ScaleDownOnly/StatefulSetAutoDeletePVCEnabled HOT 2
- The generic apiserver version skew is broken in 1.29 HOT 9
- A library function to calculate Pod resource utilization HOT 13
- 1.30 adds tags that break `imagePullSecrets` HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes.