Commit Graph

12520 Commits

Author SHA1 Message Date
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
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
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
Kubernetes Prow Robot
9cc3665bd3 Merge pull request #99004 from smarterclayton/simplify_debug
kubectl: exec and attach break scripting and should honor `--quiet`
2021-03-05 11:21:53 -08:00
Kubernetes Prow Robot
b2af8aefba Merge pull request #97216 from joejulian/docs_missing_quotes
Re-clarify NetworkPolicy policyTypes in docs
2021-03-05 11:21:42 -08:00
Kubernetes Prow Robot
06a4b6f342 Merge pull request #99423 from soltysh/cronjob_controller
Switch cronjob controller to batch/v1
2021-03-05 10:00:22 -08:00
Joe Julian
b41c82de7c generated content 2021-03-05 09:18:25 -08:00
Joe Julian
e7945befbc Re-clarify NetworkPolicy policyTypes in docs 2021-03-05 09:07:12 -08:00
Kubernetes Prow Robot
8306eeab75 Merge pull request #99837 from aojea/revertgce
Revert "fix a bug where only service with less than 100 ports can hav…
2021-03-05 07:46:22 -08:00
Kubernetes Prow Robot
feab32b220 Merge pull request #99817 from liggitt/zero-value
Fix zero-value custom resource validation with go1.16
2021-03-05 06:44:23 -08:00
Maciej Szulik
7c194bb3e3 Fix kubectl openapi test to use apps/v1/Deployment 2021-03-05 14:03:08 +01:00
Maciej Szulik
1fc8fe0f7d Generated changes 2021-03-05 14:03:05 +01:00
Kubernetes Prow Robot
9067b5691d Merge pull request #97818 from damemi/remove-util-node-dep
Scheduler: remove direct dependency for k8s.io/kubernetes/pkg/util/node
2021-03-05 04:06:32 -08:00
Maciej Szulik
470e23e770 kubectl create job support both v1beta1 and v1 cronjob 2021-03-05 12:44:23 +01:00
Maciej Szulik
2c17621b29 Deprecate batch/v1beta1 CronJob & CronJobList in 1.21, with removal still 1.25 2021-03-05 12:44:23 +01:00
Maciej Szulik
9364d0fc81 Promote CronJobs to batch/v1 2021-03-05 12:44:23 +01:00
Maciej Szulik
22b3a9cd21 Introduce .status.lastSuccessfulTime field for CronJob 2021-03-05 12:44:23 +01:00
Maciej Szulik
fe15e4dae8 Update batch API to get rid of API violations 2021-03-05 12:44:23 +01:00
Antonio Ojea
e08a46cafa Revert "fix a bug where only service with less than 100 ports can have GCE load balancer"
This reverts commit be7ee01f2f.
2021-03-05 12:30:43 +01:00
Kubernetes Prow Robot
066600f105 Merge pull request #99525 from kagaya85/fix-staticcheck
fix staticcheck for k8s.io/apiserver/pkg/endpoints
2021-03-05 01:56:34 -08:00
Kubernetes Prow Robot
66cbf0196b Merge pull request #98277 from XudongLiuHarold/add-loadbalancerclass-field
Add LoadBalancerClass field in service
2021-03-04 23:56:21 -08:00
Kubernetes Prow Robot
7a49140145 Merge pull request #98127 from mortent/AddConditionsToPDBs
Add conditions to PDB status
2021-03-04 22:30:21 -08:00
Kubernetes Prow Robot
af703cf86c Merge pull request #99743 from freehan/firewall-fix
fix a bug where only service with less than 100 ports can have GCE LB
2021-03-04 20:32:34 -08:00
Jordan Liggitt
b02b3c5828 Add test for zero-value custom resource validation 2021-03-04 22:57:26 -05:00
Kubernetes Prow Robot
31fe241c6e Merge pull request #99456 from dabaooline/dabaooline-patch-1
Update Staging's README.md
2021-03-04 19:32:33 -08:00
Kubernetes Prow Robot
6499f20d21 Merge pull request #98749 from pandaamanda/kubectl_patch_error
fix kubectl patch command error message
2021-03-04 19:32:21 -08:00
xiongzhongliang
99f0369f9d fix kubectl patch command error message 2021-03-05 17:05:10 +08:00
Jordan Liggitt
5515157f82 Update k8s.io/kube-openapi 2021-03-04 22:15:21 -05:00
Morten Torkildsen
b08eb95168 generated 2021-03-04 19:03:00 -08:00
Morten Torkildsen
1e2a7f381f Add conditions to PDB status 2021-03-04 18:52:02 -08:00
Kubernetes Prow Robot
110b9272f2 Merge pull request #99782 from liggitt/race-tests
Fix or remove tests that don't work in race mode
2021-03-04 18:34:48 -08:00
Xudong Liu
72da0b1bb0 Add LoadBalancerClass field in service
KEP-1959: https://github.com/kubernetes/enhancements/tree/master/keps/sig-cloud-provider/1959-service-lb-class-field
2021-03-04 17:11:50 -08:00
Kubernetes Prow Robot
03d242665d Merge pull request #99012 from jpbetz/apply-client-go-builders2
Apply Builders for client-go's typed client
2021-03-04 14:40:55 -08:00
Kubernetes Prow Robot
a2157b36b7 Merge pull request #98806 from rikatz/remove-extension-prune
Remove extensions v1beta1 from addon manager and kubectl prune
2021-03-04 14:40:47 -08:00
Kubernetes Prow Robot
a8476e5570 Merge pull request #99792 from logicalhan/owners
add myself to owners for etcd metrics
2021-03-04 13:39:31 -08:00
Kubernetes Prow Robot
cdaf2bec84 Merge pull request #98774 from freehan/nodesync
Optimize and parallelize LoadBalancer Host update
2021-03-04 12:40:09 -08:00
Han Kang
cfd00de686 bump apiserver_request_total to STABLE status
We've dropped the content-type field since it is effectively unbounded
(we had a sec-vuln about this before actually). We retain all other
fields, despite their unboundedness due to the fact that we can now
explicitly set bounds on label values.

