Commit Graph

108955 Commits

Author SHA1 Message Date
Noah Ispas (iamNoah1)
869b7a4c5f add change requests 2022-06-09 11:05:10 +02:00
Kubernetes Prow Robot
e8d6b76f8b
Merge pull request #109624 from aryan9600/fix-endpointslice-deletion
Ignore EndpointSlices that are marked for deletion
2022-06-09 00:11:42 -07:00
Paco Xu
31922c7794 kubeadm: use staticpod known tags for upgrade/init phases 2022-06-09 14:21:48 +08:00
Kubernetes Prow Robot
226323178e
Merge pull request #110256 from bobbypage/terminal-ready-condition
kubelet: Mark ready condition as false explicitly for terminal pods
2022-06-08 20:07:42 -07:00
Mark Rossetti
5375102131 Updating base container image for pause image on Windows
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-06-08 18:12:54 -07:00
Kubernetes Prow Robot
e27b2781f5
Merge pull request #110446 from PalanQu/qujiabao/clean_up
remove bazel BUILD in EXCLUDE_TARGET in makefile
2022-06-08 16:19:41 -07:00
David Porter
b4b338d4eb test: update graceful node shutdown e2e with watch
Use a watch to detect invalid pod status updates in graceful node
shutdown node e2e test. By using a watch, all pod updates will be
captured while the previous logic required polling the api-server which
could miss some intermediate updates.

Signed-off-by: David Porter <david@porter.me>
2022-06-08 16:19:16 -07:00
David Porter
7811d84fef kubelet: Mark ready condition as false explicitly for terminal pods
Terminal pods may continue to report a ready condition of true because
there is a delay in reconciling the ready condition of the containers
from the runtime with the pod status. It should be invalid for kubelet
to report a terminal phase with a true ready condition. To fix the
issue, explicitly override the ready condition to false for terminal
pods during status updates.

