Commit Graph

107239 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
b0c435c8c4
Merge pull request #108772 from aojea/user_agent
client-go: default user agent if empty
2022-03-17 19:07:39 -07:00
Monis Khan
fef7d0ef1e
webhook: use rest.Config instead of kubeconfig file as input
This change updates the generic webhook logic to use a rest.Config
as its input instead of a kubeconfig file.  This exposes all of the
rest.Config knobs to the caller instead of the more limited set
available through the kubeconfig format.  This is useful when this
code is being used as a library outside of core Kubernetes. For
example, a downstream consumer may want to override the webhook's
internals such as its TLS configuration.

Signed-off-by: Monis Khan <mok@vmware.com>
2022-03-17 20:47:42 -04:00
Kevin Delgado
7983932800 Exact Matching for Field Validation Tests 2022-03-17 22:08:49 +00:00
Sergey Kanzhelev
29e8bef315 RuntimeClass and PodOverhead promotion to GA 2022-03-17 21:49:32 +00:00
Kubernetes Prow Robot
4d08582d1f
Merge pull request #108769 from SataQiu/fix-kubeadm-20220317
kubeadm: fix the bug that windows node failed to join IPv6 cluster due to preflight failures
2022-03-17 13:54:42 -07:00
Kubernetes Prow Robot
56062f7f4f
Merge pull request #108010 from endocrimes/dani/eviction-flake
eviction: Deflake TestStart
2022-03-17 12:22:54 -07:00
Kubernetes Prow Robot
f979b4094e
Merge pull request #99292 from yangjunmyfm192085/run-test23
replace all occurrences of "node", nodeName to "node", klog.KRef("", nodeName)
2022-03-17 12:22:42 -07:00
Andrew Sy Kim
07ac998e3b test/images: clarify documentation around bumping test image versions
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-17 14:28:41 -04:00
Andrew Sy Kim
9b5b77ac81 test/images/agnhost: bump agnhost to v2.36
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-17 11:47:04 -04:00
Kubernetes Prow Robot
9e50a332d8
Merge pull request #108366 from smarterclayton/terminating_not_terminated
Delay writing a terminal phase until the pod is terminated
2022-03-17 08:29:21 -07:00
Antonio Ojea
1d5ad2264c client-go: update generated 2022-03-17 16:21:51 +01:00
Antonio Ojea
c732bb8348 default kubernetes agent for generated clients
Set default kubernetes agent if empty
2022-03-17 16:21:45 +01:00
SataQiu
6c57e2fced kubeadm: fix the bug that windows node failed to join IPv6 cluster due to preflight failures
Signed-off-by: SataQiu <shidaqiu2018@gmail.com>
2022-03-17 22:07:08 +08:00
Kubernetes Prow Robot
a504daa048
Merge pull request #108441 from pacoxu/pod-overload-ga
mark PodOverhead to GA in v1.24; remove in v1.26
2022-03-17 06:33:22 -07:00
Kubernetes Prow Robot
dd2596e40d
Merge pull request #108611 from divyenpatel/add-csi-topology-translation-for-in-tree-vSphere-volumes
topology translation of in-tree vSphere volume to vSphere CSI
2022-03-17 02:29:19 -07:00
Kubernetes Prow Robot
48ee98fabf
Merge pull request #108757 from liggitt/service-account-conformance
Exercise Get of serviceaccount in e2e
2022-03-17 00:41:30 -07:00
Kubernetes Prow Robot
ba1c42892f
Merge pull request #100424 from yangjunmyfm192085/run-test30
Add test cases of kubelet_pods_test.go.
2022-03-17 00:41:19 -07:00
Alex Wang
e772202e95 set PodMaxUnschedulableQDuration as 5 min 2022-03-17 15:37:34 +08:00
Alex Wang
8ae182fff2 support preemptionPolicy in describe 2022-03-17 15:22:32 +08:00
Kubernetes Prow Robot
41b29e6542
Merge pull request #99287 from anfernee/clientip
Add HNS Load Balancer Healthchecks for ExternalTrafficPolicy: Local
2022-03-16 22:57:18 -07:00
Kubernetes Prow Robot
ca2cd3b18e
Merge pull request #108742 from 196Ikuchil/fix_events_docs
Fix:Update misspelled comment in pkg/scheduler/internal/queue/events.go
2022-03-16 20:21:34 -07:00
Kubernetes Prow Robot
b4d53c2614
Merge pull request #108646 from cici37/context
Wire in request context
2022-03-16 20:21:22 -07:00
Kubernetes Prow Robot
6340b19dda
Merge pull request #108750 from andrewsykim/agnhost-netexec-termination
agnhost: support --delay-shutdown flag for the net and netexec subcommands
2022-03-16 18:35:26 -07:00
Kubernetes Prow Robot
a7740c83f2
Merge pull request #108714 from SergeyKanzhelev/podOverheadConformance
pod overhead test to be made a Conformance
2022-03-16 18:35:19 -07:00
Paco Xu
acd696266e mark PodOverhead to GA in v1.24; remove in v1.26 2022-03-17 09:30:14 +08:00
Jordan Liggitt
654dc8686b Exercise Get of serviceaccount in e2e 2022-03-16 20:24:50 -04:00
Kubernetes Release Robot
43640d7c23 CHANGELOG: Update directory for v1.23.5 release 2022-03-16 22:48:42 +00:00
Kubernetes Release Robot
205218be05 CHANGELOG: Update directory for v1.22.8 release 2022-03-16 22:38:20 +00:00
Kubernetes Release Robot
9eb3043a08 CHANGELOG: Update directory for v1.21.11 release 2022-03-16 22:27:55 +00:00
Kubernetes Prow Robot
b195a64d45
Merge pull request #108644 from Jefftree/googleapis-gnostic
googleapis/gnostic -> google/gnostic and update kube-openapi
2022-03-16 15:14:10 -07:00
Sergey Kanzhelev
6b3758bb95 pod overhead test to be made a Conformance 2022-03-16 21:35:02 +00:00
cici37
b3851d4115 Wire in request context 2022-03-16 14:14:53 -07:00
Kubernetes Prow Robot
52ab081283
Merge pull request #108593 from claudiubelu/tests/update-pod-collection-test
tests: Updates the should delete a collection of pods test
2022-03-16 13:50:23 -07:00
Kubernetes Prow Robot
1d7599b56c
Merge pull request #108419 from DangerOnTheRanger/cel-maxlength-integration
CEL MaxLength integration
2022-03-16 13:50:11 -07:00
Andrew Sy Kim
ff997ae5a0 agnhost/net: support --delay-shutdown flag
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-16 16:46:43 -04:00
Andrew Sy Kim
d981aa118f agnhost/netexec: support --delay-shutdown flag
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-16 16:46:43 -04:00
Kubernetes Prow Robot
17dcac276a
Merge pull request #108695 from cici37/errMessage
short circuit remaining validation rules if one exceeds its per-cost limit
2022-03-16 12:36:22 -07:00
Kubernetes Prow Robot
0b3629ae7d
Merge pull request #108432 from iXinqi/add-write-file-test
Add gMSA Reading and Writing Files Test Case
2022-03-16 12:36:10 -07:00
Rob Scott
1183f270cb
Updating TopologyAwareHints feature gate to be on by default
Change-Id: Ib93157b2dc5f8c2cc19cb9b400e6e64563450de1
2022-03-16 11:48:01 -07:00
Kubernetes Prow Robot
aa343fa632
Merge pull request #108628 from RomanBednar/attach-detach-message
csi_attacher: improve attach/detach timeout message
2022-03-16 11:05:15 -07:00
David Porter
d6cd51e5c0
test: Verify that nodes do not transition to Failed while ready
Signed-off-by: David Porter <david@porter.me>
2022-03-16 13:15:03 -04:00
David Porter
c70f1955c4
test: Add E2E for job completions with cpu reservation
Create an E2E test that creates a job that spawns a pod that should
succeed. The job reserves a fixed amount of CPU and has a large number
of completions and parallelism. Use to repro github.com/kubernetes/kubernetes/issues/106884

