Brian Pursley
c0dea5e31a
i18n: Fix bug where package-level variables are not translated.
...
Change i18n.T() to load translations if they have not yet been loaded.
Added new integration tests to test help output translation.
2022-11-29 23:09:57 -05:00
Kubernetes Prow Robot
d98e9620e3
Merge pull request #114193 from xmudrii/fix-pub-bot-rules
...
publishing-bot: Fix apimachinery rule for release-1.26 pointing to the wrong staging dir and use correct Go version
2022-11-29 13:03:08 -08:00
michael mccune
6981a1acf5
fix spelling error in e2e upgrade apps daemonset test
2022-11-29 15:56:15 -05:00
Davanum Srinivas
ffef2d1f1a
add more validation to rules.yaml
...
We need to better catch problems like the one we fixed in:
7b6a3d6a33
Essentially a copy-paste error where had a branch pointing to staging/src/k8s.io/code-generator instead of staging/src/k8s.io/apimachinery
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-11-29 15:07:34 -05:00
Marko Mudrinić
8e973ce871
Fix Go 1.19 version in publishing-bot rules
...
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2022-11-29 20:55:12 +01:00
Marko Mudrinić
7b6a3d6a33
Update publishing-bot rule for apimachinery on release-1.26
...
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2022-11-29 20:53:14 +01:00
QuantumEnergyE
847a39afc0
Retry patch when then service is unavailable or timeout.
2022-11-29 23:09:31 +08:00
Dan Winship
bfa4948bb6
Don't re-run EnsureChain/EnsureRules on partial syncs
...
We currently invoke /sbin/iptables 24 times on each syncProxyRules
before calling iptables-restore. Since even trivial iptables
invocations are slow on hosts with lots of iptables rules, this adds a
lot of time to each sync. Since these checks are expected to be a
no-op 99% of the time, skip them on partial syncs.
2022-11-29 09:42:49 -05:00
Sascha Grunert
f04bb71878
Tracing: sample always in hack/local-up-cluster.sh
...
If the feature gate `KubeletTracing` is enabled, then we should default
to a sample rate of 1 million per million, which will sample everything:
https://github.com/open-telemetry/opentelemetry-go/blob/aa868d5/sdk/trace/sampling.go#L107-L110
This helps to easier spin-up a cluster with tracing enabled by exporting
`FEATURE_GATES="KubeletTracing=true"`.
Related docs: https://k8s.io/docs/concepts/cluster-administration/system-traces/#kubelet-traces
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-11-29 13:12:19 +01:00
ZhangYu
6553ba246f
pkg/kubelet/network/dns: omit unnecessary fmt.Sprintf
2022-11-29 14:44:14 +08:00
Tim Hockin
f4c1682fb1
Validate StatefulSet names as DNS Label
...
Any StatefuleSet which took advantage of this (by having dots in the
name) can't have worked because we set `pod.spec.hostname` from it,
which is validated as a DNS label.
So while this is strictly a breaking change, it doesn't break anything
that was not already broken.
2022-11-28 17:31:08 -08:00
Joe Betz
ab3c353227
Improve error messages for parse errors of --kube-reserved, --system-reserved and --qos-reserved
2022-11-28 16:35:26 -05:00
Claudiu Belu
1129f57143
unittests: Skip test if not on GCE
...
The test in pkg/credentialprovider/gcp/metadata_test.go is meant to
run only on GCE, which means that it will fail in any other case.
We should skip the test if we're not testing in GCE or Windows in GCE.
2022-11-28 13:54:14 +00:00
ZhangYu
357d0a8603
staging/src/k8s.io/legacy-cloud-providers/azure: remove unnecessary fmt.Sprintf
2022-11-28 16:56:01 +08:00
Riaan Kleinhans
0545a0a988
update ineligible endpoints yaml
2022-11-28 08:57:21 +13:00
Kubernetes Prow Robot
7061704297
Merge pull request #114146 from justaugustus/sig-release-leads-update
...
OWNERS(sig-release): Promote Verónica (Tech Lead) and Jeremy (Chair)
2022-11-25 13:44:04 -08:00
Stephen Augustus
d0bc8e83df
OWNERS(sig-release): Promote Verónica (Tech Lead) and Jeremy (Chair)
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-11-25 15:37:55 -05:00
Kubernetes Prow Robot
6bdda2da16
Merge pull request #114122 from aojea/fix_endpoint_reconciler_11_2022
...
Fix endpoint reconciler failing to delete masterlease
2022-11-25 02:28:05 -08:00
Wojciech Tyczyński
4ffca653ff
Fix endpoint reconciler failing to delete masterlease
...
add regression test for endpoint reconciler leases
2022-11-25 08:13:20 +00:00
Jan Safranek
ebc5b208ae
Fix OwnerReferencesPermissionEnforcement complaints when autodeleting PVCs
...
When StatefulSetAutoDeletePVC feature gate is enabled, StatefulSet
controller updates ownerReferences on managed PVCs. To be able to pass
OwnerReferencesPermissionEnforcement admission, it must have permissions to
delete PVCs.
2022-11-24 14:46:45 +01:00
Kubernetes Prow Robot
8f2371bcce
Merge pull request #114096 from pacoxu/vul-version-wrong
...
changelog: CVE-2022-3294 and CVE-2022-3162 were fixed in v1.23.14
2022-11-24 00:30:04 -08:00
Paco Xu
efb3f79328
changelog: CVE-2022-3294 and CVE-2022-3162 were fixed in v1.23.14
2022-11-24 13:03:44 +08:00
SataQiu
21cd660a1f
kubeadm: respect user provided kubeconfig during discovery process
2022-11-24 12:29:10 +08:00
Kubernetes Prow Robot
45279654db
Merge pull request #114093 from pacoxu/etcd-3.5.6
...
use etcd 3.5.6-0 after etcd image is promoted
2022-11-23 19:02:04 -08:00
Paco Xu
75f89875f8
use etcd 3.5.6-0 after promotion
2022-11-24 09:45:56 +08:00
Kubernetes Prow Robot
7530baa9a1
Merge pull request #114044 from andrewsykim/fix-node-proxy-tests
...
test/e2e_node: set apiserver kubelet preferred addresses
2022-11-23 14:16:03 -08:00
Kubernetes Prow Robot
9884746f0f
Merge pull request #114084 from dims/bump-golang-version-for-building-etcd
...
Bump GOLANG_VERSION to build etcd `migrate` utility
2022-11-23 08:06:16 -08:00
ialidzhikov
aede3fbf40
pkg/controller: Replace deprecated func usage from the k8s.io/utils/pointer
pkg
2022-11-23 17:40:23 +02:00
Sascha Grunert
c032d7993a
Bump gcb-docker-gcloud to v20221007-69e0da97ef
...
Update the container images used in cloudbuild to their latest version.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-11-23 16:03:28 +01:00
Davanum Srinivas
efd8723ece
Bump GOLANG_VERSION to build etcd (from 1.16.x to 1.17.x)
...
Also fix REVISION back to `0` this was missed in the previous PR
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-11-23 10:02:03 -05:00
Kubernetes Prow Robot
deba5619ab
Merge pull request #114064 from pacoxu/etcd-356
...
etcd: Build image 3.5.6-0
2022-11-23 05:26:14 -08:00
Kubernetes Prow Robot
21916415cb
Merge pull request #114077 from dims/add-missing-tags-for-kms-and-dynamic-resource-allocation-for-publishing
...
Add missing tags for kms and dynamic-resource-allocation for publishing
2022-11-22 20:24:14 -08:00
aimuz
059acc2f5a
kubernetes components using leader election to leases
...
Signed-off-by: aimuz <mr.imuz@gmail.com>
2022-11-23 10:59:08 +08:00
Davanum Srinivas
130bd8cba5
Add missing tags for kms and dynamic-resource-allocation for publishing
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-11-22 21:04:19 -05:00
Akhil Velagapudi
70d31ea917
Remove unused numExistingEndpoints
variable
2022-11-23 00:54:50 +00:00
Kubernetes Prow Robot
5fd9a519a9
Merge pull request #113946 from Huang-Wei/fix-podschedulingreadiness-metric
...
Fix an accuracy issue of `scheduler_pending_pods` metric
2022-11-22 16:42:13 -08:00
Paco Xu
a8b22ff28c
upgrade etcd 3.5.6 for image build
2022-11-22 17:08:12 +08:00
Wei Huang
a731a44596
Fix an accuracy issue of scheduler_pending_pods
metric
2022-11-21 21:33:16 -08:00
ZhangYu
d61849e800
pkg/controller/deployment/util/deployment_util.go:Improving test coverage
2022-11-22 10:12:58 +08:00
Andrew Sy Kim
6c8eacb157
test/e2e_node: set apiserver kubelet preferred addresses
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-21 15:09:04 -05:00
xin.li
8b4b3d82ab
Add test for staging/src/k8s.io/apimachinery/pkg/version/staging/helpers.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-11-19 10:46:55 +08:00
Kubernetes Prow Robot
57eb5d631c
Merge pull request #113976 from swatisehgal/dra-fix-claim-parameter-name
...
dra: test examples: ensure that the claim parameter name is consistent
2022-11-18 05:16:30 -08:00
Kubernetes Prow Robot
77022402c5
Merge pull request #113960 from moshe010/doc
...
[DRA] Add RUNTIME_CONFIG="resource.k8s.io/v1alpha1"
2022-11-18 04:12:30 -08:00
Antoine Pelisse
a1f5e36fab
Add jpbetz to k8s.io/client-go/applyconfigurations
2022-11-17 15:05:30 -08:00
Antoine Pelisse
b5f2130f24
Add apelisse into some more OWNERS files
2022-11-17 15:05:00 -08:00
Ravi Nalluri
1b5e50008c
Add generated docs for discovery and storage types
2022-11-17 12:03:03 -06:00
Jordan Liggitt
9cb283796f
Guard against merging non-canonical replace directives
2022-11-17 13:00:12 -05:00
Ravi Nalluri
2fb2b7698e
Update API doc for Storage v1alpha1, v1beta1 types and Discovery v1 types
2022-11-17 10:11:03 -06:00
Swati Sehgal
4d15502e43
dra: test examples: ensure that the claim parameter name is consistent
...
In the Dynamic Resource allocation example specs, the claim
parameter name specified was inconsistent.
This commit fixes that with a better/more consistent name,
which is used to define the configmap and referenced in
the `ResourceClaimTemplate` spec.
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-11-17 14:56:42 +00:00
Dipankar Das
b72be5c458
formatted the file
...
Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>
2022-11-17 10:58:40 +05:30