Commit Graph

107927 Commits

Author SHA1 Message Date
renzheng.wang
7486d1bf1b fix comment of IngressClassParametersReferenceScopeCluster 2022-04-15 23:22:50 +08:00
Kubernetes Prow Robot
a750d8054a
Merge pull request #109487 from alculquicondor/disable-job-tracking
Disable JobTrackingWithFinalizers due to unresolved bug
2022-04-15 06:43:09 -07:00
Maciej Szulik
920fb984ef
Move path error to const and squash tests 2022-04-15 12:45:55 +02:00
Kubernetes Prow Robot
e207aabf04
Merge pull request #109488 from soltysh/fix_globmatch
Ensure that not-exist and pattern error return different results
2022-04-14 12:35:11 -07:00
Aldo Culquicondor
3b18613be8 Disable JobTrackingWithFinalizers due to unresolved bug
Change-Id: Ieeeab689ae51dfe0dc06bdca88519d0ecf66d636
2022-04-14 15:08:14 -04:00
Kubernetes Prow Robot
8dfdbd406b
Merge pull request #109473 from ii/fix-job-lifecycle-test
Fix crash in E2E Job lifecycle test when the job doesn't have annotations
2022-04-14 11:17:35 -07:00
Maciej Szulik
cc85d27a9c
Ensure that not-exist and pattern error return different results 2022-04-14 19:26:42 +02:00
Kubernetes Prow Robot
10dcc6c5f4
Merge pull request #109484 from liggitt/go-min-version
Update min golang version to 1.18.1
2022-04-14 09:20:47 -07:00
Kubernetes Prow Robot
a8c582a765
Merge pull request #109312 from MadhavJivrajani/remove-sha1-godebug
hack/jenkins: Remove GODEBUG workaround for sha1 changes
2022-04-14 07:06:46 -07:00
Jordan Liggitt
f97bc825d5 Update min golang version to 1.18.1 2022-04-14 09:53:20 -04:00
Kubernetes Prow Robot
f33ca23065
Merge pull request #109471 from justaugustus/etcd-update-353
etcd: Update to v3.5.3
2022-04-13 17:14:46 -07:00
Stephen Augustus
621c4aa599
etcd: Update container repo to gcr.io/etcd-development/etcd
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-04-13 19:04:01 -04:00
Stephen Augustus
3f85937b11
etcd: Update to v3.5.3
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-04-13 19:04:00 -04:00
Kubernetes Prow Robot
d9213f95a0
Merge pull request #109470 from serathius/image-v3.5.3
etcd: Build 3.5.3-0 image
2022-04-13 15:50:45 -07:00
Kubernetes Prow Robot
ce4b026eed
Merge pull request #109465 from cpanato/pubbot
Update publishing-bot rules for Go 1.17.9
2022-04-13 13:34:48 -07:00
Marek Siarkowicz
b0f3f015d7
Build etcd v3.5.3 image
Co-authored-by: Stephen Augustus <foo@auggie.dev>
2022-04-13 16:25:14 -04:00
Stephen Augustus
cddd83c997
Update Debian base images
- debian-base:bullseye-v1.2.0
- debian-iptables:bullseye-v1.3.0
- setcap:bullseye-v1.2.0

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-04-13 16:23:54 -04:00
Peter Hornyack
eb64e29528 Remove pjh from cluster/gce/ OWNERS files
Moved to emeritus_approvers for the windows directory - this seems
appropriate according to
https://www.kubernetes.dev/docs/guide/owners/#emeritus.
2022-04-13 18:24:20 +00:00
cpanato
e1a433b67c
Update publishing-bot rules for Go 1.17.9
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-04-13 18:41:49 +02:00
Kubernetes Prow Robot
75e49ec824
Merge pull request #109461 from cpanato/go118
[GO] Update Go to 1.18.1
2022-04-13 09:10:47 -07:00
cpanato
2e9d10e8c6
Update Go to 1.18.1
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-04-13 16:44:21 +02:00
Kubernetes Prow Robot
4cdeab4696
Merge pull request #109436 from JamesLaverack/revert-108290
Revert "Introduce APIs to support multiple ClusterCIDRs (#108290)"
2022-04-13 07:02:46 -07:00
James Laverack
7d57d5c70d Revert "Introduce APIs to support multiple ClusterCIDRs (#108290)"
This reverts commit b9792a9dae.
2022-04-13 13:58:19 +01:00
Stephen Heywood
931ad8944d Fix e2e test, assignment to entry in nil map 2022-04-13 15:24:47 +12:00
Kubernetes Prow Robot
65178fec72
Merge pull request #109442 from ahg-g/ahg-fix
Correct event registration for multiple scheduler plugins
2022-04-12 16:48:46 -07:00
Abdullah Gharaibeh
6d499ee9ea Correct event registration for multiple scheduler plugins. 2022-04-12 18:32:24 -04:00
Kevin Delgado
581ac7f446 Add Apply and ApplyStatus methods to dynamic ResourceInterface 2022-04-12 21:55:40 +00:00
Miciah Masters
5832b84200 kubelet: parseResolvConf: Handle "search ."
When parsing a resolv.conf file that has "search .", parseResolvConf should
accept the "." entry verbatim.  Before this commit, parseResolvConf
unconditionally trimmed the "." suffix, which in the case of "." resulted
in a "" entry (that is, the empty string).  This empty entry could lead
parseResolvConf to produce a resolv.conf file with "search ".  Resolvers
could fail to parse such a resolv.conf file from parseResolvConf, thus
breaking DNS resolution in pods.  After this commit, parseResolvConf
accepts a resolv.conf file with "search ." and passes the "." entry through
verbatim to produce a valid resolv.conf file.  The "." suffix is still
trimmed for any entry that does not solely comprise ".".

