Commit Graph

116719 Commits

Author SHA1 Message Date
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
kannon92
0819d34204 using parsers in applyDefaultImageTag 2023-05-15 15:53:47 +00: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
Kubernetes Prow Robot
87d8c4ed0a
Merge pull request #117139 from pohly/test-integration-race-detection-update-utils
dependencies: bump k8s.io/utils
2023-05-15 07:49:28 -07:00
Kubernetes Prow Robot
52353a2e4a
Merge pull request #117994 from sanposhiho/patch-6
cleanup unused variables for v1beta2 component config
2023-05-15 06:01:29 -07:00
Yuki Iwai
1ca8f84eed Scheduler: Pass the supported nodeSelectorOperators to the field.NotSupported
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2023-05-15 21:43:00 +09:00
Patrick Ohly
d85b91f343 scheduler-perf: measure workload runtime and relabel workloads
The goal is to only label workloads as "performance" which actually run long
enough to provide useful metrics. The throughput collector samples once per
second, so a workload should run at least 5, better 10 seconds to get at least
a minimal amount of samples for the percentile calculation.

For benchstat analysis of runs with sufficient repetitions to get statistically
meaningful results, each workload shouldn't run more than one minute, otherwise
before/after analysis becomes too slow.

The labels were chosen based on benchmark runs on a reasonably fast desktop. To
know how long each workload takes, a new "runtime_seconds" benchmark result
gets added.
2023-05-15 14:33:40 +02:00
Kubernetes Prow Robot
714b165af8
Merge pull request #117901 from ardaguclu/use-getter-allowed-cmds
Use getter function for plugin subcommand resolution
2023-05-15 02:27:27 -07:00
Sascha Grunert
aa405c8aac
Allow runtimes to provide additional context on CRI pull errors
Right now container runtimes have no way to provide additional context
to the pull errors. We now loosen the constraints and check for
additional messages after the actual CRI errors, which allows to enrich
the verbosity of the warning events, for example:

