Commit Graph

12588 Commits

Author SHA1 Message Date
monopole
ba39d22e39 until stable: pin-dependency, update-vendor, update-bazel, lint-dep 2021-03-08 16:50:43 -08:00
monopole
6c9460f0b4 Manually update kustomize attachment points. 2021-03-08 16:50:43 -08:00
monopole
073ca8b42e Delete staging/src/k8s.io/cli-runtime/pkg/kustomize 2021-03-08 16:50:43 -08:00
Kubernetes Prow Robot
1a81b24e52 Merge pull request #99169 from TeweiLuo/fix-repd-volhandle-translation
Use the correct volum handle format for GCE regional PD.
2021-03-08 16:27:11 -08:00
Kubernetes Prow Robot
a0341d7471 Merge pull request #98727 from adtac/suspend
batch API: add suspended job
2021-03-08 16:26:59 -08:00
Kubernetes Prow Robot
14c25eed8d Merge pull request #99641 from pohly/storage-capacity-beta
CSIStorageCapacity beta API
2021-03-08 15:04:59 -08:00
tewei.luo
068bdcfcef Use the correct volum handle format for GCE regional PD. 2021-03-08 20:55:02 +00:00
Adhityaa Chandrasekar
a0844da8f7 batch: add suspended job
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-08 20:08:21 +00:00
Kubernetes Prow Robot
97cd5bb7e2 Merge pull request #99858 from freehan/firewall-fix
Revert "Revert "fix a bug where only service with less than 100 ports can have GCE lo…
2021-03-08 12:07:37 -08:00
Heng WU
b7613c4315 Wrong command (kubectl top) description (#99060)
* Update top.go

* Update top_pod.go

* Update top_node.go
2021-03-08 12:07:00 -08:00
Patrick Ohly
39103c188f CSIStorageCapacity: add +featureGate=CSIStorageCapacity
The tag is currently mostly ignored by the tooling, but its usage is
encouraged (https://github.com/kubernetes/kubernetes/pull/99641#discussion_r588078444).
2021-03-08 20:59:52 +01:00
Patrick Ohly
2b062a6281 CSIStorageCapacity: generated files for beta 2021-03-08 20:59:52 +01:00
Patrick Ohly
a2972eba07 CSIStorageCapacity: add MaximumVolumeSize to v1beta1 API 2021-03-08 20:52:50 +01:00
Patrick Ohly
9e7748c6a5 CSIStorageCapacity: mark v1alpha1 as deprecated
We still need the alpha API for testing with current
external-provisioner, but then should remove it shortly after the 1.21
release once the external-provisioner is updated to use the beta API.

That VolumeAttachment is still defined in the alpha API looks like an
oversight. To minimize changes during the beta graduation of
CSIStorageCapacity it is left in place with a deprecation notification
in 1.21.
2021-03-08 20:52:50 +01:00
Patrick Ohly
a94c141060 CSIStorageCapacity: promote API to beta
The v1alpha1 API is left in place for now to ease the migration.
2021-03-08 20:52:50 +01:00
Kubernetes Prow Robot
72d92159bc Merge pull request #99925 from logicalhan/stable-latencies
promote apiserver_request_duration_seconds to STABLE
2021-03-08 11:04:46 -08:00
Kubernetes Prow Robot
ab7d68a58a Merge pull request #98653 from mandelsoft/stream
fix race condition problem in streamwatcher
2021-03-08 11:04:25 -08:00
Kubernetes Prow Robot
2783f2f76e Merge pull request #96600 from maplain/internal-traffic-policy
Service Internal Traffic Policy
2021-03-08 11:04:12 -08:00
Fangyuan Li
62804c1ae8 Update generated files
1. `git clean -fxd`
2. `make update`
2021-03-08 08:42:54 -08:00
Kubernetes Prow Robot
4fccba9e06 Merge pull request #99800 from deads2k/beta-more
remove more CRD v1beta1 client dependencies from test integration
2021-03-08 07:51:54 -08:00
Kubernetes Prow Robot
763514f438 Merge pull request #99595 from prameshj/ports-fix
Support specifying more than 5 ports in L4 ILB service
2021-03-08 01:21:45 -08:00
Kubernetes Prow Robot
348fc2e414 Merge pull request #99908 from liggitt/prepare-run-flake
Deflake TestPrepareRun
2021-03-08 00:21:45 -08:00
Kubernetes Prow Robot
573bf2ff85 Merge pull request #99871 from liggitt/compatibility-tests
Add discovery and flowcontrol compatibility API data
2021-03-07 22:23:44 -08:00
Han Kang
69e3d89a38 promote apiserver_request_duration_seconds to STABLE
Change-Id: I1b050b812738719aedd7ac6f4794ec742812e12d
2021-03-07 17:14:36 -08:00
Fangyuan Li
7ed2f1d94d Implements Service Internal Traffic Policy
1. Add API definitions;
2. Add feature gate and drops the field when feature gate is not on;
3. Set default values for the field;
4. Add API Validation
5. add kube-proxy iptables and ipvs implementations
6. add tests
2021-03-07 16:52:59 -08:00
Benjamin Elder
0659a7dbac add TODO for staging rules cleanup 2021-03-07 15:27:44 -08:00
Benjamin Elder
1b5ef42681 replace vsphere legacy provider "fixtures" runtime path lookup based on stack info with tesdata and relative paths
go test sets the current working directory to the package under test
we can just use relative paths and a testdata directory instead of the brittle runtime path lookup logic
2021-03-07 15:27:44 -08:00
Kubernetes Prow Robot
e19c88fbf6 Merge pull request #91295 from ingvagabund/have-kubectl-explain-check-all-gvks
kubectl explain: detect resource group in case there are two or more groups discovered
2021-03-07 08:31:42 -08:00
Kubernetes Prow Robot
e688f22da0 Merge pull request #99214 from jpbetz/apply-client-go-builders2-typedclient
Add Apply to client-go's typed client
2021-03-06 22:17:41 -08:00
Kubernetes Prow Robot
4cf8823fba Merge pull request #98074 from kwiesmueller/admission-reset-managedFields
Reset managedFields corrupted by admission controllers
2021-03-06 21:15:42 -08:00
Kubernetes Prow Robot
dc493bb553 Merge pull request #99907 from liggitt/cache-test-timeout
Add test timeout to mutation detector test
2021-03-06 18:43:53 -08:00
Joe Betz
08d5565b9b Generate typed clients with Apply support 2021-03-06 20:50:47 -05:00
Joe Betz
293e07a836 Add Apply functions to client-gen 2021-03-06 20:49:06 -05:00
Jordan Liggitt
ba4aade23a Deflake TestPrepareRun 2021-03-06 19:50:57 -05:00
Jordan Liggitt
877d889ac2 Add test timeout to mutation detector test 2021-03-06 19:35:23 -05:00
Jordan Liggitt
5cebf38f5c Update discovery compatibility data for v1 2021-03-06 18:31:56 -05:00
Jordan Liggitt
7234a7caff Add discovery and flowcontrol compatibility API data 2021-03-06 18:31:56 -05:00
Kubernetes Prow Robot
f8151b121f Merge pull request #99732 from soltysh/clean_run_flags
Drop deprecated run flags and deprecate unused ones
2021-03-06 15:24:01 -08:00
Kubernetes Prow Robot
36244f31ef Merge pull request #99662 from swetharepakula/eps-ga-api-changes
Graduate EndpointSlice API to GA
2021-03-06 15:23:54 -08:00
Kubernetes Prow Robot
4bf85032f3 Merge pull request #99275 from hbagdi/feat/ingress-class-namespaced-params
Add namespace scoped ParametersReference to IngressClass
2021-03-06 15:23:41 -08:00
Kubernetes Prow Robot
ffa4e3414e Merge pull request #99788 from logicalhan/stable-m
promote apiserver_request_total to STABLE status
2021-03-06 12:50:13 -08:00
Kubernetes Prow Robot
ce1a720bed Merge pull request #99733 from soltysh/drop_generators
Clean unused generators
2021-03-06 12:49:56 -08:00
Harry Bagdi
a7fc92089a Add namespace scoped ParametersReference to IngressClass 2021-03-07 00:45:32 +05:30
Maciej Szulik
f38ef2fbc6 Drop deprecated run flags and deprecate unused ones 2021-03-06 19:09:06 +01:00
Uwe Krueger
2355ceb79a simplier fix + test for race condition 2021-03-06 14:42:59 +01:00
Kubernetes Prow Robot
a54414e343 Merge pull request #96655 from serathius/kubectl-top-protobuf
Use protobuf for kubectl top
2021-03-06 05:33:41 -08:00
Kubernetes Prow Robot
ecdbcd8963 Merge pull request #97491 from jsturtevant/process-start-time-windows
Get Windows Process time correctly
2021-03-05 18:37:41 -08:00
Kubernetes Prow Robot
7125496e66 Merge pull request #99735 from bobbypage/beta-graceful-shutdown
Promote kubelet graceful node shutdown to beta
2021-03-05 17:23:42 -08:00
Minhan Xia
e3a5347bd6 fix a bug where only service with less than 100 ports can have GCE load balancer 2021-03-05 17:10:53 -08:00
David Porter
893f5fd4f0 Promote kubelet graceful node shutdown to beta
- Change the feature gate from alpha to beta and enable it by default

- Update a few of the unit tests due to feature gate being enabled by
  default

- Small refactor in `nodeshutdown_manager` which adds `featureEnabled`
  function (which checks that feature gate and that
  `kubeletConfig.ShutdownGracePeriod > 0`).

- Use `featureEnabled()` to exit early from shutdown manager in the case
  that the feature is disabled

- Update kubelet config defaulting to be explicit that
  `ShutdownGracePeriod` and `ShutdownGracePeriodCriticalPods` default to
  zero and update the godoc comments.

- Update defaults and add featureGate tag in api config godoc.

With this feature now in beta and the feature gate enabled by default,
to enable graceful shutdown all that will be required is to configure
`ShutdownGracePeriod` and `ShutdownGracePeriodCriticalPods` in the
kubelet config. If not configured, they will be defaulted to zero, and
graceful shutdown will effectively be disabled.
2021-03-05 15:21:37 -08:00