Commit Graph

10363 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
77b0410114 Merge pull request #131322 from BenTheElder/etcd-log-noise-2
reduce etcd install log noise in test-integration-dockerized.sh
2025-04-23 19:30:44 -07:00
Kubernetes Prow Robot
f24f73f005 Merge pull request #131066 from pohly/test-e2e-ginkgo-wait-fix
hack/ginkgo-e2e.sh: fix misplaced brackets
2025-04-23 19:30:36 -07:00
Kubernetes Prow Robot
077a382170 Merge pull request #131242 from zhifei92/update-mockery-version
Upgrade the mockery version to v2.53.3
2025-04-23 17:09:43 -07:00
Kubernetes Prow Robot
695e59cc14 Merge pull request #130981 from thockin/kk_hack_verify_api_lint
Add a verify script for codegen lint
2025-04-23 13:32:05 -07:00
Kubernetes Prow Robot
9d1363eff6 Merge pull request #130852 from Chulong-Li/contextual-logging
Migrate pkg/kubelet/status to contextual logging
2025-04-23 13:31:43 -07:00
Benjamin Elder
3fcb26f017 reduce etcd install log noise 2025-04-15 15:18:22 -07:00
zhangzhifei16
c1ff9cf4e8 chore: Upgrade the mockery version to v2.53.3. 2025-04-10 21:16:47 +08:00
joshjms
24edc6e90f Update etcd to 3.5.21
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-04-02 02:16:38 +08:00
Kubernetes Prow Robot
070f0ad3bd Merge pull request #129970 from mortent/AddResourceV1beta2API
Add resource v1beta2 API
2025-03-26 09:10:47 -07:00
Morten Torkildsen
39507d911f Add resource v1beta2 API 2025-03-26 14:41:09 +00:00
Patrick Ohly
3067bbfe15 hack/ginkgo-e2e.sh: fix misplaced brackets
If the script got killed, it failed to wait properly:

    Waiting for Ginkgo with pid 73873...
    ./hack/ginkgo-e2e.sh: line 236: wait: `{73873}': not a pid or valid job spec
2025-03-26 12:10:23 +01:00
Tim Hockin
252d584cb7 Implement validation-gen lint for CI
Results in errors like:

```
$ ./hack/verify-api-lint.sh
+++ [0317 09:00:04] Generating validation code for 69 targets
F0317 09:00:05.637556 1049736 targets.go:363] lint failed:
  type k8s.io/api/core/v1.PodAffinityTerm:
    field LabelSelector: conflicting tags: {+k8s:optional, +k8s:required}: fields cannot be both optional and required
    field Namespaces: conflicting tags: {+default, +k8s:required}: fields with default values are always optional
