Commit Graph

118989 Commits

Author SHA1 Message Date
Alexander Zielenski
cc0264f7fc cleanup: check unstructured for Validate(Update) before validating
logic is the same. sets us up for another refactor
2023-10-18 15:01:56 -07:00
Kubernetes Prow Robot
3a3dc870a2
Merge pull request #121118 from alexzielenski/apiserver/apiextensions/ratcheting-factor-correlation
CRDValidationRatcheting: Factor object correlation and comparison into reusable component
2023-10-16 21:20:02 +02:00
Kubernetes Prow Robot
b5cc6aab48
Merge pull request #119802 from takirala/tga/update-ErrGroupDiscoveryFailed
client-go: chore: implement `Is` interface for `ErrGroupDiscoveryFailed`
2023-10-16 21:19:52 +02:00
Kubernetes Prow Robot
f6ba25fdbd
Merge pull request #119026 from AxeZhan/sleepAction
Introducing Sleep Action for PreStop Hook
2023-10-16 21:19:44 +02:00
Kubernetes Prow Robot
b5ba899dfa
Merge pull request #118146 from aroradaman/fix/proxy-healthzserver
proxy healthz server for dualstack clusters
2023-10-16 21:19:25 +02:00
Kubernetes Prow Robot
e196d24910
Merge pull request #121243 from ii/fix-pv-pvc-status-test
Fix PersistentVolumeStatus & PersistentVolumeClaimStatus e2e test flake
2023-10-16 19:07:39 +02:00
Kubernetes Prow Robot
413de8cc71
Merge pull request #120740 from champtar/reserved-cpus-log-fixup
kubelet: fix log when using --reserved-cpus
2023-10-16 19:07:26 +02:00
Kubernetes Prow Robot
146252cae8
Merge pull request #120485 from ushitora-anqou/patch-1
fix: typo in staging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.proto
2023-10-16 19:07:12 +02:00
Kubernetes Prow Robot
c7d270302c
Merge pull request #121059 from matte21/improve_err_message_in_cpu_assignments
Improve error message in Kubelet CPU assignment logic
2023-10-16 16:48:54 +02:00
Kubernetes Prow Robot
0de29e1d43
Merge pull request #120911 from gjkim42/devicemanager-remove-deprecated-sets-string
pkg/kubelet/cm: Remove deprecated sets.String and sets.Int
2023-10-16 16:48:40 +02:00
Kubernetes Prow Robot
3548ef0092
Merge pull request #119946 from chendave/ignore_preflight_error
kubeadm: FeatureGate MergeCLIArgumentsWithConfig is added for ignorePreflightErrors
2023-10-16 14:41:19 +02:00
AxeZhan
5c0618b848 codegen 2023-10-16 19:50:33 +08:00
Kubernetes Prow Robot
4254a77c21
Merge pull request #121249 from pohly/klog-call-fixes
fix invalid log calls
2023-10-16 13:14:01 +02:00
Daman Arora
bfda244e54 pkg/proxy: dual stack health checker
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2023-10-16 16:11:18 +05:30
Patrick Ohly
957adfac49 fix invalid log calls
These were found with a modified klog that enables "go vet" to check klog call
parameters:

    cmd/kubeadm/app/features/features.go:149:4: printf: k8s.io/klog/v2.Warningf format %t has arg v of wrong type string (govet)
    			klog.Warningf("Setting deprecated feature gate %s=%t. It will be removed in a future release.", k, v)
    test/images/sample-device-plugin/sampledeviceplugin.go:147:5: printf: k8s.io/klog/v2.Errorf does not support error-wrapping directive %w (govet)
    				klog.Errorf("error: %w", err)
    test/images/sample-device-plugin/sampledeviceplugin.go:155:3: printf: k8s.io/klog/v2.Errorf does not support error-wrapping directive %w (govet)
    		klog.Errorf("Failed to add watch to %q: %w", triggerPath, err)
    staging/src/k8s.io/code-generator/cmd/prerelease-lifecycle-gen/prerelease-lifecycle-generators/status.go:207:5: printf: k8s.io/klog/v2.Fatalf does not support error-wrapping directive %w (govet)
    				klog.Fatalf("Package %v: unsupported %s value: %q :%w", i, tagEnabledName, ptag.value, err)
    staging/src/k8s.io/legacy-cloud-providers/vsphere/nodemanager.go:286:3: printf: (k8s.io/klog/v2.Verbose).Infof format %s reads arg #1, but call has 0 args (govet)
    		klog.V(4).Infof("Node %s missing in vSphere cloud provider cache, trying node informer")
    staging/src/k8s.io/legacy-cloud-providers/vsphere/nodemanager.go:302:3: printf: (k8s.io/klog/v2.Verbose).Infof format %s reads arg #1, but call has 0 args (govet)
    		klog.V(4).Infof("Node %s missing in vSphere cloud provider caches, trying the API server")
