Commit Graph

120918 Commits

Author SHA1 Message Date
Kensei Nakada
f29d6970c9 doc(scheduler_perf): enrich the documentation 2024-01-15 08:50:08 +00:00
Lukasz Szaszkiewicz
7773b0f53f client-go/features: introduce WatchListClient feature gate 2024-01-15 09:45:57 +01:00
Kubernetes Prow Robot
8bc0ed16cd
Merge pull request #122640 from carlory/kubectl-describe-vac
kubectl: vac support ResourceDescriber
2024-01-15 06:47:55 +01:00
Kubernetes Prow Robot
59f25b5c2d
Merge pull request #122776 from thockin/codegen_use_long_flag_names
codegen: Use long flag names for clarity
2024-01-15 03:27:31 +01:00
Daniel Hu
d652596e42 Remove redundant string conversions in print statements
Signed-off-by: Daniel Hu <farmer.hutao@outlook.com>
2024-01-15 09:57:35 +08:00
Tim Hockin
0d366dd99a
codegen: Use long flag names for clarity 2024-01-14 16:12:09 -08:00
Kubernetes Prow Robot
dcee8834b5
Merge pull request #122775 from thockin/codegen_s_base_file_g
update-codegen: rename "base"->"file" for clarity
2024-01-15 01:08:39 +01:00
Kubernetes Prow Robot
f174bfd067
Merge pull request #122770 from thockin/run_test_instrumentation_updates
Run test/instrumentation/update-*
2024-01-15 01:08:32 +01:00
Kubernetes Prow Robot
f2dad0c6f4
Merge pull request #122773 from thockin/sync_json-patch_dep_version
Sync code-generator/examples json-patch ver to the same as everyone else
2024-01-14 23:57:51 +01:00
Kubernetes Prow Robot
908a958bb1
Merge pull request #122771 from thockin/make_verify-fieldname-docs_actually_error
Make verify-fieldname-docs actually error
2024-01-14 23:57:44 +01:00
Kubernetes Prow Robot
f7b0257bc1
Merge pull request #122774 from thockin/dont_xargs_maybe-empty_input
codegen: don't use xargs w/ maybe-empty input
2024-01-14 20:51:44 +01:00
Tim Hockin
0f849d3b55
update-codegen: rename "base"->"file" for clarity 2024-01-14 10:41:59 -08:00
Tim Hockin
f2b550180c
codegen: don't use xargs w/ maybe-empty input
GNU xargs has a `-r, --no-run-if-empty` option but I don't think we want
to depend on GNU (thanks, MacOS).

Why?  Sometimes, when you are messing with codegens, you end up with an
empty input and then it just hangs.
2024-01-14 10:38:34 -08:00
Tim Hockin
582312d965
Sync json-patch ver to the same as everyone else
It's unclear why this needs to be different.  The commit which added it
(1993a4cb37) just says "vendor".  This was
reverted in 741f146157 saying "Revert to
json-patch 4.12.0". I suspect this one just slipped past.
2024-01-14 10:36:12 -08:00
Tim Hockin
7162b930be
code-gen: Use the passed FlagSet, not hardcoded
Even if the one we pass in is apparently always the default
CommandLine, we should use the one passed in.
2024-01-14 10:34:29 -08:00
Tim Hockin
8b8f0a70cd
Make verify-fieldname-docs actually error
Sadly, cmd/fieldnamedocscheck did not exit non-zero when it needed to.

Fix the one thing it flagged.
Add it to verify-quick
2024-01-14 10:32:08 -08:00
Tim Hockin
0c3e49e64c
Run test/instrumentation/update-* 2024-01-14 10:24:35 -08:00
Lubomir I. Ivanov
5f876b9d0a kubeadm: switch from ExponentialBackoff() to PollUntilContextTimeout()
Switch to PollUntilContextTimeout() everywhere to allow
usage of the exposed timeouts in the kubeadm API. Exponential backoff
options are more difficult to expose in this regard and a bit too
detailed for the common user - i.e. have "steps", "factor" and so on.
2024-01-14 15:07:56 +02:00
Lubomir I. Ivanov
caf5311413 kubeadm: start using the Timeouts struct values
Propagate usage of the Timeout struct values.
Apply sanitazation to timeout constants in contants.go.
2024-01-14 15:07:56 +02:00
Lubomir I. Ivanov
374e41cf66 kubeadm: replace deprecated wait.Poll() and wait.PollImmediate()
Replace the usage of the deprecated wait.Poll() and
wait.PollImmediate() functions with wait.PollUntilContextTimeout().
Since we don't have piping of context around kubeadm,
use context.Background() everywhere.

Some wait.Poll() functions were converted to "immediate" as there
is no point for them to not be. This is done for consistency.

