Stephen Heywood
00ae26cda8
Create e2e test for PV/PVC status endpoints
...
e2e test validates the following 6 endpoints
- patchCoreV1PersistentVolumeStatus
- readCoreV1PersistentVolumeStatus
- replaceCoreV1PersistentVolumeStatus
- patchCoreV1NamespacedPersistentVolumeClaimStatus
- readCoreV1NamespacedPersistentVolumeClaimStatus
- replaceCoreV1NamespacedPersistentVolumeClaimStatus
2023-10-10 09:38:16 +13:00
Kubernetes Prow Robot
e1788034c6
Merge pull request #120046 from chansuke/feature/update-the-function-to-get-nodes
...
Optimize test for scalability by using `GetBoundedReadySchedulableNodes()`
2023-10-09 21:44:21 +02:00
Kubernetes Prow Robot
46860a27cc
Merge pull request #119443 from SataQiu/fix-kubectl-20230719
...
kubectl: ensure '--duration' must be positive for 'kubectl create token' command
2023-10-09 21:44:12 +02:00
Kubernetes Prow Robot
2b5d2cf910
Merge pull request #120338 from pohly/dra-helper-unsuitablenodes-fix
...
dra helper: skip allocated claims during UnsuitableNodes calculation
2023-10-09 20:32:58 +02:00
Kubernetes Prow Robot
e224fc75ca
Merge pull request #116885 from mengjiao-liu/contextual-logging-scheduler-plugin-examples
...
Migrated `pkg/scheduler/framework/plugins/examples/` to use contextual logging
2023-10-09 20:32:46 +02:00
Patrick Ohly
b190ea0c96
hack: update golangci-lint verify scripts
...
Instead of invoking verify-golangci-lint.sh directly from Prow jobs,
those Prow jobs should use "make verify WHAT=...". The advantage is
that the common code for running verify targets will be used, which
includes producing JUnit files.
Providing simple wrappers for strict linting of PRs (=
verify-golangci-lint-pr.sh) and event stricter linting of PRs with hints
enabled (= verify-golangci-lint-pr-hints.sh) enables those WHAT targets.
2023-10-09 20:14:47 +02:00
Jiahui Feng
302d350e88
set maxLength to longest enum.
2023-10-09 11:00:45 -07:00
matte21
d4a5a085a8
Improve error message in cpu assignment logic
...
Include number of requested and available CPUs in the error message
when the assignment of CPUs fails because there are less available
CPUs than requested.
2023-10-09 13:31:37 -04:00
Patrick Ohly
79355caa56
dependencies: ginkgo v2.13.0, gomega v1.28.0
...
Besides simply staying up-to-date, ginkgo v2.13.0 adds a `PreviewSpecs` which
will be used for introspection of the E2E test suites.
2023-10-09 19:27:06 +02:00
Kubernetes Prow Robot
246aba8912
Merge pull request #121073 from cpanato/update-distroless-ip
...
Bump distroless-iptables to v0.3.3
2023-10-09 17:58:58 +02:00
Abu Kashem
52c58d970e
fix data race in apf unit test
2023-10-09 11:07:21 -04:00
Kubernetes Prow Robot
57d3cc6605
Merge pull request #121054 from SataQiu/clean-crisocket-20231008
...
kubeadm: clean up unnecessary references to UnknownCRISocket
2023-10-09 15:37:35 +02:00
Kubernetes Prow Robot
59424358cc
Merge pull request #121071 from cpanato/update-bot
...
Update publishing-bot rules for active release branches that uses go1.20 to Go 1.20.9
2023-10-09 13:23:43 +02:00
cpanato
a6b0a6c484
Bump distroless-iptables to v0.3.3
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-10-09 13:18:46 +02:00
Dan Winship
f3c786cbda
Fix regression in cmd/kube-proxy/app unit test speed
2023-10-09 07:08:22 -04:00
cpanato
e86e756c27
Update publishing-bot rules for active release branches that uses go1.20 to Go 1.20.9
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-10-09 11:38:01 +02:00
Jan Safranek
0be5fdb5ce
Add volume plugin label to SELinux metrics
...
Record volume plugin name when a volume in a Pod needs a different
"mount -o context" value than the actually mounted one.
We expect that NFS, CIFS and CephFS volumes would be able to mount such
volumes just fine with multiple "-o context" values.
We know that the block-volume based ones (ext4, xfs, btrfs, ...) cannot do
that.
Therefore want to distinguish the volume plugin in metrics, anything
block-volume based could break an existing application.
2023-10-09 11:18:39 +02:00
carlory
137ad9bf2b
clean up deprecated funcs in e2e framework
2023-10-09 16:51:53 +08:00
carlory
d5d7fb595e
e2e_node: stop using deprecated framework.ExpectEqual
2023-10-09 16:42:42 +08:00
carlory
5f74461bcd
e2e_apimachinery: stop using deprecated framework.ExpectEqual
2023-10-09 15:44:20 +08:00
Katarzyna Lach
122ff5a212
Move grpc rate limitter from podresource folder
...
Rate limitter.go file is a generic file implementing
grpc Limiter interface. This file can be reuse by other gRPC
API not only by podresource.
Change-Id: I905a46b5b605fbb175eb9ad6c15019ffdc7f2563
2023-10-09 07:22:23 +00:00
Mengjiao Liu
9cca527c4b
Migrated pkg/scheduler/framework/plugins/examples/
to use contextual logging
2023-10-09 11:43:17 +08:00
Kubernetes Prow Robot
cdc026fad1
Merge pull request #119915 from AxeZhan/rollout_e2e
...
Add a kubectl rollout undo e2e test
2023-10-09 04:53:29 +02:00
Kubernetes Prow Robot
3fc8c32425
Merge pull request #121051 from carlory/cleanup-e2e-apps-framework-equal
...
fix incorrect Consistently due to missing assignment when create a newAsyncAssertion
2023-10-08 21:53:52 +02:00
Daman Arora
62683c8d95
pkg/proxy/ipvs: hardening lb source ranges filtering
...
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2023-10-08 20:57:17 +05:30
charles-chenzz
ccc6458683
e2e_node: add testcase to check status of pod ready to start condition are set to false after terminating
2023-10-08 20:40:36 +08:00
SataQiu
c3bf541ede
kubeadm: clean up unnecessary references to UnknownCRISocket
2023-10-08 16:57:45 +08:00
carlory
bb02d0feba
fix incorrect Consistently due to missing assignment when create a newAsyncAssertion
2023-10-08 13:23:46 +08:00
Kubernetes Prow Robot
10827a193a
Merge pull request #121045 from my-git9/fixetcdutk
...
kubeadm: fix wrong ut for util/etcd
2023-10-08 07:03:01 +02:00
Kubernetes Prow Robot
4b2225701e
Merge pull request #120819 from fusida/fix-master-e2e
...
e2e: set liveness probe timeout seconds for conformance test
2023-10-08 07:02:52 +02:00
Kubernetes Prow Robot
d3559bf77f
Merge pull request #120595 from jsafrane/fix-detach-uncertain
...
Mark a volume as uncertain-attached after detach error
2023-10-08 05:54:01 +02:00
Kubernetes Prow Robot
c486a08b41
Merge pull request #119735 from akankshapanse/fix_kubelet_target_dir_issue
...
Do not fail volume attach or publish operation at kubelet if target path directory already exists on the node.
2023-10-08 05:53:48 +02:00
carlory
7cba35f651
nodeports: scheduler queueing hints
...
Co-authored-by: Kensei Nakada <handbomusic@gmail.com>
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
2023-10-08 11:34:43 +08:00
Kubernetes Prow Robot
b74e286dc9
Merge pull request #120925 from bzsuni/cleanup/sets/scheduler
...
use generic sets in scheduler
2023-10-07 19:07:31 +02:00
xin.li
20db4ef3d6
kubeadm: fix wrong ut for util/etcd
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-10-07 21:57:20 +08:00
Kubernetes Prow Robot
0554675d78
Merge pull request #121020 from chendave/set_opt
...
kubeadm: Optimize the logic to override the arguments
2023-10-07 11:58:31 +02:00
Kubernetes Prow Robot
bb06804e52
Merge pull request #120828 from SataQiu/fix-kubeadm-cri-20230922
...
kubeadm: fix the bug that kubeadm always do CRI detection when --config is passed even if it is not required by the subcommand
2023-10-07 11:58:22 +02:00
SataQiu
4a8267f26b
kubectl: ensure '--duration' must be positive for 'kubectl create token' command
2023-10-07 11:19:33 +08:00
Kubernetes Prow Robot
fc479f41b3
Merge pull request #121028 from aojea/external_node
...
kubelet: cloud-provider external addresses
2023-10-07 03:03:01 +02:00
Josselin Costanzi
3c4512c6cc
hpa: always update status metrics when updating the replica count
...
Have hpa always update both the metrics and replica count. This fix an
edge case behavior bug where the metrics would not be updated if a
custom metrics was unavailable.
2023-10-06 21:34:09 +00:00
Kubernetes Prow Robot
9bea6bda05
Merge pull request #121021 from cpanato/update-go-1212
...
[go] Bump images, dependencies and versions to go 1.21.2
2023-10-06 22:34:58 +02:00
Kubernetes Prow Robot
e339e03ff8
Merge pull request #120814 from Jefftree/fix-openapiv2-aggregator-apiservice
...
Fix AddUpdateAPIService for openapiv2
2023-10-06 21:21:32 +02:00
Kubernetes Prow Robot
0f16895f50
Merge pull request #121015 from Lukasz-AWS/add-hpa-object-type-nil-check
...
Add nil checks for hpa object target type values
2023-10-06 19:20:23 +02:00
Kubernetes Prow Robot
9af7096c89
Merge pull request #120968 from borg-land/remove-kubeup-tests-1
...
Remove an e2e test specific to kubeup clusters - Part One
2023-10-06 19:20:11 +02:00
Jefftree
89adbb4b4a
Unit & integration tests for OpenAPIV2 AddUpdateAPIService
2023-10-06 12:57:57 -04:00
Jefftree
83fb504e46
Fix 120878 - Refactor cacheabledownloader so handler can be updated and fix AddUpdateAPIService to update handler
2023-10-06 12:57:56 -04:00
Kubernetes Prow Robot
57144165f7
Merge pull request #120977 from borg-land/remove-kubeup-tests-2
...
Remove an e2e test specific to kubeup clusters - Part Two
2023-10-06 17:11:20 +02:00
Antonio Ojea
3ee2f27e5b
kubelet: cloud-provider external addresses
...
Kubelet, if using cloud provider external, initializes temporary
the node addresses using the non-cloud provider logic, until the
cloud provider overrides it.
This behavior has undesired consequences if the cloud-provider addresses
are different than the original ones, specially for hostNetwork pods,
that inherit these addresses from the Node.
Since some cloud-providers depend on this behavior, in order to keep
backward compatibility, assume that the specifying addresses via
the node-ip flags means that the intent is to keep the existing
behavior to temporary initialize the addresses.
If the node-ips are the unspecified addresses or are not set, then
wait for the external cloud provider to set the node addresses.
Change-Id: I3a3895f9b830769f9658e6a03f058c914c438a09
Signed-off-by: Antonio Ojea <aojea@google.com>
2023-10-06 14:01:28 +00:00
cpanato
619abfec70
[go] Bump images, dependencies and versions to go 1.21.2
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-10-06 15:18:34 +02:00
Gunju Kim
8b5f30ef09
Don't reuse CPU set of a restartable init container
2023-10-06 22:16:15 +09:00