Follow-up to commit a215a88d91.

* pkg/kubelet/network/dns/dns.go (parseResolvConf): Handle a "." entry in
the search path by copying it verbatim.
* pkg/kubelet/network/dns/dns_test.go (TestParseResolvConf): Add a test
case for "search .".
2022-04-12 15:39:31 -04:00
Maciej Szulik
8074ef5867
Export function returning kustomize version 2022-04-12 19:44:38 +02:00
Abhijit Hoskeri
ea6e653db1 conformance-test: use kubelet healthz port.
The readonly port could be disabled.

Since we are only using the /healthz endpoint,
we can use the healthz port.

Change-Id: If004f2888ca5847b9e2d8c02d5615bed52d94b24
2022-04-11 16:57:29 -07:00
Vladimir Nachev
9b4927be15
Fix typo in TokenRequest doc string 2022-04-11 23:58:06 +03:00
Dan Winship
0ecf11a23b proxy/iptables: add a general test of internal vs external traffic
Add TestInternalExternalMasquerade, which tests whether various
packets are considered internal or external for purposes of traffic
policy, and whether they get masqueraded, with and without
--masquerade-all, with and without a working LocalTrafficDetector.
(This extends and replaces the old TestMasqueradeAll.)
2022-04-11 13:23:08 -04:00
Dan Winship
f4261283ac proxy/iptables: add packet-flow-based tests of iptables rules
Add a new framework for testing out how particular packets would be
handled by a given set of iptables rules. (eg, "assert that a packet
from 10.180.0.2 to 172.30.0.41:80 gets NATted to 10.180.0.1:80 without
being masqueraded"). Add tests using this to all of the existing unit
tests.

This makes it easier to tell whether a given code change has any
effect on behavior, without having to carefully examine the diffs to
the generated iptables rules.
2022-04-11 13:23:08 -04:00
Davanum Srinivas
984037d4f7
Set default flake attempt to 1 (not 2)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-04-10 20:24:17 -04:00
Kubernetes Prow Robot
7380fc735a
Merge pull request #109109 from mborsz/exec_time
Add apf_execution_time log field.
2022-04-08 07:50:43 -07:00
Kubernetes Prow Robot
9984048bd5
Merge pull request #109365 from alculquicondor/fix-integration
Retry Job update on conflict
2022-04-08 05:04:42 -07:00
Elana Hashman
eb540aaa4a
Update OWNERS file for stable metrics 2022-04-07 13:22:39 -07:00
Aldo Culquicondor
77d9243623 Retry Job update on conflict
Once JobReadyPods is enabled, the Job status might be updated at a later stage after the pods are running.

Change-Id: I4c13c9e55ab7e11b1f9428d6cf0a560a41be1c6a
2022-04-07 09:38:20 -04:00
Kubernetes Prow Robot
707b8b6efd
Merge pull request #109362 from deepakkinni/rollback_alpha_v1
Rollback HonorPVReclaimPolicy feature to Alpha
2022-04-07 05:41:57 -07:00
Dan Winship
cd55f35306 proxy/iptables: tweak sortIPTablesRules a bit
It's confusing to have the "this must be the last rule" get sorted to
be the first rule in KUBE-SERVICES...
2022-04-07 08:38:14 -04:00
Dan Winship
d9ca665551 proxy/iptables: fix up some test case comments 2022-04-07 08:38:14 -04:00
Dan Winship
261f4f9e2d proxy/iptables: remove redundant test
We originally had one HealthCheckNodePort test that used
assertIPTablesRulesEqual() and one that didn't, but later I went
through and made all the tests use assertIPTablesRulesEqual() and
didn't notice that this resulted in there now being two
nearly-identical HealthCheckNodePort tests.
2022-04-07 08:36:34 -04:00
Deepak Kinni
8bfd9d63cf Rollback HonorPVReclaimPolicy feature to Alpha
Signed-off-by: Deepak Kinni <dkinni@vmware.com>
2022-04-07 16:10:50 +05:30
Kubernetes Prow Robot
df1a3ddc98
Merge pull request #109205 from deepakkinni/fix_fin_v1
Add or Remove PV deletion protection finalizer based on PV recalimPolicy
2022-04-07 02:57:57 -07:00
Deepak Kinni
a7b1fcba40 Add or Remove PV deletion protection finalizer considering the recalimPolicy
Signed-off-by: Deepak Kinni <dkinni@vmware.com>
2022-04-07 00:48:35 +05:30
Kubernetes Prow Robot
21184400a4
Merge pull request #109340 from liggitt/revert-generate-name
Revert generate name
2022-04-06 10:38:55 -07:00
Fabio Bertinatto
5ccef5c25e test/e2e/storage: replace hardcoded value with custom timeout in cleanup routine 2022-04-06 14:25:40 -03:00
Jordan Liggitt
e570744ca9 Revert "add test to dry-run for unwanted generated values"
This reverts commit 48994c1518.
2022-04-06 12:34:49 -04:00
Jordan Liggitt
adb7621919 Revert "remove unwanted values returned from dry-run"
This reverts commit 60c1d58d02.
2022-04-06 12:34:42 -04:00
kerthcet
fbf07e989c fix: forget to call close() in error
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-06 22:21:23 +08:00