Nilekh Chaudhari
91a7708cdc
feat: implements Storage Version Migration API in-tree
...
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2024-03-08 04:18:56 +00:00
Kubernetes Prow Robot
efadb94a74
Merge pull request #120259 from SataQiu/clean-apf-20230830
...
apf: remove v1alpha1 API
2023-08-31 19:44:42 -07:00
Quan Tian
2b69daa960
Allow specifying ExternalTrafficPolicy for ClusterIP Services with ExternalIPs
...
When defining a ClusterIP Service, we can specify externalIP, and the
traffic policy of externalIP is subject to externalTrafficPolicy.
However, the policy can't be set when type is not NodePort or
LoadBalancer, and will default to Cluster when kube-proxy processes the
Service.
This commit updates the defaulting and validation of Service to allow
specifying ExternalTrafficPolicy for ClusterIP Services with
ExternalIPs.
Signed-off-by: Quan Tian <qtian@vmware.com>
2023-08-30 23:56:47 +08:00
SataQiu
2825519da2
apf: remove v1alpha1 API
2023-08-30 20:48:42 +08:00
Kubernetes Prow Robot
7da3893003
Merge pull request #117102 from ardaguclu/move-genericiooptions
...
Move genericclioptions.IOStreams to genericiooptions.IOStreams
2023-04-11 20:21:17 -07:00
gxwilkerson33
5da386745a
Kubectl convert - warn users with NotRegisteredError and Fail on all other errors ( #117002 )
...
* Convert file but warn user with impossible conversions
* Only continuing for NotRegisteredErrors. Using iostreams for warning user instead of stdError
* Formatting, correct tests to use valid DNS-1035.
2023-04-11 19:17:53 -07:00
Arda Güçlü
b4e4db336f
More migrations from genericclioptions to genericiooptions
2023-04-05 17:05:23 +03:00
Arda Güçlü
c3497b30ac
More migrations from genericclioptions to genericiooptions
2023-04-05 15:03:09 +03:00
Patrick Ohly
29941b8d3e
api: resource.k8s.io v1alpha1 -> v1alpha2
...
For Kubernetes 1.27, we intend to make some breaking API changes:
- rename PodScheduling -> PodSchedulingHints (https://github.com/kubernetes/kubernetes/issues/114283 )
- extend ResourceClaimStatus (https://github.com/kubernetes/enhancements/pull/3802 )
We need to switch from v1alpha1 to v1alpha2 for that.
2023-03-14 07:52:03 +01:00
Sean Sullivan
5e8648b9f1
Refactor to simplify factory Validator
2022-12-11 18:20:28 -08:00
Patrick Ohly
5cca60f0b8
api: dynamic resource allocation API
...
This adds a new resource.k8s.io API group with v1alpha1 as version. It contains
four new types: resource.ResourceClaim, resource.ResourceClass, resource.ResourceClaimTemplate, and
resource.PodScheduling.
2022-11-10 20:08:24 +01:00
SataQiu
8a42e73540
fix the bug that kubectl convert does not pick the right api version
2022-09-23 17:14:32 +08:00
cndoit18
ec43037d0f
style: remove redundant judgment
...
Signed-off-by: cndoit18 <cndoit18@outlook.com>
2022-08-25 12:07:36 +08:00
Kevin Delgado
fe3772890f
add server-side validation support to kubectl
2022-03-26 03:45:13 +00:00
Eddie Zaneski
040d575e9f
Update sig-cli OWNERS
...
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2022-02-14 10:55:35 -07:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:26 -05:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
wzshiming
df9a7797bb
kubectl-convert import known versions
2021-01-12 19:04:50 +08:00
Maciej Szulik
523854a0e2
Generated changes
2020-11-06 12:04:39 +01:00
Maciej Szulik
9b8247e5dd
Move the remaining kubectl bits to k8s.io/kubectl
2020-11-06 12:04:39 +01:00
Maciej Szulik
2e74df97a4
Introduce kubectl-convert plugin
2020-11-06 12:04:36 +01:00
Lee Verberne
30262e9b14
Remove alpha from kubectl debug
2020-11-04 17:45:28 +01:00
Jan Chaloupka
d3726b91e2
Move pkg/kubectl/cmd/auth under staging/src/k8s.io/kubectl/pkg/cmd/auth
2020-11-03 15:34:28 +01:00
Kubernetes Prow Robot
f0dfa55de5
Merge pull request #90675 from bamarni/kubectl-config-delete-context-completion
...
Enable completion for `kubectl config delete-context`
2020-11-02 20:24:14 -08:00
Kubernetes Prow Robot
3c2da35b2a
Merge pull request #96019 from rikatz/96017
...
Kubectl - flush profiling when interrupting a long running command
2020-11-02 16:16:28 -08:00
Jan Chaloupka
a5920f7edb
Move helpers from pkg/registry/rbac/reconciliation and pkg/registry/rbac/validation under k8s.io/component-helpers
2020-11-02 17:51:16 +01:00
Ricardo Pchevuzinske Katz
912d9673cb
kubectl flush profiling when get a sigterm
...
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2020-10-29 17:15:12 -03:00
Kubernetes Prow Robot
5937e7eef7
Merge pull request #92343 from knight42/fix/flags-before-plugin
...
fix(kubectl): print error if users place flags before plugin name
2020-10-28 20:30:58 -07:00
Troy Connor
782b943987
[auth]Check verbs for nonresourceurls and resources
2020-10-12 13:58:45 -04:00
David Eads
c0c033b12f
generated
2020-09-14 09:24:41 -04:00
David Eads
c7911a384c
remove pod presets
2020-09-14 09:24:40 -04:00
Bilal Amarni
81867fd1d9
Enable completion for kubectl config delete-context
...
This enables shell completion for `delete-context`, which will suggest
context names, similarly to the `use-context` and `rename-context`
subcommands.
2020-08-10 16:24:36 +02:00
knight42
7a2e5af11d
fix(kubectl): warn users that flags cannot be placed before plugin
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-07-22 20:34:31 +08:00
knight42
1b32dfdafd
refactor: move kubectl-cp to staging
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-06-16 11:53:22 +08:00
Kubernetes Prow Robot
0535c11381
Merge pull request #90789 from hezhizhen/kubectl_cp
...
Refine extractFileSpec
2020-06-15 08:09:56 -07:00
Jordan Liggitt
df6608dc99
Generated files
2020-06-11 16:04:19 -04:00
Jordan Liggitt
0d674c4edb
cmd: silence warnings in kube-controller-manager/kube-apiserver, dedupe/color warnings in kubectl
2020-06-11 16:04:19 -04:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
hezhizhen
1c84efe0c7
Refine extractFileSpec
2020-05-15 10:18:52 +08:00
Aaron Crickenberger
c05629eac4
empty forbiddenPrefixes is same as not being there at all
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
81881e4a12
prune .import-restrictions
...
specifically:
- cmd/kubeadm/.import-restrictions
- we don't need to explicitly allow k8s.io repos (external or published)
- rm pkg/controller/.import-restrictions
- pkg/client/unversioned was removed in 59042
- pkg/kubectl/.import-restrictions
- pkg/printers is no longer used
- pkg/api was masking all of the pkg/apis prefixes
- rm staging/src/k8s.io/code-generator/cmd/lister-gen/.import-restrictions
- noop / empty file
- test/e2e/framework/.import-restrictions
- we don't need to explicitly allow k8s.io repos (external or published)
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
f306a0dbb4
convert .import-restrictions to yaml
...
yaml has comments, so we can explain why we have certain rules or
certain prefixes
for those files that weren't already commented yaml, I converted them to
yaml and took a best guess at comments based on the PRs that introduced
or updated them
2020-04-28 08:41:36 -07:00
Maciej Szulik
02cd65d7bb
Squash pkg/describe/versioned/ into pkg/describe/
2020-03-03 19:20:06 +01:00
Kubernetes Prow Robot
641616362d
Merge pull request #88133 from julianvmodesto/dry-run-tests
...
Cleanup --dry-run values in tests, docs, and scripts
2020-02-27 11:33:42 -08:00
Julian V. Modesto
d97169f59a
Clean up --dry-run values.
...
- Clean up --dry-run values in tests, docs, and scripts
- Fix --dry-run for auth reconcile and add a test
2020-02-15 00:43:30 -05:00
Julian V. Modesto
932500c015
Remove deprecated rolling-update command
2020-02-13 23:52:53 -05:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Troy Connor
314b6cb32b
[auth]Change example in can-i to apps instead of extensions
2019-12-13 13:36:48 -05:00