Commit Graph

109051 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
89aaf7c02d
Merge pull request #110862 from Abirdcfly/deleteutil
cleanup: delete same utils.go in pkg/apis/storage
2022-07-01 18:23:22 -07:00
Marcus Puckett
61ebfdb201 Add cases for when --timeout=0 and tests 2022-07-01 16:58:09 -07:00
Kubernetes Prow Robot
65679c066d
Merge pull request #110922 from mpuckett159/revert-108086-bugfix/fix-pod-wait-loop
Revert "Move kubectl wait to informers with a cache to avoid hanging due to objects disappearing from the cluster"
2022-07-01 14:51:22 -07:00
Marcus Puckett
a6bd1e6ac9 Revert "Move kubectl wait to informers with a cache to avoid hanging due to objects disappearing from the cluster (#108086)"
This reverts commit 171431ca2c.
2022-07-01 13:45:18 -07:00
Kubernetes Prow Robot
be5d7aa60f
Merge pull request #110039 from pacevedom/api-coherent
Remove side effects from e2e aggregator API service test
2022-07-01 11:37:22 -07:00
Kubernetes Prow Robot
20a7253a0e
Merge pull request #109853 from ping035627/k8s-220506
Cleanup FindPluginBySpec() in VolumePluginMgr
2022-07-01 07:29:22 -07:00
JunYang
842abe9dae Execute the Run function of kubelet, no log output after failure 2022-07-01 22:24:07 +08:00
Pablo Acevedo Montserrat
34f5938abe Add readinessProbe to aggregated api service test 2022-07-01 16:22:41 +02:00
PingWang
c6b4725e55 Add failure handling of the desiredStateOfWorldPopulator start
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2022-07-01 13:56:33 +08:00
Kubernetes Prow Robot
fa16bf8e12
Merge pull request #110791 from SataQiu/fix-kubeadm-20220626
kubeadm: fix the bug that configurable KubernetesVersion not respected during kubeadm join
2022-06-30 21:53:34 -07:00
Kubernetes Prow Robot
8b0221708c
Merge pull request #110744 from neolit123/1.25-update-etcd-startup-probe
kubeadm: use non-serializable startup probe for etcd pods
2022-06-30 21:53:22 -07:00
kerthcet
5a358f478b Fix: filter out unsatisfied nodes when calling AddPod in PodTopologySpread
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-01 11:46:26 +08:00
Kubernetes Prow Robot
d2cea9475b
Merge pull request #110840 from aojea/echoserver
Remove e2e  echoserver image and replace it by agnost
2022-06-30 13:54:57 -07:00
Kubernetes Prow Robot
982743593b
Merge pull request #110798 from ii/create-event-lifecycle-test
Write Event Lifecycle Test +1 Endpoint
2022-06-30 13:54:44 -07:00
Kubernetes Prow Robot
cfc386c060
Merge pull request #110892 from yuanchen8911/prefilter
Refactor scheduler code
2022-06-30 12:42:42 -07:00
Yuan Chen
ef0456eb40 Refactor scheduler code 2022-06-30 11:27:25 -07:00
Kubernetes Prow Robot
3eb7b7a48f
Merge pull request #110874 from chendave/fix_debug
kubeadm: Force to disable debug mode for `crictl`
2022-06-30 10:42:20 -07:00
Kubernetes Prow Robot
8a7eda4f61
Merge pull request #110831 from chendave/openapi
Bump `kube-openapi` to the latest
2022-06-30 10:42:09 -07:00
Lubomir I. Ivanov
2829fc03e3 kubeadm: use non-serializable startup probe for etcd pods
As per the etcd maintainers' recommendation - startup probes
shouldn't be serialized, while the liveness probes should be.
2022-06-30 20:26:32 +03:00
Kubernetes Prow Robot
019141a13c
Merge pull request #110875 from marquiz/devel/e2e
test/e2e: fix GetCurrentKubeletConfig
2022-06-30 09:06:21 -07:00
Marcus Puckett
171431ca2c
Move kubectl wait to informers with a cache to avoid hanging due to objects disappearing from the cluster (#108086)
* move to using informers for getObjAndCheckCondition

* move to using informers for IsDeleted

* update tests to handle new informer methodology

* set minimum timeout to 1s because informer can't handle less for caching reasons

* fix null return for deletes issue
2022-06-30 09:06:08 -07:00
Kubernetes Prow Robot
4f97d6c942
Merge pull request #110889 from SataQiu/fix-kubeadm-20220630
kubeadm: improve the error message of getClusterNodeMask
2022-06-30 06:40:08 -07:00
SataQiu
2fb1941ae3 kubeadm: improve the error message of getClusterNodeMask func 2022-06-30 20:28:45 +08:00
Markus Lehtonen
2eadf30358 test/e2e: fix GetCurrentKubeletConfig
Seemingly on slow connections if the response to /configz request was
chunked the kubectl proxy was terminated before the response body was
received and read, causing unexpected EOF errors. This patch changes the
configz polling code so that the whole response body is read before
closing the proxy connection.
2022-06-30 14:57:12 +03:00
zhoumingcheng
509c487fe8 add unit test coverage for pkg/util/slice
Signed-off-by: zhoumingcheng <zhoumingcheng@beyondcent.com>
2022-06-30 15:21:37 +08:00
Dave Chen
c5b22b535b kubeadm: Force to disable debug mode for crictl
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-06-30 15:08:45 +08:00
SataQiu
5b2d6ca5df kubeadm: fix the bug that configurable KubernetesVersion not respected during kubeadm join 2022-06-30 14:47:33 +08:00
Kubernetes Prow Robot
91aca10d59
Merge pull request #108958 from 249043822/e2e-density
Fix:[Flaky test] create a sequence of pods latency/resource should be within limit when create 10 pods with 50 background pods
2022-06-29 20:18:06 -07:00
Kubernetes Prow Robot
5583f0c065
Merge pull request #110693 from psschwei/eviction-policy-link
Fix link to eviction policy in e2enode eviction test
2022-06-29 19:06:06 -07:00
Ricardo Katz
5351f6c90a Generated files for endPort promotion 2022-06-30 00:33:43 +00:00
Ricardo Katz
3e7bdbbf30 Promote endPort to GA 2022-06-30 00:33:43 +00:00
Paul S. Schweigert
b6675fce4a
fix link to eviction policy in e2enode eviction test
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
2022-06-29 19:23:49 -04:00
Dan Winship
95705350d5 proxy/iptables: Don't use KUBE-MARK-DROP for "no local endpoints"
Rather than marking packets to be dropped in the "nat" table and then
dropping them from the "filter" table later, just use rules in
"filter" to drop the packets we don't like directly.
2022-06-29 16:37:24 -04:00
Dan Winship
283218bd4c proxy/iptables: update TestTracePackets
Re-sync the rules from TestOverallIPTablesRulesWithMultipleServices to
make sure we're testing all the right kinds of rules. Remove a
duplicate copy of the KUBE-MARK-MASQ and KUBE-POSTROUTING rules.

Update the "REJECT" test to use the new svc6 from
TestOverallIPTablesRulesWithMultipleServices. (Previously it had used
a modified version of TOIPTRWMS's svc3.)
2022-06-29 16:33:13 -04:00
Dan Winship
59b7f969e8 proxy/iptables: fix up TestOverallIPTablesRulesWithMultipleServices
svc2b was using the same ClusterIP as svc3; change it and rename the
service to svc5 to make everything clearer.

Move the test of LoadBalancerSourceRanges from svc2 to svc5, so that
svc2 tests the rules for dropping packets due to
externalTrafficPolicy, and svc5 tests the rules for dropping packets
due to LoadBalancerSourceRanges, rather than having them both mixed
together in svc2.

Add svc6 with no endpoints.
2022-06-29 16:33:13 -04:00
Kubernetes Prow Robot
b2ed6ca64f
Merge pull request #109479 from ardaguclu/new-kubecachedir-env
Introduce KUBECACHEDIR environment variable to override default discovery cache dir
2022-06-29 11:44:19 -07:00
Kensei Nakada
b0d47cb380
scheduler_perf: allow users to specify default pod and node specs (#101799)
* scheduler_perf: default pod and node spec

* Fix: un-support DefaultNodeTemplatePath
2022-06-29 11:44:07 -07:00
Kubernetes Prow Robot
f045fb688f
Merge pull request #110334 from danwinship/iptables-fewer-saves
only clean up iptables chains periodically in large clusters
2022-06-29 09:48:06 -07:00
Claudiu Belu
14708f23b5 agnhost: Check symlink target's permissions for Windows
We're not interested in checking the file permissions of the
symlink itself, but it's target's permissions.
2022-06-29 09:15:47 -07:00
Dan Winship
7d3ba837f5 proxy/iptables: only clean up chains periodically in large clusters
"iptables-save" takes several seconds to run on machines with lots of
iptables rules, and we only use its result to figure out which chains
are no longer referenced by any rules. While it makes things less
confusing if we delete unused chains immediately, it's not actually
_necessary_ since they never get called during packet processing. So
in large clusters, make it so we only clean up chains periodically
rather than on every sync.
2022-06-29 11:14:38 -04:00
Dan Winship
1cd461bd24 proxy/iptables: abstract the "endpointChainsNumberThreshold" a bit
Turn this into a generic "large cluster mode" that determines whether
we optimize for performance or debuggability.
2022-06-29 11:14:38 -04:00
Dan Winship
c12da17838 proxy/iptables: Add a unit test with multiple resyncs 2022-06-29 11:14:38 -04:00
Kubernetes Prow Robot
0d9ed2c3e7
Merge pull request #110328 from danwinship/iptables-counters
Stop trying to "preserve" iptables counters that are always 0
2022-06-29 08:06:06 -07:00
Abirdcfly
1dbd9de96d
cleanup:delete same utils.go in pkg/apis/storage
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-06-29 20:54:34 +08:00
Kubernetes Prow Robot
dafa55be10
Merge pull request #110837 from SataQiu/fix-kubeadm-20220628
kubeadm: support retry mechanism for removing container in reset phase
2022-06-29 05:12:05 -07:00
Kubernetes Prow Robot
d0f5496d53
Merge pull request #110548 from benluddy/cel-unstructuredtoval-benchmark-fixture
Do test fixture setup outside cel.UnstructuredToVal benchmark loop.
2022-06-29 03:36:05 -07:00
SataQiu
3889a6cac8 kubeadm: support retry mechanism for removing container in reset phase 2022-06-29 17:54:56 +08:00
Abirdcfly
2bca77a3d9 Update golangci-lint to 1.46.2 and fix errors
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-06-29 17:42:46 +08:00
Antonio Ojea
092f7f601e remove echoserver image 2022-06-29 09:50:04 +02:00
Antonio Ojea
3204572f01 replace echoserver image with agnhost
agnhost contains the same features than echoserver.
2022-06-29 09:49:19 +02:00