```
Warning  Failed     2s (x3 over 43s)   kubelet            Failed to pull image "localhost:5000/foo": RegistryUnavailable: pinging container registry localhost:5000: Get "http://localhost:5000/v2/": dial tcp [::1]:5000: connect: connection refused
```

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-05-15 09:08:14 +02:00
Patrick Ohly
83fb5a50bc dependencies: bump k8s.io/utils
This includes a fix for a race condition.
2023-05-15 08:58:05 +02:00
Arda Güçlü
daebf1c735 Simplify plugin resolution check function 2023-05-15 08:51:46 +03:00
Kubernetes Prow Robot
f70c26d495
Merge pull request #117919 from dlipovetsky/kubeadm-etcd-log-message-format
kubeadm: Remove leading zeros from etcd member ID in log messages
2023-05-14 20:09:38 -07:00
Kubernetes Prow Robot
e425a6f6e4
Merge pull request #117904 from HeavenTonight/master
fix:translations zh_CN LC_MESSAGES k8s.po error
2023-05-14 20:09:27 -07:00
Paco Xu
f562375c8a add changelog for kube-addon-manager v9.1.7 2023-05-15 09:39:45 +08:00
Riaan Kleinhans
be4c4a51ea
Update pending_eligible_endpoints.yaml 2023-05-15 10:14:38 +12:00
Stephen Heywood
d34d4755ae Promote APIResources e2e test to Conformance 2023-05-15 09:53:31 +12:00
Kubernetes Prow Robot
aae20dcb78
Merge pull request #118000 from daman1807/proxy-ipvs-reviewer
proxy/ipvs: added daman1807 as reviewer
2023-05-14 13:51:26 -07:00
Kubernetes Prow Robot
3d2989600a
Merge pull request #117958 from humblec/gcfg.v1
deps: go-gcfg update to the v1.2.3
2023-05-14 12:51:37 -07:00
Kubernetes Prow Robot
11218f10aa
Merge pull request #117061 from AxeZhan/duplicate_validation
remove duplicate validation for csi
2023-05-14 12:51:26 -07:00
Daman Arora
a0133b7cc4 proxy/ipvs: added daman1807 as reviewer
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2023-05-14 16:29:43 +05:30
Humble Chirammal
dcefc42b35 update vendor dependencies for the change
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-14 12:34:48 +05:30
Humble Chirammal
ae74923878 etcd depdencies are updated to v3.5.9
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-14 12:24:40 +05:30
Kubernetes Prow Robot
fda4ca0d8a
Merge pull request #117965 from daman1807/fix/ipvs-ipv6-healthcheck
proxy/ipvs: use healthzServer for instantiating the IPVS IPv6 proxier
2023-05-13 12:29:37 -07:00
Kubernetes Prow Robot
4f5a2256f9
Merge pull request #117428 from cbandy/etcd-testing-setenv
Replace os.Setenv with testing.T.Setenv in tests
2023-05-13 12:29:26 -07:00
Kubernetes Prow Robot
6ca4f541d5
Merge pull request #117987 from dims/update-the-cgroups-v2-toleration-in-local-up-cluster
Update the cgroups v2 toleration in local-up-cluster
2023-05-13 10:45:26 -07:00
Kensei Nakada
13cef6a754
cleanup unused variables for v1beta2 component config 2023-05-14 00:22:25 +09:00
Jordan Liggitt
815578295a
Revert "support short name for flowschema and prioritylevelconfiguration"
This reverts commit 3dd0c41663.
2023-05-13 11:11:04 -04:00
Jordan Liggitt
72202f9a00
Revert "add shortnames for mutatingwebhookconfigurations and validatingwebhookconfigurations"
This reverts commit 7514d8b333.
2023-05-13 11:10:55 -04:00
Kubernetes Prow Robot
9bb6db25fc
Merge pull request #117950 from rjsadow/master
fix: use dl.k8s.io, not kubernetes-release bucket
2023-05-13 06:47:26 -07:00
Stephen Kitt
45836971f2
cli: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-13 14:03:46 +02:00
Ricky Sadowski
8580c116d5 fix: use dl.k8s.io, not kubernetes-release bucket
This PR updates changes related references to the legacy
release bucket, excluding CHANGELOG updates.

Signed-off-by: Ricky Sadowski <richard.j.sadowski@gmail.com>
2023-05-13 10:57:41 +00:00
Kubernetes Prow Robot
d8f60a1e8c
Merge pull request #117959 from humblec/openconsensus
opencensus update to v0.24.0
2023-05-12 21:25:36 -07:00
Kubernetes Prow Robot
d62754da57
Merge pull request #117923 from humblec/etcd-4
update golang version of etcd build to 1.19.9
2023-05-12 21:25:25 -07:00
Daniel Lipovetsky
ef9f8d7c0c
kubeadm: Remove leading zeros from etcd member ID in log messages 2023-05-12 17:38:44 -07:00
Daniel Lipovetsky
ff4c6916ec
kubeadm: Fix log message when etcd member is added as learner 2023-05-12 17:38:44 -07:00
Davanum Srinivas
196e2f041b
Update the cgroups v2 toleration in local-up-cluster
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-05-12 17:40:38 -04:00
Kubernetes Prow Robot
8479db5876
Merge pull request #117946 from lavalamp/lavalamp-taking-a-break
lavalamp is taking a long break
2023-05-12 14:34:47 -07:00
John Howard
7248b9263f
Fix comments on InformerFor 2023-05-12 13:23:17 -07:00
Kubernetes Prow Robot
53636bc780
Merge pull request #117914 from dims/stabilize-local-up-cluster-in-our-CI
Stabilize local-up-cluster in our CI
2023-05-12 10:39:01 -07:00
Clayton Coleman
6ac1bae281
test: Improve debug output of init container tests
When certain status conditions are not expected, we need to see
the nested objects, but %#v doesn't handle pointers well. Output
as simple encoded JSON.
2023-05-12 12:57:28 -04:00