Commit Graph

98979 Commits

Author SHA1 Message Date
Aldo Culquicondor
a8d105ab72 Logarithmic timestamp comparison for ReplicSet downscaling
Change-Id: I0657ea0ce41b98fdee1a5307b5826a10deaff98c
2021-03-05 15:58:26 -05:00
Swetha Repakula
a9891b4b9b Graduate EndpointSlice API to GA
* Removes discovery v1alpha1 API
  * Replaces per Endpoint Topology with a read only DeprecatedTopology
  in GA API
  * Adds per Endpoint Zone field in GA API
2021-03-05 12:02:41 -08:00
wojtekt
ae8baefeff Cleanup the remaining multi-owned sig-node tests 2021-03-05 20:27:31 +01:00
wojtekt
fa5f303a09 Stop using SIGDescribe for upgrade tests to reflect reality 2021-03-05 20:25:56 +01:00
Kubernetes Prow Robot
336bbae82c
Merge pull request #99847 from jpbetz/fix-apply-fuzzer-flake
Fix flake #99821: reduce fuzz runs 50 to 3 per apply config type
2021-03-05 11:22:01 -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
Mengxue Zhang
b38caa91cc make runtime.NewFramework accept KubeSchedulerProfile 2021-03-05 18:30:21 +00:00
Sladyn
cee2c42a54 Apply suggestions from code review
Co-authored-by: Marek Siarkowicz <marek.siarkowicz@protonmail.com>
2021-03-05 23:59:23 +05:30
Sladyn Nunes
5ba3bf1bca kubelet: migrate pkg/kubelet/cloudresource to structured logging 2021-03-05 23:59:23 +05:30
Maciej Szulik
0a8417e161
Simplify cronjob v2 controller tests 2021-03-05 19:25:51 +01:00
Maciej Szulik
0603a14be1
Switch to batch/v1 in cronjob's e2es 2021-03-05 19:08:27 +01:00
Kubernetes Prow Robot
42c1ccb38e
Merge pull request #99701 from wojtek-t/cleanup_describe_13
Tag storage windows tests with [Feature:Windows] instead of [sig-windows]
2021-03-05 10:00:47 -08:00
Kubernetes Prow Robot
70d732c7e7
Merge pull request #99653 from aojea/kproxymetrics
new kube-proxy iptables metric to expose then number of iptables rules
2021-03-05 10:00:34 -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
Lee Verberne
334cf82cb3 Add test for disabled EphemeralContainers feature
This adds an integration test to validate expected behavior when the
EphemeralContainers feature gate is disabled.
2021-03-05 18:38:32 +01:00
wojtekt
93ff0e5c68 Cleanup test/e2e/upgrades directory 2021-03-05 18:19:46 +01:00
Joe Julian
b41c82de7c
generated content 2021-03-05 09:18:25 -08:00
Joe Betz
7ac882450f Reduce Test{Json,Unstructured}RoundTripApplyConfigurations fuzz runs from 50 to 3 per type 2021-03-05 09:15:32 -08:00
Nabarun Pal
b009a12f61
migrate pkg/kubelet/token to structured logging
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-03-05 22:40:46 +05:30
Joe Julian
e7945befbc
Re-clarify NetworkPolicy policyTypes in docs 2021-03-05 09:07:12 -08:00
Uwe Krueger
932f98acaf add comment describing the race condition + TODO for appropriate test 2021-03-05 17:59:36 +01:00
xiongzhongliang
c7bf5506ee cleanup: wrap the apiserver identity validation 2021-03-06 00:57:02 +08:00
Uwe Krueger
d8ee8e427e fix sync problem in streamwatcher
The streamwatcher has a synchronization problem that may lead to
a go routine blocking forever when closing a stream watch.

This occasionally happens, when informers are cancelled together with the
watch request using the stop channel, which leads to an increaing
number of blocked go routines, if imformers are dynamicaly created and deleted
again.

The function `receive` checks under a lock whether the watch has been stopped,
before an error is reported to the result channel.
The problem here is, that in between the watcher might be stopped by
calling the `Stop` method. In the actual code this is done by the
`cache.Reflector` using the streamwatcher by a defer which is executed after
the caller already stopped reading from the result channel.
As a result the stopping flag might be set after the check
and trying to send the error event blocks this send operation forever,
because there will never be a receiver again.

The fix introduces a dedicated local stop channel that is closed by the
`Stop` method and used in a select statement together with the send
operation to finally abort the loop.
2021-03-05 17:14:32 +01:00
Derek Carr
6215b12c84 e2e testing for hugepages downward api 2021-03-05 11:11:27 -05:00
Yecheng Fu
8f3782226f Prioritizing nodes based on volume capacity: integration tests 2021-03-05 23:59:25 +08:00
Yecheng Fu
d791f7feef Prioritizing nodes based on volume capacity: unit tests 2021-03-05 23:59:25 +08:00
Yecheng Fu
21a43586e7 Prioritizing nodes based on volume capacity 2021-03-05 23:59:25 +08:00
Yecheng Fu
61a44d0dbe Prioritizing nodes based on volume capacity: add feature gate 2021-03-05 23:59:25 +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
Navid Shaikh
dbe5476a2a Migrate pkg/kubelet/status to structured logging 2021-03-05 20:58:46 +05:30
Alexander Minbaev
359116f525 add if check for number of scheduled pods to be greater than 0 2021-03-05 09:05:42 -06: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
David Eads
c14ff1a674 remove more CRD v1beta1 client dependencies 2021-03-05 08:10:47 -05:00
Kubernetes Prow Robot
55f255208a
Merge pull request #83730 from claudiubelu/windows/containerd-etc-hosts
Windows: Fixes /etc/hosts file mounting support for containerd
2021-03-05 05:08:22 -08:00
Maciej Szulik
78f51f8fa5
Switch cronjob controller to batch/v1 2021-03-05 14:03:34 +01: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
Aditi Sharma
5af10e9828 Migrate to structured logging
migrate pkg/kubelet/server to structured logging.

Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2021-03-05 17:55:48 +05:30
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
Kubernetes Prow Robot
f2c189b54f
Merge pull request #78648 from mrkm4ntr/unify-is-ephemeral-volume
Unify determination of whether a volume is ephemeral
2021-03-05 04:06:21 -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
Maciej Szulik
f8b2cf653c
Drop batch/v2alpha1 leftovers 2021-03-05 12:44:21 +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
7863e8f891
Merge pull request #99248 from pandaamanda/kubelet_duplicate_default_value
remove duplicate default message for some flag
2021-03-05 01:56:22 -08:00