Commit Graph

119610 Commits

Author SHA1 Message Date
kiashok
d1a6c0ae7d Update cri-api change in v1.29.0
Signed-off-by: kiashok <kiashok@microsoft.com>
2023-10-16 09:55:14 -07:00
Siyuan Zhang
2f923e356e k8s.io/apiserver/storage: add a new TestCreate case.
Add a test case of create with rv set.

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-10-16 08:44:34 -07:00
carlory
5d0f8530f6 fix Huge Pages failing test 2023-10-16 23:13:32 +08: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
charles-chenzz
7d31b5ffd0 Add test case for sandbox condition if pod fails to mount volume from a missing secret 2023-10-16 22:04:04 +08:00
Kevin Hannon
dd9c3358f5
Revert "podresources: e2e: force eager connection" 2023-10-16 09:46:04 -04: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
bzsuni
27abf99148 Remove GA featuregate about ProbeTerminationGracePeriod in 1.29
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-10-16 20:12:47 +08:00
AxeZhan
5c0618b848 codegen 2023-10-16 19:50:33 +08:00
upodroid
011c65e17e configure npd to run as daemonset on cos 2023-10-16 12:34:47 +01: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
Sascha Grunert
39dcad8a19
Populate CRI filesystem info error
Usually we just log the error but since it's used by the GC we now
populate it up the call stack.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-10-16 13:09:04 +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
Ed Bartosh
73a8965e2a Graduate DevicePluginCDIDevices to Beta 2023-10-16 13:12:39 +03:00
guangli.bao
f69e1fed82 Remove GAed feature gates TopologyManager
Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
2023-10-16 17:53:42 +08:00
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
guangli.bao
fed4f16a7a Remove GAed feature gates SeccompDefault
Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
2023-10-16 12:35:04 +08: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
Shiming Zhang
33f2d487e2 Promote KEP-2681 to beta in 1.29 2023-10-16 10:10:35 +08:00
Yao Cheng
18c3b6fce4 Register metrics for apiserver handlers
Signed-off-by: Yao Cheng <chengyao09@hotmail.com>
2023-10-16 02:06:01 +00:00
bzsuni
5683660830 remove deprecated framework.ExpectNotEqual for node
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-10-16 09:21:26 +08: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
HirazawaUi
1132fd0afd add tcp_fin_timeout, tcp_keepalive_intvl and tcp_keepalive_probes to safe sysctls 2023-10-15 23:05:40 +08: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