Commit Graph

98932 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
55a5d4faf3
Merge pull request #98883 from fedepaol/netexecmultilisten
Agnhost: make it possible to pass the addresses to listen on for udp
2021-03-05 23:31:41 -08:00
Kubernetes Prow Robot
4e95e1df04
Merge pull request #98515 from lala123912/huge_page
Add request value verification for hugepage
2021-03-05 22:11:43 -08:00
Kubernetes Prow Robot
56bcd562a4
Merge pull request #96973 from chenyw1990/optimizationRuntimeContainerLog
Optimization log: add containerName to log
2021-03-05 20:55:41 -08:00
Dave Chen
b8394c4700 Move VolumeBinding plugin args validation to apis/config/validation
This PR also looses the check to allow zero since the API doc has
explained that value zero indicates no waiting.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-03-06 11:06:39 +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
Benjamin Elder
c39ff2a05c cleanup bazel build files in-tree in make clean
now that bazel is removed, this automates cleanup.
2021-03-05 18:03:00 -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
Elana Hashman
7c2e147c4f
Add golang env setup to node e2e 2021-03-05 16:04:44 -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
ed6b9addbf
Merge pull request #96347 from cofyc/kep1845
Prioritizing nodes based on volume capacity
2021-03-05 14:45:43 -08:00
Kubernetes Prow Robot
269d62d895
Merge pull request #97837 from JornShen/proxier_userspace_structured_logging
migrate proxy/userspace/proxier.go logs to structured logging
2021-03-05 13:25:42 -08:00
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
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
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