Signed-off-by: David Porter <david@porter.me>
2022-03-16 13:15:03 -04:00
Clayton Coleman
ca98714ec0
test: Add E2E for init container pod deletion
Exploring termination revealed we have race conditions in certain
parts of pod initialization and termination. To better catch these
issues refactor the existing test so it can be reused, and then test
a number of alternate scenarios.
2022-03-16 13:15:03 -04:00
Clayton Coleman
69a3820214
kubelet: Delay writing a terminal phase until the pod is terminated
Other components must know when the Kubelet has released critical
resources for terminal pods. Do not set the phase in the apiserver
to terminal until all containers are stopped and cannot restart.

As a consequence of this change, the Kubelet must explicitly transition
a terminal pod to the terminating state in the pod worker which is
handled by returning a new isTerminal boolean from syncPod.

Finally, if a pod with init containers hasn't been initialized yet,
don't default container statuses or not yet attempted init containers
to the unknown failure state.
2022-03-16 13:15:00 -04:00
196Ikuchil
1bb22fc4c8 fix:some comments 2022-03-17 01:38:05 +09:00
Kubernetes Prow Robot
9cb9a29f34
Merge pull request #108731 from mborsz/revert-105585-improvement-volume-health
Revert "add volume kubelet_volume_stats_health_abnormal to kubelet"
2022-03-16 09:15:16 -07:00
David Eads
a5d3e6cd83 allow namespace editors to evict pods 2022-03-16 11:52:56 -04:00
Kubernetes Prow Robot
3a4064c5c8
Merge pull request #108359 from ArangoGutierrez/devel/108355
Fix logging statement with missing parameter
2022-03-16 06:31:49 -07:00
Maciej Borsz
aa95513982
Revert "add volume kubelet_volume_stats_health_abnormal to kubelet" 2022-03-16 13:44:09 +01:00
Kubernetes Prow Robot
7152825c06
Merge pull request #108496 from khenidak/remove-port-opener
kube-proxy: remove port opener
2022-03-16 03:01:49 -07:00