Tim Hockin
cbbfabe7fe
Support embedded fields properly
2025-06-05 10:50:14 -04:00
Joe Betz
ac5cb23000
Bump gengo/v2 to latest
2025-06-04 22:39:08 -04:00
Kubernetes Prow Robot
544e7a63e2
Merge pull request #132105 from tallclair/ippr-preemption
...
Preempt based based on allocated resources rather than desired
2025-06-04 18:26:37 -07:00
Kubernetes Prow Robot
f9ad9d2b16
Merge pull request #132102 from tallclair/allocation-failure
...
Only set pod allocation if admission succeeds
2025-06-04 14:46:45 -07:00
Kubernetes Prow Robot
19d110af4a
Merge pull request #132063 from yongruilin/metric_fix-race
...
fix(metric): prevent data race in metric LabelValueAllowList initialization
2025-06-04 14:46:38 -07:00
Kubernetes Prow Robot
6188e5cb7b
Merge pull request #132101 from haircommander/restart-flake
...
e2e_node: verify restart looping container correctly
2025-06-04 13:40:50 -07:00
Kubernetes Prow Robot
5b248e1579
Merge pull request #132095 from esotsal/podResizeMutex-cleanup
...
Remove unecessary comment since podResizeMutex no longer exist.
2025-06-04 13:40:44 -07:00
Tim Allclair
d6ec03a130
Preempt based based on allocated resources rather than desired
2025-06-04 13:28:20 -07:00
Kubernetes Prow Robot
0731167a99
Merge pull request #131996 from ritazh/dra-adminaccess-updatelabelkey
...
DRAAdminAccess: update label key
2025-06-04 12:16:45 -07:00
Kubernetes Prow Robot
6eaef7b0d6
Merge pull request #131969 from skitt/test-e2e-pkg-errors
...
test: drop dependency on github.com/pkg/errors
2025-06-04 12:16:38 -07:00
Tim Allclair
705e89b046
Only set pod allocation if admission succeeds
2025-06-04 11:45:12 -07:00
Sotiris Salloumis
f8b893489c
Update pkg/kubelet/kubelet_test.go
...
Co-authored-by: Natasha Sarkar <natashasarkar@google.com >
2025-06-04 20:36:15 +02:00
yongruilin
147073102b
fix: prevent data race in metric LabelValueAllowList initialization
2025-06-04 18:06:07 +00:00
Kubernetes Prow Robot
45d267ca16
Merge pull request #131924 from yashsingh74/agnhost-netexec
...
agnhost: added server address for conntrack cleanup entries
2025-06-04 10:44:44 -07:00
Kubernetes Prow Robot
9c69b620e6
Merge pull request #131852 from bertinatto/bump-ordered-namespace-deletion-timeouts
...
test/e2e/apimachinery/namespace.go: make OrderedNamespaceDeletion test serial
2025-06-04 10:44:38 -07:00
Peter Hunt
daae472fe1
e2e_node: verify restart looping container correctly
...
when a test is verifying a container has restarted, we use a continually exiting
container. Not verifying the number of restarts is less than (rather than equal) introduces
a race between the container restarting and the status observation.
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2025-06-04 13:27:50 -04:00
Itamar Holder
8d3fb9ee0a
[KEP-2400] kubectl top: add a --show-swap option ( #129458 )
...
* top, refactor: turn package-exposed variables to unexpose struct fields
Signed-off-by: Itamar Holder <iholder@redhat.com >
* kubectl top node: add the --show-swap option
Example output:
> kubectl top node --show-swap
NAME CPU(cores) CPU(%) MEMORY(bytes) MEMORY(%) SWAP(bytes) SWAP(%)
node01 500m 8% 2836Mi 60% 0Mi 0%
node02 260m 5% 2206Mi 47% 512Mi 50%
Signed-off-by: Itamar Holder <iholder@redhat.com >
* kubectl top pod: add the --show-swap option
Example output:
> kubectl top pod -n kube-system --show-swap
NAME CPU(cores) MEMORY(bytes) SWAP(bytes)
coredns-58d5bc5cdb-5nbk4 2m 19Mi 0Mi
coredns-58d5bc5cdb-jsh26 3m 37Mi 0Mi
etcd-node01 51m 143Mi 0Mi
kube-apiserver-node01 98m 824Mi 0Mi
kube-controller-manager-node01 20m 135Mi 0Mi
kube-proxy-ffgs2 1m 24Mi 0Mi
kube-proxy-fhvwx 1m 39Mi 0Mi
kube-scheduler-node01 13m 69Mi 0Mi
metrics-server-8598789fdb-d2kcj 5m 26Mi 0Mi
Signed-off-by: Itamar Holder <iholder@redhat.com >
* kubectl top node --show-swap: add unit tests
Signed-off-by: Itamar Holder <iholder@redhat.com >
* kubectl top pod --show-swap: Add unit tests
Signed-off-by: Itamar Holder <iholder@redhat.com >
* Explicitly mark swap as unavailable when necessary
Signed-off-by: Itamar Holder <iholder@redhat.com >
---------
Signed-off-by: Itamar Holder <iholder@redhat.com >
2025-06-04 07:10:38 -07:00
Sotiris Salloumis
4c7840ec5d
podResizeMutex cleanup
...
Remove unecessary comment since
podResizeMutex no longer exist.
2025-06-04 15:33:27 +02:00
yashsingh74
c7fdf6abde
Handler will return the server port number instead of address
...
Signed-off-by: yashsingh74 <yashsingh1774@gmail.com >
2025-06-04 11:47:03 +05:30
Kubernetes Prow Robot
caa9324842
Merge pull request #132082 from aramase/aramase/t/kep_3331_revocation_unit_test
...
KEP-3331: Add test to simulate revocation via user validation rule using unique identifier (jti)
2025-06-03 15:46:37 -07:00
Anish Ramasekar
6a495241ef
KEP-3331: Add test to simulate revocation via user validation rule using unique identifier (jti)
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2025-06-03 14:40:17 -07:00
Kubernetes Prow Robot
bd87e4d2a6
Merge pull request #132061 from miltosdoul/fix_typeprovider_datarace
...
fix: datarace in ResolverTypeProvider
2025-06-03 14:34:44 -07:00
Kubernetes Prow Robot
68a0142976
Merge pull request #131980 from LucaBernstein/fix-typo
...
Fix typo in the `--anonymous-auth` flag name
2025-06-03 14:34:37 -07:00
Kubernetes Prow Robot
1c56fff49b
Merge pull request #132077 from ffromani/e2e-node-cgroup-v2-only
...
e2e: node: cpumanager: require cgroup v2
2025-06-03 12:10:46 -07:00
Kubernetes Prow Robot
a883be6e36
Merge pull request #132031 from atiratree/update-getRSPods
...
add orphanedPods parameter to getRSPods and improve code flow in syncReplicaSet
2025-06-03 12:10:39 -07:00
Fabio Bertinatto
466fb81528
test/e2e/apimachinery/namespace.go: make OrderedNamespaceDeletion test serial
...
With OrderedNamespaceDeletion enabled by default, the namespace
controller now deletes resources before deleting the namespace itself.
At the same time, some existing tests create many resources. When
those tests finish around the same time, the namespace controller can
become overloaded. As a result, it may take longer to start deleting
resources created by this test.
Initially, this patch increased the test timeout to account for that
delay. However, the test still flaked in 1 out of 10 jobs, which
suggests increasing the timeouts isn't enough.
Once the test was made serial, no flakes were observed.
2025-06-03 15:58:41 -03:00
Kubernetes Prow Robot
e98d47001c
Merge pull request #132053 from pohly/test-integration-race-configurable
...
test-integration: allow enabling race detection
2025-06-03 10:02:46 -07:00
Kubernetes Prow Robot
9819f760f0
Merge pull request #131991 from SergeyKanzhelev/clarifyTheTokenScope
...
Clarified the token scope and future plans for the next security scan…
2025-06-03 10:02:38 -07:00
Francesco Romani
7e7aa6d810
e2e: node: cpumanager: require cgroup v2
...
in general, the rewritten e2e cpumanager test assume cgroup v2.
A limited set of these may be updated to work also with the
obsolete and declining cgroup v1, but these need to be reviewed
on test-by-test matter.
To fix test failures, we add a top level require for cgroup v2,
skipping otherwise. This will fix the red lanes while we review
the testcases and the deprecation plan of the other tests.
Signed-off-by: Francesco Romani <fromani@redhat.com >
2025-06-03 18:22:48 +02:00
Kubernetes Prow Robot
e9b3d62c9a
Merge pull request #132055 from soltysh/default_prefs_tests
...
kuberc: add tests for DefaultGetPreferences
2025-06-03 08:20:39 -07:00
Maciej Szulik
68efb079aa
kuberc: add tests for DefaultGetPreferences
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com >
2025-06-03 16:17:25 +02:00
Kubernetes Prow Robot
d23407b0e2
Merge pull request #132035 from haircommander/userns-test-fix
...
e2e: fix userns test
2025-06-03 06:18:42 -07:00
Kubernetes Prow Robot
62f72addf2
Merge pull request #120816 from tnqn/fix-unreachable-taint-delay
...
NoExecute taint should be added when a Node's ready condition becomes Unknown
2025-06-03 00:54:44 -07:00
Kubernetes Prow Robot
b65f712d2c
Merge pull request #131907 from gnufied/do-not-expand-non-expnadable-volumes
...
Do not expand non expnadable volumes
2025-06-02 21:38:37 -07:00
Miltiadis Doulgeris
de1d6fbf24
fix: ResolverTypeProvider data race
2025-06-03 01:12:31 +03:00
Kubernetes Prow Robot
fd53f7292c
Merge pull request #132039 from alvaroaleman/fix-w-unstructured
...
FieldManagedObjectTracker: Fix to work with unstructured
2025-06-02 15:04:42 -07:00
Kubernetes Prow Robot
901d1249b5
Merge pull request #131801 from natasha41575/move-handle-pod-additions
...
move pod admission and resize logic into the allocation manager
2025-06-02 13:42:38 -07:00
Natasha Sarkar
9b8d7ce498
pr review feedback
2025-06-02 17:51:03 +00:00
Sergey Kanzhelev
a512de6e09
Clarified the token scope and future plans for the next security scan to refer to it
2025-06-02 16:53:10 +00:00
Stephen Kitt
a6e2268994
Ensure github.com/pkg/errors is used only in kubeadm
...
Now that all other uses have been removed, this configures depguard to
ensure that new ones aren't added outside kubeadm.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2025-06-02 14:29:38 +02:00
Patrick Ohly
6cb14884b6
test-integration: allow enabling race detection
...
A job may now enable race detection via KUBE_RACE=-race.
2025-06-02 11:47:42 +02:00
Stephen Kitt
545fbc99c2
test: drop dependency on github.com/pkg/errors
...
The package is unmaintained, and the tests don't rely on the
functionality it provides on top of Golang errors (stack traces).
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2025-06-02 11:27:09 +02:00
Kubernetes Prow Robot
849a82b727
Merge pull request #132036 from adrianmoisey/kep-4427
...
KEP-4427: Promote Relaxed DNS search string validation to GA
2025-06-01 14:02:43 -07:00
Kubernetes Prow Robot
7f139457c1
Merge pull request #131961 from cyclinder/fix_proxy_unknown_option
...
proxy: remove iptables wait interval flag
2025-06-01 14:02:36 -07:00
Kubernetes Prow Robot
002faa6baa
Merge pull request #131847 from HirazawaUi/fix-test-leak
...
kubelet: Fix potential goroutine leak in unit tests
2025-05-31 13:00:11 -07:00
Kubernetes Prow Robot
531b767896
Merge pull request #131659 from mortent/MoreEffectiveAllocatorForPartitionable
...
DRA: Improve implementation of counter management in allocator
2025-05-31 00:16:18 -07:00
Adrian Moisey
0a7d9f9bfd
KEP-4427: Promote Relaxed DNS search string validation to GA
2025-05-31 07:45:16 +02:00
Morten Torkildsen
2aa7ef3d27
Address comments
2025-05-30 22:20:30 +00:00
Kubernetes Prow Robot
4832b57e48
Merge pull request #131968 from pohly/dra-kubelet-prepare-validation
...
DRA kubelet: validation pass before changing claim info cache
2025-05-30 12:40:19 -07:00
Alvaro Aleman
dbdd6a3b43
FieldManagedObjectTracker: Fix to work with unstructured
...
Prior to this patch, this fails because the skipnonappliedfieldmanager
uses the `objectcreater` (aka `*runtime.Scheme`) to create a new object
for which it never sets the GVK. In the case of
`*unstructured.Unstructured`, the GVK can not be derived from the object
itself so the operation would subsequently fail [here][0] with an
```
Object 'Kind' is missing in 'unstructured object has no kind'
```
error. Fix this by explicitly setting the GVK in case of unstructured.
[0]: 02eb7d424a/staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/structuredmerge.go (L98)
2025-05-30 15:33:42 -04:00