Replace the only instance of wait.JitterUntil with
wait.PollUntilContextTimeout. JitterUntil is not deprecated
but this is also done for consistency.
2024-01-14 15:07:55 +02:00
Richa Banker
9b5ad7e119 Add processStartTime in metrics/slis 2024-01-13 10:45:24 -08:00
Kubernetes Prow Robot
12fc215656
Merge pull request #122663 from aroradaman/drop-ct-state-invalid-rule
pkg/proxy/nftables: drop conntrack state invalid rule
2024-01-13 19:01:16 +01:00
carlory
8af9a177b2 If a pvc has an empty storageclass name, don't try to assign a default StorageClass to it. 2024-01-13 21:25:43 +08:00
carlory
d2b16b2a21 vac support ResourceDescriber
Co-authored-by: Arda Güçlü <aguclu@redhat.com>
2024-01-13 18:46:28 +08:00
KubeKyrie
9860e12d6e expected and actual field position adjustment
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
2024-01-13 12:16:14 +08:00
Kubernetes Prow Robot
e5b64bdef7
Merge pull request #122747 from BenTheElder/undo-unapproved-owners
Revert "Save a list of images used by e2e.test"
2024-01-12 23:27:44 +01:00
Benjamin Elder
08645984b0 Revert "Save a list of images used by e2e.test"
This reverts commit a3c4a60995.
2024-01-12 13:15:01 -08:00
Kubernetes Prow Robot
83e6636096
Merge pull request #122647 from benluddy/featuregate-default-runtime-override
Support overrides for registered feature defaults.
2024-01-12 17:54:40 +01:00
Mahmoud Atwa
73565cde13 Use gomega.Consistently instead of sleeping 2024-01-12 16:26:06 +00:00
Mario Valderrama
dcdfd71450
Fix kubeadm init regression
Don't create admin rolebindings when --kubeconfig is set to a
non-default value.

Fixes: https://github.com/kubernetes/kubeadm/issues/2992

Signed-off-by: Mario Valderrama <mario.valderrama@ionos.com>
2024-01-12 16:58:40 +01:00
Ben Luddy
46d0e1d5aa
Support overrides for registered feature defaults.
This is to support the goal of enabling a feature by default for a single component only when the
feature in question is consumed by multiple components.

Overriden defaults are reflected in KnownFeatures and registered flag text.
2024-01-12 10:25:22 -05:00
Kubernetes Prow Robot
157da7d52e
Merge pull request #122733 from pohly/logcheck-update
hack/tools: bump logcheck to v0.8.1
2024-01-12 15:47:37 +01:00
Patrick Ohly
d954b25b11 hack/tools: bump logcheck to v0.8.1
This enables the usage of the new SafePtr in code which needs to support
contextual logging.
2024-01-12 14:39:50 +01:00
Kubernetes Prow Robot
cc076e553e
Merge pull request #122731 from cpanato/update-prom
Update publishing-bot rules to Go 1.20.13 and 1.21.6
2024-01-12 14:21:17 +01:00
ahutsunshine
6cd25f43a6 fix version typo of namespace indexer 2024-01-12 20:50:00 +08:00
cpanato
4db86556e5
Update publishing-bot rules to Go 1.20.13 and 1.21.6
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-01-12 12:01:23 +01:00
Kubernetes Prow Robot
4b94168c0f
Merge pull request #122687 from danwinship/nftables-packet-flow
Document the nftables kube-proxy packet flow
2024-01-12 02:52:24 +01:00
Cici Huang
3fb6790164 Update env version, Add cost for previous func, add tests, etc. 2024-01-12 00:40:37 +00:00
Kubernetes Prow Robot
4f2029bb65
Merge pull request #122702 from p0lyn0mial/upstream-component-base-fg-clean-up
component-base/featuregate: store atomic.Value fields as value not reference
2024-01-11 20:32:56 +01:00
Kubernetes Prow Robot
7ca92fb016
Merge pull request #122697 from pacoxu/revert-Evented-PLEG-to-alpha
Revert "Graduate Evented PLEG to Beta"
2024-01-11 20:32:50 +01:00
Dan Winship
5ca73197b3 Document the nftables kube-proxy packet flow 2024-01-11 12:59:21 -05:00
Kubernetes Prow Robot
9d86dbd0ad
Merge pull request #122710 from dims/local-up-cluster-use-newly-built-library-always
local-up-cluster: use the newly built library always
2024-01-11 18:25:47 +01:00
Kubernetes Prow Robot
823ecb58f6
Merge pull request #122706 from pacoxu/klog-upgrade
bump klog to  v2.120.0
2024-01-11 18:25:38 +01:00
Kubernetes Prow Robot
773ad73b90
Merge pull request #122705 from cpanato/update-go-1.21-master
[go] Bump images, dependencies and versions to go 1.21.6 and distroless iptables to 0.4.4
2024-01-11 14:19:21 +01:00
Davanum Srinivas
ddbf3ab662
local-up-cluster: use the newly built library always
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-01-11 08:13:21 -05:00
cpanato
a5861a1262
[go] Bump images, dependencies and versions to go 1.21.6 and distroless iptables to 0.4.4
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-01-11 11:54:35 +01:00
Paco Xu
3c86d21316 bump klog to v2.120.0 2024-01-11 17:35:07 +08:00
Lukasz Szaszkiewicz
6376dd6296 component-base/featuregate: store atomic.Value fields as value not reference
featureGate is a pointer receiver thus it is safe to store
atomic fields as values because they won't be copied.
2024-01-11 09:19:34 +01:00
Paco Xu
56321a7779 Revert "Graduate Evented PLEG to Beta"
This reverts commit d971809b49.
2024-01-11 15:27:23 +08:00
Lukasz Szaszkiewicz
57ec7d20e8 client-go/features: move the defaultKubernetesFeatureGates variable to the new file 2024-01-11 08:26:49 +01:00