Commit Graph

116203 Commits

Author SHA1 Message Date
Antoine Pelisse
559d12fcce managedfields: Create NewFakeFieldManager
And simplify how a lot of the fakes are created. Notably, the converter
was never really used to do anything so this is simplified.
2023-05-16 13:03:48 -07:00
Antoine Pelisse
45853e20ae openapi: Create client -> TypeConverter function
Allows creating a typeconverter from a client (i.e. by taking the data
of the client and formatting it so that one can create a type
converter).
2023-05-16 13:03:48 -07:00
Kubernetes Prow Robot
2f0c2e50d4
Merge pull request #117036 from haoruan/bugfix/warning-on-deprecated-annotations
emit warning on deprecated annotation volume.beta.kubernetes.io/storage-class
2023-05-16 11:59:37 -07:00
Stephen Heywood
45603efecb Create e2e test for PodEphemeralcontainers endpoints
e2e test validates the following 2 endpoints
- readCoreV1NamespacedPodEphemeralcontainers
- replaceCoreV1NamespacedPodEphemeralcontainers
2023-05-17 06:30:43 +12:00
Kubernetes Prow Robot
3588d091ff
Merge pull request #117962 from humblec/gomega-equal
e2e: use gomega.Expect instead of framework.ExpectEqual in windows/*
2023-05-16 09:53:47 -07:00
Kubernetes Prow Robot
53772982be
Merge pull request #116829 from mengjiao-liu/contextual-logging-scheduler-plugin-volumezone
Migrated the volumezone scheduler plugin to use contextual logging
2023-05-16 09:53:35 -07:00
Kubernetes Prow Robot
54d2ced4d6
Merge pull request #117985 from howardjohn/patch-2
Fix comments on InformerFor
2023-05-16 08:11:48 -07:00
Kubernetes Prow Robot
d91fd5138e
Merge pull request #117753 from humblec/mitchelle
dependencies: update gh/mitchellh/go-wordwrap
2023-05-16 08:11:36 -07:00
Humble Chirammal
e3eb4bd0c5 updating dependencies.yaml for etcd v3.5.9 version
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-16 20:27:17 +05:30
Humble Chirammal
247ea7fc78 use upstream etcd github path instead of redirecting one
In the installation script we use coreos/etcd path which redirect
to etcd-io/etcd. This commit replace the same.

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-16 20:11:03 +05:30
Humble Chirammal
6616e1f238 update etcd version in install.sh to 3.5.9
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-16 20:11:03 +05:30
Kubernetes Prow Robot
8d491e676a
Merge pull request #118018 from humblec/feature-gate-storage-removal
remove CSIStorageCapacity featuregate
2023-05-16 07:07:48 -07:00
Kubernetes Prow Robot
54dbb93388
Merge pull request #117999 from kkkkun/bump-etcd-image-3.5.9-0
etcd: Build image 3.5.9-0
2023-05-16 07:07:36 -07:00
Dan Winship
0e456dcf86 Clarify localhost nodeport comments/errors 2023-05-16 09:14:11 -04:00
Dan Winship
a744a186b6 Rename GetNodeAddresses to GetNodeIPs, return net.IP 2023-05-16 09:14:09 -04:00
Dan Winship
2ca215fd99 Add NodePortAddresses.MatchAll()
Rather than having GetNodeAddresses() return a special magic value
indicating that it matches all IPs, add a separate method to check
that. (And have GetNodeAddresses() just return the IPs as expected
instead.)
2023-05-16 09:09:24 -04:00
Kubernetes Prow Robot
2d742bb8ab
Merge pull request #118045 from Nordix/annotate-fix/adil
Changing annotate PrintFlags from annotate to annotated
2023-05-16 06:07:35 -07:00
adil ghaffar
d6e488b998
Changing annotate PrintFlags from annotate to annotated 2023-05-16 14:39:15 +03:00
Humble Chirammal
d8e82b1417 e2e: use gomega.Expect instead of framework.ExpectEqual in windows/*
stop using deprecated framework.ExpectEqual

Ref#115961

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-16 16:33:21 +05:30
Kubernetes Prow Robot
31d0821ab4
Merge pull request #117995 from liggitt/discovery-tests
Add tests to capture discovery output
2023-05-16 01:41:43 -07:00
Kubernetes Prow Robot
03b2e84183
Merge pull request #113209 from luozhiwenn/personal/etc-host
ensure etc-host file permission is 644 whatever umask is
2023-05-16 01:41:35 -07:00
Kubernetes Prow Robot
a31899a6fd
Merge pull request #118030 from pohly/dra-kind-cluster-fix
test/e2e/dra: fix kind cluster creation
2023-05-16 00:41:36 -07:00
Stephen Kitt
3680a5230c
Bump docker/distribution to 2.8.2
k/k doesn't use much code from docker/distribution so this doesn't
change anything that's actually relevant, but 2.8.1 is identified as
affected by CVE-2022-28391 and CVE-2023-2253; bumping to 2.8.2 avoids
k/k triggering scanners on those CVEs.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-16 09:20:40 +02:00
kerthcet
3ac7497361 Chore: cleanup in interpodaffinity
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-05-16 14:46:15 +08:00
Patrick Ohly
073b4cf66a test/e2e/dra: fix kind cluster creation
The nightly containerd binary no longer works in the current kind base images:

   May 15 16:32:31 kind-worker containerd[222]: /usr/local/bin/containerd:
   /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by
   /usr/local/bin/containerd)

kind now builds containerd directly with the base images. The official base
images still use containerd 1.6, so we have to use a special base image that
was prepared for this purpose.

Because the containerd config can be patched through kind, we don't need to
modify the generated node image anymore.
2023-05-16 08:11:43 +02:00
Kubernetes Prow Robot
70033bf843
Merge pull request #114606 from tuunit/bugfix-case-sensitive-headers
fix: remove case sensitive checking of probe headers
2023-05-15 22:05:36 -07:00
Humble Chirammal
3b69fa2fa5 dependencies: update github.com/mitchellh/go-wordwrap v1.0.1
https://github.com/mitchellh/go-wordwrap/compare/v1.0.0...v1.0.1

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-16 10:18:52 +05:30
Hao Ruan
19ae103e82 emit warning on deprecated annotation volume.beta.kubernetes.io/storage-class 2023-05-16 10:19:01 +08:00
Kubernetes Prow Robot
bc41f37e85
Merge pull request #118023 from liggitt/unwanted-deps
Update unwanted deps
2023-05-15 18:33:14 -07:00
Jordan Liggitt
517c5b75c5
Update unwanted deps 2023-05-15 20:35:58 -04:00
Kubernetes Prow Robot
ffb4172ff1
Merge pull request #115754 from linxiulei/sched
Start informers after leader election
2023-05-15 15:41:36 -07:00
Kubernetes Prow Robot
ea4cc84cf7
Merge pull request #118014 from liggitt/mapstructure
Update kube-openapi, drop mapstructure
2023-05-15 14:41:35 -07:00
Jordan Liggitt
d6d1dbdd82
Update kube-openapi, drop mapstructure 2023-05-15 16:42:00 -04:00
Kubernetes Prow Robot
8411524daa
Merge pull request #117573 from pacoxu/use-allowlist
user --prune-allowlist in kube-addons.sh
2023-05-15 13:21:58 -07:00
Kubernetes Prow Robot
4d4d92808b
Merge pull request #117544 from ruquanzhao/removeUndefinedConvert
fix undefined convertion
2023-05-15 13:21:47 -07:00
Kubernetes Prow Robot
38652a8c31
Merge pull request #116531 from my-git9/ut-conditions
[UT] add ut for pkg/client/conditions
2023-05-15 13:21:35 -07:00
Eric Lin
a52dcd0d9f Add DelayCacheUntilActive option to start informers after leader election
If scheduler fails to be active (elected if leader election is enabled),
setting this option will not start informers so that to avoid memory
overhead.

Signed-off-by: Eric Lin <exlin@google.com>
2023-05-15 19:52:04 +00:00
Kubernetes Prow Robot
f84ff3d052
Merge pull request #117813 from pohly/scheduler-perf-test-runtime
scheduler-perf: measure workload runtime and relabel workloads
2023-05-15 12:19:18 -07:00
Kubernetes Prow Robot
2a4bf451b2
Merge pull request #117547 from wojtek-t/apf_dynamic_retry_after
Return dynamic RetryAfter header from APF
2023-05-15 12:19:07 -07:00
Jordan Liggitt
7c554ea1d9
Regenerate discovery fixtures 2023-05-15 14:18:19 -04:00
Jordan Liggitt
2ab6fd3590
Capture discovery API output in test fixtures 2023-05-15 14:18:18 -04:00
Kubernetes Prow Robot
23ea6996d2
Merge pull request #118015 from tenzen-y/list-supprted-operators
Scheduler: Pass the supported nodeSelectorOperators to the field.NotSupported
2023-05-15 11:05:39 -07:00
Kubernetes Prow Robot
1d6158e11b
Merge pull request #117993 from liggitt/shortnames
Undo 1.28 shortname additions for now
2023-05-15 11:05:27 -07:00
John Howard
3867569ae2 codegen 2023-05-15 10:16:18 -07:00
Kubernetes Prow Robot
1487fc762f
Merge pull request #117982 from jpbetz/sig-roles-jpbetz
Add api-machinery TL owners permissions for jpbetz
2023-05-15 09:07:29 -07:00
Joe Betz
f0f92853ad Add api-machinery TL owners permissions for jpbetz 2023-05-15 11:09:54 -04:00
Humble Chirammal
e4dd6f68dc remove CSIStorageCapacity featuregate
This feature gates were GAed in Kubernetes v1.24 and supposed to be
removed in kubernetes >=v1.26. This commit remove the same.

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-15 20:26:42 +05:30
Dan Winship
9ac657bb94 Make NodePortAddresses explicitly IP-family-specific
Both proxies handle IPv4 and IPv6 nodeport addresses separately, but
GetNodeAddresses went out of its way to make that difficult. Fix that.

This commit does not change any externally-visible semantics, but it
makes the existing weird semantics more obvious. Specifically, if you
say "--nodeport-addresses 10.0.0.0/8,192.168.0.0/16", then the
dual-stack proxy code would have split that into a list of IPv4 CIDRs
(["10.0.0.0/8", "192.168.0.0/16"]) to pass to the IPv4 proxier, and a
list of IPv6 CIDRs ([]) to pass to the IPv6 proxier, and then the IPv6
proxier would say "well since the list of nodeport addresses is empty,
I'll listen on all IPv6 addresses", which probably isn't what you
meant, but that's what it did.
2023-05-15 10:53:44 -04:00
Dan Winship
f7bb9a9a0a Remove a mostly-unused variable in the ipvs proxy
It probably was used for something else in the past but it's pointless
now.
2023-05-15 10:53:21 -04:00
Kubernetes Prow Robot
3a65b989e3
Merge pull request #117645 from humblec/etcd-2
dependencies: update etcd dependencies to v3.5.9
2023-05-15 07:49:39 -07:00