Signed-off-by: David Porter <david@porter.me>
2022-06-08 16:19:16 -07:00
Kermit Alexander
ff3d04d5df Fix incorrect wording in expectedErrMsg. 2022-06-08 22:45:29 +00:00
Jefftree
e2cbf9759b Add test to check for _v2 2022-06-08 21:33:07 +00:00
Rasita Pai
af26d11190 add missing error handling steps 2022-06-08 14:29:11 -07:00
Rasita Pai
1d98b2e8b3 add missing error handling steps 2022-06-08 14:04:49 -07:00
Fabio Bertinatto
9ef5c4e03a e2e: ensure single image for populator containers
This is useful in environments where the Deployment image is replaced
by another image from an internal registry (via fixture). In that case,
the populator running in populate mode should use the same image as the
populator running in controller mode.
2022-06-08 15:08:42 -03:00
Kermit Alexander
c58c02fcf9 Ensure estimated cost limit is exceeded. 2022-06-08 17:40:50 +00:00
Oksana Naumov
0bf7c4e2e7 promote the Portworx feature gate to Beta 2022-06-08 10:39:06 -07:00
Kubernetes Prow Robot
cfda5bc1d8
Merge pull request #110457 from aojea/class_e_range
unit tests for Class E IP addresses
2022-06-08 10:10:22 -07:00
Kubernetes Prow Robot
0985c476e3
Merge pull request #109995 from wangyysde/fix_issue_2681
add print-manifest flag to print addon manifests to STDOUT
2022-06-08 09:00:22 -07:00
Antonio Ojea
2124f17c72 unit tests for Class E IP addresses 2022-06-08 15:29:48 +02:00
Kubernetes Prow Robot
abba1492f1
Merge pull request #110442 from pacoxu/kubeadm-patch
overwrite known targets in patch manager cache in case it changes
2022-06-08 03:26:23 -07:00
Kubernetes Prow Robot
bb7b0b6a91
Merge pull request #110408 from tkashem/deep-copy-panic
Fix printer functions to use int64 and string explicitly
2022-06-08 02:06:22 -07:00
Paco Xu
29aca9692c overwrite known targets in patch manager cache in case it changes 2022-06-08 16:10:41 +08:00
Jiabao Qu
b6a976058d remove bazel BUILD in EXCLUDE_TARGET in makefile 2022-06-08 14:24:28 +08:00
wangyysde
e863ebb6b5 add print-manifest flag to print addon manifests to STDOUT
Signed-off-by: wangyysde <net_use@bzhy.com>
2022-06-08 13:45:37 +08:00
Nick Santos
7d2c6096c2 client-go: fix panic in ConfirmUsable validation
Fixes https://github.com/kubernetes/client-go/issues/1108
2022-06-07 15:54:01 -04:00
Kubernetes Prow Robot
9a6725aa1d
Merge pull request #110427 from cpanato/prombot
Update publishing-bot rules for Go 1.17.11
2022-06-07 12:44:26 -07:00
Kermit Alexander
6f66ed06f2 Correct cost estimation check. 2022-06-07 16:36:20 +00:00
Kermit Alexander
120744bf44 Change case on syntax error check. 2022-06-07 16:31:41 +00:00
Abu Kashem
788e151bc1
apiserver: printers should use int64
printers should use int64 to avoid a panic from DeepCopyJSONValue
2022-06-07 12:04:33 -04:00
Kubernetes Prow Robot
198dd7668a
Merge pull request #110395 from tnqn/fix-sctp-test
Fix SCTP default-deny test
2022-06-07 08:45:07 -07:00
Kubernetes Prow Robot
39b6e6c6a0
Merge pull request #110362 from wojtek-t/fix_leaking_goroutines_5
Fix leaking goroutines in multiple integration tests
2022-06-07 08:44:55 -07:00
Kubernetes Prow Robot
cd4b8ed070
Merge pull request #110405 from neolit123/1.25-kubelet-config-patches
kubeadm: add support for patching a "kubeletconfiguration" target
2022-06-07 07:05:07 -07:00
Kubernetes Prow Robot
9fad5c981a
Merge pull request #110327 from neolit123/1.25-ga-unversioned-kubelet-config
kubeadm: graduate the UnversionedKubeletConfigMap FG to GA
2022-06-07 07:04:56 -07:00
cpanato
79f0a7fb78
Update publishing-bot rules for Go 1.17.11
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-06-07 15:56:48 +02:00
Kubernetes Prow Robot
81e6625c88
Merge pull request #110421 from cpanato/main-go118
[GO] Update Go to 1.18.3
2022-06-07 05:39:49 -07:00
cpanato
aac61cea97
Update Go to 1.18.3
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-06-07 13:32:07 +02:00
Antonio Ojea
c0db77b208 graduate ServiceIPStaticSubrange to beta 2022-06-07 10:52:09 +02:00
Kubernetes Prow Robot
79cef12276
Merge pull request #110191 from rphillips/fixes/probe_shutdowns_readiness
Re-enable Kubelet Pod Readiness Probes on Termination and Pod probes should be handled by pod worker
2022-06-07 00:55:48 -07:00
scott
286a67d78c Fix issue that Audit Server could not correctly encode DeleteOption 2022-06-07 11:57:26 +08:00
Kubernetes Prow Robot
b6fb5a2878
Merge pull request #110394 from Abirdcfly/newfix
update kubectl api-resources help info
2022-06-06 16:45:47 -07:00
Ryan Phillips
97db4ac963 add service e2e tests 2022-06-06 17:00:59 -05:00
Ryan Phillips
230124f3d4 kubelet: add e2e test to verify probe readiness 2022-06-06 17:00:55 -05:00
Ryan Phillips
f25ca15e1c kubelet: only shutdown probes for pods that are terminated
This fixes a bug where terminating pods would not run their readiness
probes. Terminating pods are found within the possiblyRunningPods map.
2022-06-06 17:00:54 -05:00
Clayton Coleman
1d518adb76 kubelet: Pod probes should be handled by pod worker
The pod worker is the owner of when a container is running or not,
and the start and stop of the probes for a given pod should be
handled during the pod sync loop. This ensures that probes do not
continue running even after eviction.

Because the pod semantics allow lifecycle probes to shorten grace
period, the probe is removed after the containers in a pod are
terminated successfully. As an optimization, if the pod will have
a very short grace period (0 or 1 seconds) we stop the probes
immediately to reduce resource usage during eviction slightly.

After this change, the probe manager is only called by the pod
worker or by the reconcile loop.
2022-06-06 17:00:54 -05:00
Jiawei Wang
760365d5c9 CSIMigration feature gate to GA 2022-06-06 21:19:19 +00:00
Wojciech Tyczyński
006ff4510b Clean shutdown of nodecontroller integration tests 2022-06-06 20:33:20 +02:00
Wojciech Tyczyński
2af8d0bbd7 Clean shutdown of events integration tests 2022-06-06 20:33:20 +02:00
Wojciech Tyczyński
b54363aceb Clean shutdown of storageversion integration tests 2022-06-06 20:33:20 +02:00
Wojciech Tyczyński
e5ec28ff86 Clean shutdown of network integration tests 2022-06-06 20:33:20 +02:00
Lubomir I. Ivanov
2134026e3b kubeadm: allow passing the --patches flag to init/join/node phases
Allow passing the --patches flag to init/join/node phases
relevant to the kubelet writing the config file on disk.
2022-06-06 20:37:27 +03:00
Lubomir I. Ivanov
428c3fe954 kubeadm: document "kubeletconfiguration" as a patch target
Document the "kubeletconfiguration" as a patch target in the
v1beta3 API Init/JoinConfiguration.Patches struct
and also for the --patches flag.
2022-06-06 20:37:26 +03:00