Change-Id: Icc483fc6a17ea6382928f4448643cda6f3e21adb
2021-03-04 11:39:15 -08:00
Kubernetes Prow Robot
e959ecc1e6 Merge pull request #99681 from shiyajuan123/master
add descriptions to these event/types.go files
2021-03-04 11:01:07 -08:00
Kubernetes Prow Robot
30906bebc8 Merge pull request #99344 from wzshiming/fix/server-filters-flake
Fix staging/src/k8s.io/apiserver/pkg/server/filters flake test timeout
2021-03-04 11:00:09 -08:00
Joe Betz
86184be5f1 Support references to external types for 3rd party use 2021-03-04 10:31:38 -08:00
Joe Betz
c541c69331 generate applied configurations 2021-03-04 10:31:34 -08:00
Joe Betz
09cc895c84 Add apply configuration generator 2021-03-04 10:29:54 -08:00
Clayton Coleman
43e8ebbbcd kubectl: Inline the containers for the user in attach/exec
The behavior of the container defaulting in attach/exec is inconsistent
and should be unified. As a user, when we default the vast majority of
pods will have a small number of containers and so printing the container
names inline (as kubectl logs did) is more appropriate. The debug message
we printed about using describe was already longer than 99% of all pod
container names, so we were wasting user time.

Unify container selection for exec and attach to be consistent with old
behavior. Properly handle the --quiet flag (should not print in that case)
for both commands. Remove EnableCmdSuggestion and the machinery it needs.

The message now prints:

> Defaulted container "etcdctl" out of: etcdctl, etcd, etcd-metrics, etcd-ensure-env-vars (init), etcd-resources-copy (init)
2021-03-04 13:16:17 -05:00
Minhan Xia
4af1f4b30b Optimize and parallelize LoadBalancer Host update 2021-03-04 10:01:55 -08:00
Han Kang
5bc56ef4e6 add myself to owners for etcd metrics 2021-03-04 09:26:32 -08:00
Kubernetes Prow Robot
60a714058b Merge pull request #98673 from ehashman/storage-labels
Add labels for SIG storage components
2021-03-04 09:20:08 -08:00
Kubernetes Prow Robot
e22e9b4f83 Merge pull request #99755 from lala123912/out_of_range
fix RemoveStatusCondition()  cap out of range
2021-03-04 07:44:49 -08:00