kubectl/pkg/util
Brian Pursley 70109f0921 Prefer pods without a deletion timestamp over pods with a deletion timestamp when getting an ordered list of active pods.
This allows commands like kubectl port-forward, when used with deployments, to avoid selecting a pod that is terminating (due to a rollout, for example).

Kubernetes-commit: d281daee335dc3b2aa67fb3128f00d7d2f5f7d91
2023-07-18 08:31:37 -04:00
..
certificate Add v1 CSR support to kubectl describe 2020-06-04 12:05:51 -04:00
completion Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
deployment cli: replace intstr.FromInt with intstr.FromInt32 2023-03-14 16:17:48 +01:00
event Move pkg/kubectl/util/event into staging 2019-06-19 15:31:51 -07:00
fieldpath Fix quotes that trip up gofmt 2022-07-22 09:19:47 -04:00
hash Immutable field and validation 2019-11-26 13:29:26 +01:00
i18n Update the template.pot file with latest message IDs. 2023-06-27 12:10:46 -04:00
interrupt Moved pkg/kubectl/util/term, pkg/kubectl/util/templates, pkg/kubectl/util/interrupt, and pkg/kubectl/util/interrupt to staging 2019-06-19 16:31:38 +02:00
openapi Update gnostic references 2023-06-01 18:25:39 +00:00
podutils Prefer pods without a deletion timestamp over pods with a deletion timestamp when getting an ordered list of active pods. 2023-07-18 08:31:37 -04:00
prune kubectl-apply: add prune test cases for non-namespaced resources 2022-11-09 07:43:43 +08:00
qos small comment the ephemeral containers are not accounted for the QoS calculation 2023-02-02 18:21:39 +00:00
rbac When combining PolicyRules, don't duplicate verbs 2020-05-18 15:20:06 -04:00
resource Downward API hugepages 2020-11-06 14:22:53 -05:00
slice kubectl apply: Deprecate --prune-whitelist in favor of --prune-allowlist 2022-10-30 20:50:19 -04:00
storage add unit test for /staging/src/k8s.io/kubectl/pkg/util/storage 2022-07-29 17:34:00 +08:00
templates Optimize usage message of commands which have subcommands. 2023-05-10 18:10:28 +08:00
term Generate and format files 2022-07-19 20:54:13 -04:00
apply.go Move pkg/kubectl/apply.go to staging 2019-07-24 20:40:25 -07:00
pod_port.go Move pkg/kubectl/util to staging 2019-07-24 11:59:28 -07:00
pod_port_test.go Move pkg/kubectl/util to staging 2019-07-24 11:59:28 -07:00
service_port.go Move pkg/kubectl/util to staging 2019-07-24 11:59:28 -07:00
service_port_test.go cli: replace intstr.FromInt with intstr.FromInt32 2023-03-14 16:17:48 +01:00
umask.go generated: Run hack/update-gofmt.sh 2021-08-12 17:13:11 -04:00
umask_windows.go generated: Run hack/update-gofmt.sh 2021-08-12 17:13:11 -04:00
util.go Generate and format files 2022-07-19 20:54:13 -04:00
util_test.go Move pkg/kubectl/util to staging 2019-07-24 11:59:28 -07:00