Kubernetes Publisher
49b701f670
Merge pull request #98431 from wawa0210/fix-98253
...
fix kubectl alpha debug node does not work on tainted(NoExecute) nodes
Kubernetes-commit: 1affd894cf5357559d64d6da7857b63ed760d3be
2021-07-07 06:18:00 +00:00
Kubernetes Publisher
718c271c44
Merge pull request #103292 from verb/1.22-kubectl-debug-compat
...
Add backwards compatibility for ephemeral containers in kubectl debug
Kubernetes-commit: 6fc7dd5137956b93843a8cb459e106719e237a57
2021-07-06 22:18:57 +00:00
atiratree
9a63531dee
update translations
...
Kubernetes-commit: 33e6ebc8f8df47864a77c867d78216adb70cd79d
2021-07-06 20:43:49 +02:00
Kubernetes Publisher
6950d568bc
Merge pull request #102155 from lauchokyip/addTop
...
Added field-selector option for kubectl top pod
Kubernetes-commit: 7d9f4763376e20c9f1e8b930b8f82e6912628799
2021-07-06 18:13:24 +00:00
Kubernetes Publisher
44fa123c77
Merge pull request #102072 from atiratree/i18n
...
cleanup translations and fix update-translations.sh
Kubernetes-commit: 1726371f8dbf8f9ac04c1b8f20c8f53c09ce7af9
2021-07-06 04:34:18 -07:00
caodonghui
b709633a6c
update url
...
Kubernetes-commit: a2c1b284da29ec07eaf6a0403d75cf9d881d45b8
2021-07-06 14:55:38 +08:00
novahe
95ce5a060b
remove stack trace log when sorting with a bad unsortable field
...
Kubernetes-commit: abf735daa83f1d931614292664c2df1c6735aebb
2021-07-03 21:34:41 +08:00
pacoxu
fe902d05f0
upgrade google.golang.org/api to v0.45.0
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Kubernetes-commit: 2926b4572e687a761fe09a4dad2ee3579d330329
2021-07-02 11:34:32 +08:00
paco
e4275aebd0
upgrade github.com/prometheus/common to v0.28.0
...
Kubernetes-commit: 18d583653c67dbfafc9c5b09d9d6189705fdde85
2021-07-07 16:22:05 +08:00
Natasha Sarkar
d8e34ed621
Upgrade kustomize-in-kubectl to v4.2.0
...
Kubernetes-commit: 6d4096cc69a8980f638a8aa3526207f8e3bf06cc
2021-07-01 17:10:47 -07:00
Natasha Sarkar
b29f07c93e
Manually update kustomize attachment points.
...
Kubernetes-commit: a46b42a92b87c04f22c77df6d57149ad34b0ee6d
2021-07-01 17:10:28 -07:00
Lee Verberne
7b8558da71
Add backwards compatibility for kubectl debug
...
The ephemeral containers API changed in 1.22. As a result, kubectl
debug (currently) cannot create ephemeral containers in clusters prior
to 1.22.
This change causes kubectl to retry the request using the old API when
it receives a specific error message from the server.
Kubernetes-commit: 06124c1d1c68ec4a30406bf585df2ec83231cb65
2021-06-28 18:19:50 +02:00
yuzhiquan
160799c289
add deprecated message for igonre-errors flag, and fix unsafety http link
...
Kubernetes-commit: 0a38b2804d9b665627bc1bf899d711ba4adfa1b0
2021-06-08 10:49:23 +08:00
atiratree
1c26c91ee7
kubectl: show consistent unit format in quota describe
...
API returns unit format in a non deterministic manner; ie it
chooses a unit format according to a resource that gets counted first
Kubernetes-commit: 3f0b64ec9597488be6365f89cc82338bcb7a9feb
2021-05-20 15:36:04 +02:00
Chok Yip Lau
03baccf059
Added field-selector option for kubectl top pod
...
Kubernetes-commit: 1331c76aa3d7e5db730dc008b2ee94173ca51293
2021-05-19 15:54:39 -04:00
atiratree
9fd6965f54
update translations
...
- update template.pot
- reformat .po files
- regenerate .mo files
- regenarate and mark obsolete translations
- remove obsolete default/english translations
Kubernetes-commit: 194ed1408dd75ab2765d1b884128c3b7bf7c6823
2021-05-17 15:40:46 +02:00
atiratree
868d0f1252
fix update-translations.sh
...
Kubernetes-commit: 079d8aeb1e47f8907aa6d3760424047dccfc8279
2021-05-17 15:37:36 +02:00
Kubernetes Publisher
91d1990592
Merge pull request #101296 from Miciah/fix-RollingUpdateDaemonSet-godoc-regarding-rounding
...
Fix RollingUpdateDaemonSet godoc regarding rounding
Kubernetes-commit: 687f0aa35b3d703cd30ecf053a8271b23cabc732
2021-07-05 10:13:16 +00:00
Kubernetes Publisher
3b7af6cd57
Merge pull request #101074 from verb/1.22-kubectl-target-warning
...
Warn user for runtime support of debug targeting
Kubernetes-commit: c246b03d74acf2c420611991e692248e04fc02a8
2021-07-02 22:12:27 +00:00
Kubernetes Publisher
920cc30542
Merge pull request #99494 from enj/enj/i/not_after_ttl_hint
...
csr: add expirationSeconds field to control cert lifetime
Kubernetes-commit: 659c7e709f3b7f5f2a25e456525cd8747f2e68cc
2021-07-02 10:16:28 +00:00
Kubernetes Publisher
08564af8a9
Merge pull request #103218 from dashpole/otel_clientgo
...
Add tracing to apiserver client-go requests
Kubernetes-commit: df95052de3c5036e6653eca26e38dc9e79d25455
2021-07-02 06:12:14 +00:00
Kubernetes Publisher
ec7ba8a519
Merge pull request #103176 from CaoDonghui123/updatemod
...
Update golang.org/x/net
Kubernetes-commit: c14017b270d21e6a7e79c0b8872a580f43a67220
2021-07-01 06:18:35 +00:00
Kubernetes Publisher
b83b2ec7d1
Merge pull request #103318 from jpbetz/fix-102749
...
Bump SMD to v4.1.2 to pick up #102749 fix
Kubernetes-commit: 0dad7d1c47c41f232b21cdd5c21be6683e545e9d
2021-06-30 22:19:56 +00:00
Kubernetes Publisher
9017859ece
Merge pull request #99829 from palnabarun/migrate-to-go-embed
...
Replace go-bindata with //go:embed
Kubernetes-commit: 044fd6fdf6a859683b291898f87433115e1ec3c0
2021-06-30 18:12:50 +00:00
Joe Betz
9c7a7bccd7
Bump SMD to v4.1.2 to pick up #102749 fix
...
Kubernetes-commit: b790cf388ce1fce140c80bb0f7f9669288408b7a
2021-06-29 19:33:00 -07:00
Kubernetes Publisher
1f432728ff
Merge pull request #102028 from chrishenzie/read-write-once-pod-access-mode
...
ReadWriteOncePod access mode for PVs and PVCs
Kubernetes-commit: 01819dd322855915e0477dcad3b922d66bec9878
2021-06-29 20:13:13 +00:00
David Ashpole
c0d8cf79a8
add tracing to the apiserver's client-go requests
...
Kubernetes-commit: 79d400c4416f903af604fb2cf07d2c34bb4b98f7
2021-06-26 09:16:32 -07:00
Monis Khan
82734c256a
csr: add expirationSeconds field to control cert lifetime
...
This change updates the CSR API to add a new, optional field called
expirationSeconds. This field is a request to the signer for the
maximum duration the client wishes the cert to have. The signer is
free to ignore this request based on its own internal policy. The
signers built-in to KCM will honor this field if it is not set to a
value greater than --cluster-signing-duration. The minimum allowed
value for this field is 600 seconds (ten minutes).
This change will help enforce safer durations for certificates in
the Kube ecosystem and will help related projects such as
cert-manager with their migration to the Kube CSR API.
Future enhancements may update the Kubelet to take advantage of this
field when it is configured in a way that can tolerate shorter
certificate lifespans with regular rotation.
Signed-off-by: Monis Khan <mok@vmware.com>
Kubernetes-commit: cd91e59f7c351fce47c064a5162c2cb79075159c
2021-06-25 22:08:10 -04:00
caodonghui
9571900cb4
Update golang.org/x/net to v0.0.0-20210520170846-37e1c6afe023
...
Kubernetes-commit: c1d5a3a99e120281c618d6573d7b424138dfb5a9
2021-06-25 15:25:52 +08:00
navist2020
2128ec58c8
remove Factory that not used
...
Kubernetes-commit: 0a83041d4d3698d36ade2a310184248c61eec64f
2021-05-17 16:56:12 +08:00
Chok Yip Lau
95dc04b3b3
Added support for multiple --from-env flags
...
Kubernetes-commit: 99bc2b077fd208885e76281ab8865f1e85f0abb8
2021-04-29 19:16:59 -04:00
Miciah Masters
526686bff9
Fix RollingUpdateDaemonSet godoc regarding rounding
...
Fix the godoc for RollingUpdateDaemonSet to state that
spec.updateStrategy.rollingUpdate.maxUnavailable is rounded up.
A recent commit changed the godoc to say that the value of this field
was rounded down, but the actual implementation rounds up and always has
rounded up. (This is in contrast to Deployments, where
spec.strategy.rollingUpdate.maxUnavailable is rounded down.)
Follow-up to commit 5aa53f885c980873087cbc86e1eccdf342e775b5.
* api/openapi-spec/swagger.json:
* staging/src/k8s.io/api/apps/v1/generated.proto:
* pkg/apis/apps/types.go:
* staging/src/k8s.io/api/apps/v1/types.go:
* staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go:
* staging/src/k8s.io/api/apps/v1beta2/generated.proto:
* staging/src/k8s.io/api/apps/v1beta2/types.go:
* staging/src/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go:
* staging/src/k8s.io/api/extensions/v1beta1/generated.proto:
* staging/src/k8s.io/api/extensions/v1beta1/types.go:
* staging/src/k8s.io/api/extensions/v1beta1/types_swagger_doc_generated.go:
* staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger.json:
* staging/src/k8s.io/kubectl/testdata/openapi/swagger.json:
Change "rounding down" to "rounding up".
Kubernetes-commit: 452e2eaf1ba40512e90a29d379774054e86e324d
2021-04-20 20:07:11 -04:00
Lee Verberne
119802affe
Warn user for runtime support of debug targeting
...
Add a warning message to `kubectl debug` when using the `--target`
option as many runtimes don't support it yet.
Kubernetes-commit: 968185e1f7c4aee739d5abe6133a690c70e87d5e
2021-04-13 15:50:26 +02:00
huiwq1990
de9043d5d2
use already defined variable
...
Kubernetes-commit: 7aab5df381fb58814afdc0bba1b7352332d53edb
2021-03-13 15:49:44 +08:00
Chris Henzie
cb8bf2d275
Update helper methods to print and parse ReadWriteOncePod access mode
...
Kubernetes-commit: 5f98f6cfa47e2fcfad46822638b4fd167d8c41df
2021-03-10 20:51:43 -08:00
Chris Henzie
8bd9f6c9c6
Export contains access mode helper method
...
Will be used during validation of PVs and PVCs
Kubernetes-commit: 358d2e0bd1ffd475274ea08494bc8d39ef0e80cc
2021-06-14 19:31:57 -07:00
Kubernetes Publisher
138447c9c6
Merge pull request #103238 from seans3/cmd-headers-beta
...
kubectl command headers as default in beta
Kubernetes-commit: 657d93c4cc5201a9fc8a5ba1258d05d81ef39cbd
2021-06-27 20:10:59 +00:00
Sean Sullivan
42a8170920
kubectl command headers as default in beta
...
Kubernetes-commit: 4add8ed910654087683444ac7f8e441e8d32baa3
2021-06-26 20:53:49 -07:00
Kubernetes Publisher
3ffa097df9
Merge pull request #96087 from VilledeMontreal/feat/goComp
...
Move all bash custom completions to Go
Kubernetes-commit: f7d2ecdc3e52b408833aa6269c57ad9ef408467e
2021-06-26 08:12:10 +00:00
Kubernetes Publisher
00dbb563fc
Merge pull request #94942 from dashpole/apiserver_opentelemetry
...
Apiserver tracing
Kubernetes-commit: 12eb461acfb2279524d07f5ed95dd20e2e472939
2021-06-25 20:15:10 +00:00
David Ashpole
e24cf58fe8
Add distributed tracing to the apiserver using OpenTelemetry
...
Kubernetes-commit: 79550ed40c67a70534c1cb697e1fb7e7dbf96335
2021-06-25 05:20:16 -07:00
Kubernetes Publisher
383932c4a2
Merge pull request #95472 from ahmedtd/lru-remove-mpl
...
Remove MPL-licensed dep from lruexpirecache
Kubernetes-commit: 89ebe77aebf2b5f0c9526f474b003358655dbac5
2021-06-25 00:19:10 +00:00
Marc Khouzam
4338c5bc89
Use native zsh completion
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Kubernetes-commit: 77bb053102cbe1581857dd35e9c095888d2c85d3
2021-06-05 22:09:03 -04:00
Marc Khouzam
ef4c461bd5
Add tests for completion utility functions
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Kubernetes-commit: 46aa6045e4c383db2106307ee687abce2910153a
2021-06-05 21:11:34 -04:00
Marc Khouzam
724356168b
Revert "Add Go tests for custom completions"
...
This reverts commit 0e18f0380042b652996d795559bfb818698abec3.
Kubernetes-commit: 1babceac650cfe8ec7ac71b34ed1ecf118b50f9d
2021-05-22 20:47:14 -04:00
Marc Khouzam
5c679b006e
Join common functions for completion
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Kubernetes-commit: 9625872d1e4fd0d4d397b3ab732c6969a3a376fe
2021-05-15 21:22:42 -04:00
Marc Khouzam
b817d296dd
Update staging/src/k8s.io/kubectl/pkg/cmd/config/config.go
...
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
Kubernetes-commit: 9d03185d3c12a0b3f2f36a5096d4a9658bba5472
2021-05-03 14:18:00 -04:00
Marc Khouzam
af40736fcc
Add Go tests for custom completions
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Kubernetes-commit: c0b3a698fa15265eecdec0bd8776658c40d8d151
2021-03-05 15:44:30 -05:00
Marc Khouzam
1946af5761
Move all completion bash code to Go code
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Kubernetes-commit: 879cdc5fa9e518ce76b9e1dc7e795132457966f3
2021-03-05 15:43:31 -05:00
Nabarun Pal
c4de100b6e
hack: remove bindata generation logic for translations
...
also, remove generated bindata
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
Kubernetes-commit: 43c2e454a059da5cfce0430534b289dd21a0599e
2021-03-04 10:28:08 +05:30