Commit Graph

122864 Commits

Author SHA1 Message Date
Stephen Kitt
31686c5483
Drop the extraneous space in update-kustomize.sh
With coreutils sed, the argument to -i must follow it immediately;
having a space here causes the command to look for a file with an
empty name, which fails.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-05-28 10:39:58 +02:00
Kubernetes Prow Robot
1c84623028
Merge pull request #125045 from pohly/ginkgo-gomega-update
dependencies: ginkgo v2.19.0, gomega v1.33.1
2024-05-28 01:03:18 -07:00
Kubernetes Prow Robot
5d1a97ce09
Merge pull request #125153 from aojea/tag_autoscaling
tag e2e test that depends on cloud-provider-gcp
2024-05-27 16:28:30 -07:00
Antonio Ojea
98fe5ace74 tag e2e test that depends on cloud-provider-gcp 2024-05-27 18:14:48 +00:00
Kubernetes Prow Robot
b5bc8025be
Merge pull request #125110 from brianpursley/k-125109
Add logging to show which unexpected events were received in kubectl events e2e test
2024-05-27 09:31:02 -07:00
Patrick Ohly
f3adf499c2 hack/ginkgo-e2e.sh: skip S character by default, add newlines in CI
We typically have plenty of skipped tests in an E2E run, which causes Ginkgo to
print many S characters (one for each skipped test). This easily fills up an entire
console window. Now the default is to silence that
output. GINKGO_SILENCE_SKIPS=n reverts to the previous behavior.