2023-10-16 10:21:07 +02:00
Dave Chen
8009530d77 kubeadm: FeatureGate MergeCLIArgumentsWithConfig is added for ignorePreflightErrors
Turn on FeatureGate MergeCLIArgumentsWithConfig to keep the legacy way of management of
ignorePreflightErrors, which means the value defined by the flag `ignore-preflight-errors`
will be merged with the value `ignorePreflightErrors` defined in the config file.

Otherwise, the value defined by the flag will replace the value from the config file if set.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2023-10-16 14:37:10 +08:00
Kubernetes Prow Robot
afc302c2d2
Merge pull request #121230 from SataQiu/fix-kubeadm-20231014
kubeadm: fill with the DefaultCRISocket when CRI socket detection is not required
2023-10-16 06:45:18 +02:00
Kubernetes Prow Robot
6897b1225d
Merge pull request #121239 from my-git9/fix
kubeadm: fix unnecessary namespace field for clusterrole
2023-10-16 04:30:54 +02:00
Kubernetes Prow Robot
add482a2d3
Merge pull request #121237 from arichtman/addon-manager-script-typo
fixed miscalled function in addon-manager `kube-addons.sh`
2023-10-16 03:08:46 +02:00
Kubernetes Prow Robot
787595086c
Merge pull request #121242 from dims/work-around-bug-in-gcloud-when-downloading-logs
Work around bug in gcloud when downloading logs
2023-10-16 00:18:49 +02:00
Stephen Heywood
b548bbb8cf When reading pvc status allow bound to be a valid value 2023-10-16 10:20:26 +13:00
Kubernetes Prow Robot
7c876d8757
Merge pull request #120978 from tengqm/fix-admission-validation
Fixs a validation error in teh admission registration API
2023-10-15 22:58:39 +02:00
Davanum Srinivas
11b0eed9e7
Work around bug in gcloud when downloading logs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-10-15 16:57:24 -04:00
Daman Arora
4ea6ec738c pkg/proxy: add an ipFamily field to the winkernel proxier
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2023-10-15 19:55:09 +05:30
xin.li
6732c4110f kubeadm: fix uninvalid namespace field for clusterrole
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-10-15 18:49:52 +08:00
AxeZhan
332779a3b2 add a simple e2e test 2023-10-15 13:59:46 +08:00
AxeZhan
3a96afdfef implementation 2023-10-15 13:57:48 +08:00
AxeZhan
fa01dfdb0a validation 2023-10-15 13:55:08 +08:00
Ariel Richtman
0f46033dca fixed miscalled function 2023-10-15 15:40:38 +10:00
AxeZhan
9327f3a173 api changes 2023-10-15 13:32:54 +08:00
Kubernetes Prow Robot
8e8ac86cf1
Merge pull request #120861 from RomanBednar/retro-sc-assignment-cleanup
remove RetroactiveDefaultStorageClass feature gate
2023-10-15 07:05:46 +02:00
Kubernetes Prow Robot
378866edba
Merge pull request #120518 from saschagrunert/metrics-container-start
kubelet: fix metric `container_start_time_seconds` timestamp
2023-10-15 07:05:37 +02:00
Kubernetes Prow Robot
580304cb22
Merge pull request #118006 from liyuerich/dependency-b
dependencies: update github.com/ishidawataru/sctp
2023-10-15 07:05:29 +02:00
Kubernetes Prow Robot
d6b8e487e2
Merge pull request #117859 from Penguin-zlh/bump-dependencies-godbus-dbus
bump dependencies: github.com/godbus/dbus/v5 to v5.1.0
2023-10-15 07:05:15 +02:00
Kubernetes Prow Robot
c65b0b71e7
Merge pull request #120606 from f4nd0y/replace-hardcode-with-exists-variable
replace hardcode with exists variable
2023-10-15 05:55:50 +02:00
Kubernetes Prow Robot
c40bc8c7d8
Merge pull request #120503 from dgrisonnet/body-size
Rename request body size metric to conform with Prometheus best practices
2023-10-15 05:55:39 +02:00
Kubernetes Prow Robot
e606314f2f
Merge pull request #118768 from killshotrevival/master
Fail validation if container restart policy is 'Never' and resource resize restart policy isn't 'NotRequired'
2023-10-15 04:13:34 +02:00
Kubernetes Prow Robot
4d8a51acac
Merge pull request #121229 from aojea/remove_cluster_cidr
remove ClusterCIDR alpha API
2023-10-15 02:56:33 +02:00
Kubernetes Prow Robot
cf54acce5c
Merge pull request #120274 from danwinship/kube-proxy-config-docs
kube-proxy config/CLI doc fixups
2023-10-15 02:56:24 +02:00
Kubernetes Prow Robot
4a94a570bd
Merge pull request #121182 from cpanato/update-rulz
Update publishing-bot rules for active release branches that uses go120 to Go 1.20.10
2023-10-14 23:50:46 +02:00
Kubernetes Prow Robot
675a64eaa6
Merge pull request #121129 from carlory/cleanup-e2e-framework-equal
remove deprecated framework.ExpectEqual
2023-10-14 23:50:37 +02:00
Kubernetes Prow Robot
ae9dc3330e
Merge pull request #120874 from ruquanzhao/fixDevicePluginProbeCI
fix DevicePluginProbe node-e2e: pod and kubelet restarts
2023-10-14 23:50:28 +02:00
Kubernetes Prow Robot
43e617f252
Merge pull request #120248 from pacoxu/grpc-container-probe
remove feature gate GRPCContainerProbe
2023-10-14 23:50:20 +02:00
Kubernetes Prow Robot
9988f6371b
Merge pull request #120192 from SataQiu/remove-featuregate-20230827
Remove GAed feature gates CronJobTimeZone, JobMutableNodeSchedulingDirectives and LegacyServiceAccountTokenNoAutoGeneration
2023-10-14 23:50:11 +02:00
Kubernetes Prow Robot
414a5f6692
Merge pull request #119100 from bzsuni/ga/JobTrackingWithFinalizers
Remove GA featuregate about JobTrackingWithFinalizers in 1.28
2023-10-14 23:50:01 +02:00
Kubernetes Prow Robot
fea759baeb
Merge pull request #119063 from saschagrunert/makefile-remote-runtime
Remove reference to `RUNTIME` variable in `build/root/Makefile`
2023-10-14 23:49:52 +02:00
Kubernetes Prow Robot
e0426ffd62
Merge pull request #118806 from abhigyadufare/patch-1
Error Typofix
2023-10-14 23:49:43 +02:00
Kubernetes Prow Robot
f136f42d66
Merge pull request #118121 from boglarkla/patch-1
fixed typo in get-kube.sh
2023-10-14 23:49:34 +02:00
Kubernetes Prow Robot
52cba2d8d8
Merge pull request #117411 from tenzen-y/add-multiply-method
quantity: Add multiplication methods
2023-10-14 23:49:26 +02:00
Kubernetes Prow Robot
95bd8b95a7
Merge pull request #100448 from saschagrunert/cri-stats-log
Do not error log CRI stats for not cached partitions
2023-10-14 23:49:12 +02:00