Commit Graph

109005 Commits

Author SHA1 Message Date
Anton Protopopov
fd94ff6487 agnhost/netexec: fix an error message
The error message inside the UDP server used a SCTP port instead of a UDP port
2022-06-17 16:03:33 +00:00
Anton Protopopov
8c76845b03 test/e2e/network: fix a bug in the hostport e2e test
The hostport e2e test (sonobuoy run --e2e-focus 'validates that there is no
conflict between pods with same hostPort but different hostIP and protocol')
checks, in particular, that two pods with the same hostPort, the same hostIP,
but different L4 protocols can coexist on one node.

In order to do this, the test creates two pods with the same hostIP:hostPort,
one TCP-based, another UDP-based. However, both pods listen on both protocols:

    netexec --http-port=8080 --udp-port=8080

This can happen that a CNI which doesn't distinguish between TCP and UDP
hostPorts forwards all traffic, TCP or UDP, to the same pod. As this pod
listens on both protocols it will reply to both requests, and the test
will think that everything works properly while the second pod is indeed
disconnected. Fix this by executing different commands in different pods:

    TCP: netexec --http-port=8080 --udp-port=-1
    UDP: netexec --http-port=8008 --udp-port=8080

The TCP pod now doesn't listen on UDP, and the UDP pod doesn't listen on TCP on
the target hostPort. The UDP pod still needs to listen on TCP on another port
so that a pod readiness check can be made.
2022-06-17 13:06:41 +00:00
kerthcet
0f4b549e28 nominate kerthcet as sig scheduler reviewer
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-06-17 19:25:34 +08:00
Dave Chen
aa5dfd8b28 kubeadm: fail faster when the version is not provided
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-06-17 16:42:56 +08:00
Kubernetes Prow Robot
19c8a21271
Merge pull request #110204 from humblec/addon
remove deprecated label and update snapshot controller version
2022-06-16 21:52:32 -07:00
Kubernetes Release Robot
b38f355726 CHANGELOG: Update directory for v1.24.2 release 2022-06-17 03:43:36 +00:00
Kubernetes Release Robot
7a1a4e0670 CHANGELOG: Update directory for v1.21.14 release 2022-06-17 03:39:17 +00:00
Kubernetes Prow Robot
e7ced8ddcc
Merge pull request #110616 from MrHohn/revert-108787-cadvisor_stat_provider_filter_0
Revert "filter out terminated containers in cadvisor_stats_provider"
2022-06-16 19:20:32 -07:00
Kubernetes Prow Robot
7992398725
Merge pull request #110451 from lzhecheng/fix-spread-pods
[e2e] Should spread Pods to schedulable cluster zones
2022-06-16 14:37:05 -07:00
Kubernetes Release Robot
2f8aeb7167 CHANGELOG: Update directory for v1.23.8 release 2022-06-16 20:20:58 +00:00
Kubernetes Release Robot
a12f31dd40 CHANGELOG: Update directory for v1.22.11 release 2022-06-16 19:43:47 +00:00
Kubernetes Prow Robot
92c5f3f01c
Merge pull request #110583 from Riaankl/node_status_ineligible
Update ineligible_endpoints.yaml
2022-06-16 12:33:04 -07:00
Riaan Kleinhans
39d3d9439f
Update ineligible_endpoints.yaml 2022-06-17 06:24:35 +12:00
Kubernetes Prow Robot
80c19baa11
Merge pull request #110557 from ldsdsy/modify
Fixing grammar in e2e Windows test logging
2022-06-16 10:14:48 -07:00
Kubernetes Prow Robot
4e17f88b7e
Merge pull request #110506 from yangjunmyfm192085/removedockershim-des
Remove the description of the docker shim from the kubelet
2022-06-16 08:54:48 -07:00
Kubernetes Prow Robot
734fa8e830
Merge pull request #110624 from swatisehgal/update-staging-readme
staging-readme: Document the need to add doc.go in a staging repo
2022-06-16 07:00:49 -07:00
Swati Sehgal
22ff20a0a0 staging-readme: Document the need to add doc.go in a staging repo
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-06-16 13:48:13 +01:00
Humble Chirammal
adefd5db42 remove deprecated label and update snapshot controller version
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-06-16 16:42:45 +05:30
ldsdsy
2a2d33b2b1 Modify annotation syntax errors 2022-06-16 16:46:51 +08:00
Arda Güçlü
15512210e3 (kubectl apply): Split patching types into functions and refactorings
Patch type determination is done by checking existence
of resource in schema and if it exists, it uses strategic merge patch.
Otherwise, like for CRDs, it uses merge patch type.

Currently, this code portion is not easily extensible and this PR
splits required checks into their own function to increase extensibility.
2022-06-16 11:35:11 +03:00
Kubernetes Release Robot
10c37c5942 CHANGELOG: Update directory for v1.25.0-alpha.1 release 2022-06-16 04:32:52 +00:00
Kubernetes Prow Robot
549e1b4fb6
Merge pull request #110448 from twilight0620/test0608
add some uts of group_version.go
2022-06-15 18:50:48 -07:00
JUN YANG
8567f2bd53
Update cmd/kubelet/app/server.go
Co-authored-by: Danielle <dani@builds.terrible.systems>
2022-06-16 08:29:14 +08:00
Zihong Zheng
9e8d8286ca
Revert "filter out terminated containers in cadvisor_stats_provider" 2022-06-15 16:09:37 -07:00
Kubernetes Prow Robot
4b024fc4ee
Merge pull request #110459 from wangyysde/promote-pod-security-to-ga
PodSecurity: promote config and feature gate to GA
2022-06-15 14:41:22 -07:00
Kubernetes Prow Robot
7de86ff198
Merge pull request #110379 from marosset/windows-pause-image-base
Updating base container image for pause image on Windows
2022-06-15 14:41:10 -07:00
Matthew Cary
3af09ab04a add TestAutodeleteOwnerRefs statefulset integration test
Change-Id: I3aa3220df59c33fc40f1d8e08e055caa1f6fb4a3
2022-06-15 13:33:02 -07:00
Kubernetes Prow Robot
349efaabf8
Merge pull request #110436 from nicks/nicks/issue-1108
client-go: fix panic in ConfirmUsable validation
2022-06-15 13:19:10 -07:00
JunYang
8bfea65f69 Remove the description of the docker shim from the kubelet 2022-06-16 00:01:34 +08:00
Kubernetes Prow Robot
2b51b2595a
Merge pull request #110604 from wojtek-t/fix_leaking_goroutines_9
Fix leaking goroutines in multiple integration tests
2022-06-15 09:01:18 -07:00
Wojciech Tyczyński
6b59525746 Clean shutdown of flowcontrol integration tests 2022-06-15 16:53:42 +02:00
Wojciech Tyczyński
57242e3cbb Clean shutdown of openapi integration tests 2022-06-15 16:40:54 +02:00
Kubernetes Prow Robot
700fea3d42
Merge pull request #110558 from wespanther/update-debian
Update Debian base images to latest
2022-06-15 07:23:17 -07:00
Kubernetes Prow Robot
b1e2af45e4
Merge pull request #110598 from neolit123/1.25-kubelet-config-patches
kubeadm: ensure kubelet config patch results are in YAML
2022-06-15 04:43:17 -07:00
Lubomir I. Ivanov
81b3540206 kubeadm: ensure kubelet patch results are in YAML
Once we patch a kubelet configuration file, the patched output
is in JSON. Make sure it's converted back to YAML, given
the kubelet config in the cluster and on disk is always in YAML.

Add unit test for the new function applyKubeletConfigPatches()
2022-06-15 13:38:04 +03:00
Kubernetes Prow Robot
0a7f45d5ba
Merge pull request #110588 from apeltop/fix-typo
Fix typos
2022-06-15 02:23:17 -07:00
SataQiu
299e745127 kubeadm: add the preferred pod anti-affinity for CoreDNS Deployment 2022-06-15 14:38:12 +08:00
apeltop
e530336b18 fix typos 2022-06-15 13:38:48 +09:00
twilight0620
94331dc71b add some uts of group_version.go 2022-06-15 09:46:00 +08:00
wangyysde
ab66a38194 PodSecurity: promote config and feature gate to GA
Signed-off-by: wangyysde <net_use@bzhy.com>
2022-06-15 09:29:47 +08:00
Adam Malcontenti-Wilson
af3594dfa5 disruptioncontroller: check for scale subresource correctly 2022-06-15 08:52:47 +10:00
Riaan Kleinhans
6d19ddc7bf
Update ineligible_endpoints.yaml 2022-06-15 10:27:33 +12:00
Kubernetes Prow Robot
10066243df
Merge pull request #110365 from spencerhance/epslice-recycle-bug
Fix unnecessary recreation of placeholder EndpointSlice
2022-06-14 13:15:34 -07:00
Kubernetes Prow Robot
8e541911b8
Merge pull request #110574 from SataQiu/test-speed-20220614
Using t.Run() in integration test TestApplyAlsoCreates
2022-06-14 12:07:45 -07:00
Kubernetes Prow Robot
e08bf9cce6
Merge pull request #110469 from prasita123/pr_branch
add missing error handling steps
2022-06-14 12:07:33 -07:00
Kubernetes Prow Robot
8cb719eed0
Merge pull request #110571 from pohly/log-check-repo
hack/tools: use logcheck v0.1.0 from sigs.k8s.io/logtools/logcheck
2022-06-14 10:59:52 -07:00
Kubernetes Prow Robot
daac87bf99
Merge pull request #110561 from Shubham82/extend_Description
RBAC: Modify the Description for the apiGroup.
2022-06-14 10:59:44 -07:00
Kubernetes Prow Robot
de5982637a
Merge pull request #110378 from lucacome/bump-grpc
Bump grpc to v1.47.0
2022-06-14 10:59:33 -07:00
Spencer Hance
5f8dc48fbe Fix unnecessary recreation of placeholder EndpointSlice
Fixes Issue 108231 by checking `slicesToDelete` in the EndpointSlice
reconciler for a pre-existing placeholder slice.

Also adds a helper function for comparing the slices.
2022-06-14 09:24:38 -07:00
Kubernetes Prow Robot
5503bb0570
Merge pull request #110529 from wojtek-t/fix_leaking_goroutines_7
Fix leaking goroutines in multiple integration tests
2022-06-14 09:09:54 -07:00