By default, Ginkgo prints all progress characters (S and o) in a single
line. Buffering in Prow causes that output to occur only after the run is over,
which defeats the purpose of having those characters. Now a newline is added
after each character, so there is visible progress in Prow while Ginkgo runs.
2024-05-27 15:25:50 +02:00
Patrick Ohly
37e2dd6857 dependencies: ginkgo v2.19.0, gomega v1.33.1
Ginkgo v2.18.0 allows tweaking the output so that
it's easier to follow while a job runs in
Prow (https://github.com/onsi/ginkgo/issues/1347). Using this in
hack/ginkgo-e2e.sh will follow in a separate commit.

Gomega gets bumped to the latest release to keep it up-to-date.

Ginkgo v1.19.0 adds support for --label-filter with labels that represent
sets (like our Feature:<Foo>).
2024-05-27 15:25:50 +02:00
Kubernetes Prow Robot
9d5db28f5f
Merge pull request #125146 from p0lyn0mial/upstream-client-go-consistency-detector-move-to-new-package
client-go: move data consistency detector to a new package
2024-05-27 06:24:08 -07:00
Kubernetes Prow Robot
d45a1a493b
Merge pull request #124232 from Ritikaa96/kubectl-plugin
Added name-only and examples in the kubectl plugin help
2024-05-27 06:23:59 -07:00
Kubernetes Prow Robot
b2817dc432
Merge pull request #125040 from carlory/fix-125012
Fix kubelet on Windows fails if a pod has SecurityContext with RunAsUser
2024-05-27 04:58:20 -07:00
Ritikaa96
23ac0be7ad correcting link to krew install
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
2024-05-27 16:52:19 +05:30
Ritikaa96
3848c8b07a added name-only and examples in the kubectl plugin help
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
2024-05-27 16:30:21 +05:30
Lukasz Szaszkiewicz
cb44f83b3d move checkWatchListDataConsistencyIfRequested back to client-go/tools/cache 2024-05-27 12:32:03 +02:00
Lukasz Szaszkiewicz
e421046f64 client-go/util/consistencydetector: make the detector public 2024-05-27 12:32:03 +02:00
Lukasz Szaszkiewicz
faf5110c8a client-go/util/consistencydetector: update after moving to the new package 2024-05-27 12:32:03 +02:00
Lukasz Szaszkiewicz
272dfc9d7e move client-go/tools/cache/reflector_data_consistency_detector to client-go/util/consistencydetector 2024-05-27 12:32:03 +02:00
Kubernetes Prow Robot
58fe98e2cc
Merge pull request #125144 from p0lyn0mial/upstream-client-go-consistency-detector-refactor-units
client-go/tools/cache/reflector_data_consistency_detector: refactor unit tests
2024-05-27 03:26:50 -07:00
Lukasz Szaszkiewicz
18837d60ae client-go/tools/cache/reflector_data_consistency_detector: refactor unit tests 2024-05-27 11:10:00 +02:00
Kubernetes Prow Robot
f5d62f738a
Merge pull request #124446 from p0lyn0mial/watch-list-consistency-detector-more-generic
client-go/consistency-detector: change the signature of checkWatchListConsistencyIfRequested
2024-05-27 01:27:26 -07:00
Lukasz Szaszkiewicz
83c7542abc client-go/consistency-detector: change the signature of checkWatchListConsistencyIfRequested
the signature of the method was tightly connected to the reflector,
making it difficult to use for anything other than a reflector.

this simple refactor makes the method more generic.
2024-05-27 08:30:29 +02:00
Kubernetes Prow Robot
4bb434501d
Merge pull request #125115 from serathius/progress-notify-timer
Improve progress notify to have more correct and predictable period of triggering
2024-05-25 10:59:10 -07:00
Kubernetes Prow Robot
4a668bcf14
Merge pull request #125125 from humblec/up-2-ms
update metrics-server to v0.7.1
2024-05-25 04:43:10 -07:00
Humble Chirammal
4b757998a4 update metrics-server to v0.7.1
https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.7.1

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2024-05-25 13:20:56 +05:30
Kubernetes Prow Robot
ec93d3b71a
Merge pull request #123160 from bart0sh/PR133-e2e-node-device-plugin-fix-features
e2e_node: fix DevicePlugin feature flags
2024-05-24 09:23:10 -07:00
Kubernetes Prow Robot
e0e6c9633d
Merge pull request #125112 from neolit123/1.31-add-v-to-windows-pause-after-promo
dependencies: start using registry.k8s.io/pause:3.10
2024-05-24 03:55:56 -07:00
Marek Siarkowicz
98e384fcd0 Reset timer to zero when no progress notify was sent 2024-05-24 11:56:38 +02:00
Marek Siarkowicz
544ea42482 Use normal Mutex instead of RWMutex
There is no benefit of having RWMutex as we have one reader and multiple
writers. In such cases RWMutex has worse performance than Mutex.
2024-05-24 11:56:27 +02:00
Marek Siarkowicz
e6b54149bb Don't signal when lowering number of waiting routines
Signal is not needed as we never need to wake up when the waiting
is lowered, only when increased.
2024-05-24 11:55:53 +02:00
Marek Siarkowicz
7c0e9cda46 Use timer instead of ticker in progress requestor
Ticker behaves differently from what we want, we need a stable period
interval, but ticker doesn't provide that. From NewTicker docstring:
```
The ticker will adjust the time interval or drop ticks to make up for slow receivers.
```

Unfortunatelly there is no way to test it as the FakeClock doesn't
follow the real ticker behavior.
2024-05-24 11:55:51 +02:00
Lubomir I. Ivanov
5e290ebc90 switch k/k to pause version 3.10 2024-05-24 10:02:51 +03:00
Kubernetes Prow Robot
3332eef27d
Merge pull request #125111 from aojea/e2e_panic_lb
add logging on e2e loadbalancer test
2024-05-23 22:27:21 -07:00
Kubernetes Prow Robot
903aeed208
Merge pull request #125096 from carlory/add-carlory-as-kubeadm-reviewer
Add carlory (myself) in kubeadm reviewers
2024-05-23 21:02:44 -07:00
Brian Pursley
39d24b0877 Add logging to show which unexpected events were received in kubectl events e2e test
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2024-05-23 20:33:17 -04:00
Antonio Ojea
5221df5074 add logging on e2e loadbalancer test 2024-05-23 23:32:08 +00:00
Kubernetes Prow Robot
8361522b40
Merge pull request #125108 from BenTheElder/gcb-docker-gcloud
update  gcb-docker-gcloud to latest, and pin digest
2024-05-23 14:55:50 -07:00
Benjamin Elder
043da7164d update gcb-docker-gcloud to latest, and pin digest
this is a staging repository, which has lower security than registry.k8s.io, so we should REALLY be pinning it.

TODO: This is one of the few places we still depend on GCR to build things. We should consider promoting this image to registry.k8s.io or using a different image.
2024-05-23 13:51:40 -07:00
Kubernetes Prow Robot
e5a98f8379
Merge pull request #125105 from BenTheElder/pause-build
pause: containerize wincat build
2024-05-23 13:38:35 -07:00
Benjamin Elder
7aa5693fa3 containerize wincat build 2024-05-23 12:31:40 -07:00
Kubernetes Prow Robot
028b457cb5
Merge pull request #125090 from gjkim42/deflake-container-lifecycle-e2e-test
e2e: Increase preStop hook delay to deflake the test
2024-05-23 11:58:46 -07:00
Kubernetes Prow Robot
b021ce1029
Merge pull request #124036 from joremysh/decrease-running-time-of-test-param-ref
apiserver/pkg/admission/plugin/policy/validating make test parallel in for loop
2024-05-23 11:58:36 -07:00
Kubernetes Prow Robot
5a121aad53
Merge pull request #125067 from neolit123/1.31-add-v-to-windows-pause
build/pause: add -v flag to the Windows pause binary. Add 3.10 changelog entry.
2024-05-23 08:16:05 -07:00
Kubernetes Prow Robot
ef39aa896a
Merge pull request #124948 from SataQiu/clean-20240519
kube-controller-manager: remove the deprecated horizontal-pod-autoscaler-upscale-delay and horizontal-pod-autoscaler-downscale-delay flags
2024-05-23 08:15:56 -07:00
carlory
ba7b3bcbb6 Add carlory (myself) in kubeadm reviewers 2024-05-23 22:07:57 +08:00
Kubernetes Prow Robot
8339711e1f
Merge pull request #124779 from cici37/updateEnv
Update CEL default compatibility environment version  to 1.30
2024-05-23 07:02:10 -07:00
Kubernetes Prow Robot
b42bb8fa58
Merge pull request #124060 from iholder101/swap/tmpfs-noswap
[KEP-2400] Mount tmpfs memory-backed volumes with a noswap option if supported
2024-05-23 07:02:03 -07:00
Lubomir I. Ivanov
7871949990 build/pause: add -v flag to the Windows pause binary
Make the Windows pause.exe have the same -v flag as the Linux
pause binary.

_stricmp is documented here:
https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/strcmp-wcscmp-mbscmp?view=msvc-170

The VERSION definition is passed on compile time for both OSes
in the Makefile via CFLAGS:

  $(TRIPLE)-gcc $(CFLAGS) -o $@ $^ && \

Add 3.10 version entry in the changelog.
2024-05-23 16:09:17 +03:00
Gunju Kim
65b9e560ce
e2e: Increase preStop hook delay to deflake the test
This delays the preStop hook to allow sufficient time for the readiness
probe to be executed.
2024-05-23 21:31:02 +09:00
Kubernetes Prow Robot
c9a1a0a3b8
Merge pull request #125072 from brianpursley/create-fix-validation
Fix validation of -f or -k flag in kubectl create command to be consistent with other commands
2024-05-22 22:34:27 -07:00
carlory
3812fa1d6d Fix kubelet on Windows fails if a pod has SecurityContext with RunAsUser.
Co-authored-by: rphillips <rphillips@redhat.com>
2024-05-23 12:44:51 +08:00
Kubernetes Prow Robot
073ce0e34b
Merge pull request #125076 from dims/missing-version-file-in-release-tarballs
Add missing "version" file in release tarballs
2024-05-22 19:40:59 -07:00