!!! [0317 09:00:05] Call tree:
!!! [0317 09:00:05]  1: hack/update-codegen.sh:1132 codegen::validation(...)
```
2025-03-21 08:20:04 -07:00
Kubernetes Prow Robot
61572d7a7b Merge pull request #130948 from BenTheElder/log-spam
CI integration scripts: reduce log noise from installing etcd
2025-03-20 17:10:38 -07:00
Kubernetes Prow Robot
3ac21c1a1c Merge pull request #130938 from pohly/test-gotestsum-format
test: switch gotestsum quiet output format
2025-03-20 14:16:47 -07:00
Benjamin Elder
3b3df8ba72 CI integration scripts: reduce log noise from installing etcd 2025-03-20 11:59:32 -07:00
Chulong Li
d868eeb088 Migrate pkg/kubelet/status to contextual logging
Update with logger from context

Fix nil pointer issue in TestUpdateReadiness
2025-03-20 21:58:14 +08:00
Patrick Ohly
2a9a3ea827 test: switch gotestsum quiet output format
"--format standard-quiet" shows log output on stderr (= klog logging) if it
occurs outside of a test (= test has leaked something). That is inconsistent
with "go test" without -v and a problem for pull-kubernetes-unit because many
tests do not clean up properly.

"pkgname-and-test-fails" hides the extra output and seems similar enough:

       pkgname-and-test-fails   print a line for each package and failed test output

    $ gotestsum --format pkgname-and-test-fails ./test/internal/logging --count=1
    ✓  test/internal/logging (5.007s)

    DONE 1 tests in 5.384s
2025-03-20 12:09:44 +01:00
Francesco Romani
3c7ed00e22 node: kep-2625: cpu manager policy options GA
Move the support for CPUManager Policy Options to GA

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-03-20 08:31:32 +01:00
yongruilin
7b5cbbb961 chore: Remove unused unversioned feature gate map by consolidating feature gate files 2025-03-19 20:02:53 +00:00
Keita Mochizuki
07a275437f kubectl debug: Display a warning message that the debug container's capabilities may not work with a non-root user (#127696)
* Add warning message about capabilities of debug container

* fix1

* fix2

* fix3
2025-03-19 00:50:30 -07:00
Kubernetes Prow Robot
c79e13c177 Merge pull request #130821 from BenTheElder/revert-procs
Revert "stop overriding max concurrency in CI, let automax procs handle it
2025-03-14 12:32:07 -07:00
Kubernetes Prow Robot
8e147365a8 Merge pull request #130803 from siyuanfoundation/owner
chore: Add update-featuregates to update.sh
2025-03-14 12:31:53 -07:00
Benjamin Elder
cf20c21ef8 Revert "stop overriding max concurrency in CI, let automax procs handle it"
This reverts changes from commit 9e42056a0d.

NOTE: this is not a clean revert bcause of further changes.
2025-03-14 09:42:04 -07:00
Kubernetes Prow Robot
b00f88e3b5 Merge pull request #129414 from yongruilin/compatibility-version-featuregate
feat: Refactors featuregate lifecycle management script
2025-03-13 18:55:46 -07:00
Kubernetes Prow Robot
129661b2c7 Merge pull request #130760 from BenTheElder/cleanup-integration
Cleanup CI integration scripts
2025-03-13 16:05:53 -07:00
Siyuan Zhang
a9514b0591 Add update-featuregates to update.sh
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-03-13 15:53:06 -07:00
yongruilin
088daf472b feat: Refactors featuregate lifecycle management script
- rename featuregate_linter to compatibility_lifecycle
- add feature removal verify to follow N+3 rule
- remove unversioned related operation
- rename yaml folder name to "reference"
2025-03-13 21:57:21 +00:00
Benjamin Elder
1ddfc7bdce benchmark-dockerized.sh: don't redundantly install gotestsum
this is handled centrally by make test which is called by make test-integration which this script calls

only make test's implementation actually calls gotestsum, and it also handles installing if needed
2025-03-13 11:23:53 -07:00
Benjamin Elder
8898868fea install-ectd.sh: brace PATH and suggest user export 2025-03-13 11:23:53 -07:00
Benjamin Elder
d798d86981 cleanup CI integration scripts
- stop setting ARTIFACTS from WORKSPACE, CI handles setting ARTIFACTS and WORKSPACE isn't used anymore (bazel?)
- stop cd-ing GOPATH, CI sets the working dir already and local users won't necessarily have GOPATH
- sop clobbering PATH with hardcoded assumptions, source install-etcd.sh instead (which updates PATH)
- don't redundantly set KUBE_COVER to the default
- pass logging env inline so the command can be pasted locally
- set -x so the command is visible
- add TODO about needing a wrapper script just to call install-etcd
2025-03-13 11:23:53 -07:00
Kubernetes Prow Robot
6549f52b97 Merge pull request #130757 from BenTheElder/delete-dead-script
delete hack/test-integration.sh
2025-03-12 20:13:59 -07:00
Benjamin Elder
9e42056a0d stop overriding max concurrency in CI, let automax procs handle it 2025-03-12 13:45:48 -07:00
Benjamin Elder
cb7afbccf6 delete hack/test-integration.sh
this script has exited non-zero after telling the user to call make test-integration for 5+ years now

we should just drop it
2025-03-12 13:41:45 -07:00
Kubernetes Prow Robot
c7c0c62edb Merge pull request #130737 from aaron-prindle/validation-gen-rename-extra-arg-flag-upstream
[Declarative Validation] chore(validation-gen): rename flag --extra-pkg -> --readonly-pkg in validation-gen
2025-03-11 19:48:13 -07:00
Kubernetes Prow Robot
6ef9938e4a Merge pull request #130647 from alexandear/golangci-fix-forbidigo-settings
hack: fix settings for forbidigo linter
2025-03-11 19:47:52 -07:00
Aaron Prindle
cfcf7e93a3 chore(validation-gen): rename flag --extra-pkg -> --readonly-pkg in validation-gen 2025-03-11 19:17:48 +00:00
Oleksandr Redko
ca4f785757 Update hack/verify-golangci-lint.sh
Co-authored-by: Benjamin Elder <bentheelder@google.com>
2025-03-11 11:45:45 -07:00
Oleksandr Redko
80f4f62ea8 hack: fix shellcheck 2025-03-10 15:56:30 +02:00
Oleksandr Redko
77758c185b hack: verify to verify-golangci-lint.sh 2025-03-10 14:37:13 +02:00
Oleksandr Redko
67f0e95b3a hack: fix text 2025-03-10 14:31:08 +02:00
Oleksandr Redko
a9d558de26 hack: verify golangci-lint config, update text 2025-03-10 12:40:04 +02:00
Kubernetes Prow Robot
0f2bde7745 Merge pull request #130555 from thockin/k_k_randfill
Use randfill in k/k
2025-03-09 01:47:45 -08:00
Tim Hockin
f08e640b9e Lock down gofuzz in deps 2025-03-08 15:22:01 -08:00
Joe Betz
6798e2d863 Add time to extra-pkgs for validation-gen 2025-03-08 14:21:49 -05:00
Kubernetes Prow Robot
0eaee48ecb Merge pull request #130569 from dims/update-to-latest-cadvisor-v0.52.0
Update to latest cadvisor @ v0.52.1 and new opencontainer/cgroups and drops opencontainers/runc
2025-03-07 17:09:51 -08:00
Davanum Srinivas
97a54dc4b0 update to v1.22.0-rc.0
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-03-07 13:45:34 -05:00
Oleksandr Redko
834a0d92cf hack: fix settings for forbidigo linter 2025-03-07 17:27:03 +02:00
Joe Betz
9765fe4abb Add all extra_pkgs needed by main API types to validation-gen 2025-03-06 19:45:17 -05:00
Jefftree
c597cc1f30 Allow OpenAPI verification to pass both with and without strict alpha
handling
2025-03-05 21:31:40 +00:00
Davanum Srinivas
5ecddb6571 update to latest cadvisor @ v0.52.0
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-03-05 06:36:39 -05:00