Ed Bartosh
bf0429ed07
migrate kubelet/certificate to contextual logging
2025-09-10 12:33:33 +03:00
Kubernetes Prow Robot
6f37102668
Merge pull request #133982 from yongruilin/master_vg-unique-tag
...
feat(validation-gen): refactor ratcheting and add +k8s:unique
2025-09-09 21:53:56 -07:00
Kubernetes Release Robot
05fc3f65d8
CHANGELOG: Update directory for v1.31.13 release
2025-09-10 04:03:46 +00:00
Kubernetes Release Robot
70af7708fc
CHANGELOG: Update directory for v1.34.1 release
2025-09-10 03:28:06 +00:00
Kubernetes Prow Robot
d16a15958e
Merge pull request #133971 from danwinship/kube-proxy-e2e
...
Put the nfacct e2e test back under the "KubeProxy" label
2025-09-09 19:30:05 -07:00
Kubernetes Prow Robot
f26c1326e2
Merge pull request #133957 from bart0sh/PR199-migrate-server-to-contextual-logging
...
Migrate kubelet/server to contextual logging
2025-09-09 19:29:57 -07:00
Kubernetes Release Robot
d884ed5e97
CHANGELOG: Update directory for v1.33.5 release
2025-09-10 01:38:47 +00:00
Kubernetes Release Robot
f89e73a303
CHANGELOG: Update directory for v1.32.9 release
2025-09-10 00:19:20 +00:00
Kubernetes Prow Robot
53b029e940
Merge pull request #133966 from kei01234kei/v1.34.0-api-testdata
...
Add v1.34.0 API testdata
2025-09-09 16:19:55 -07:00
yongruilin
bbdd27d91e
Add tests for unique tag combo & update-codegen
2025-09-09 22:41:24 +00:00
yongruilin
62662e3a08
feat(validation-gen): support unique tag on list
...
- Add tag +k8s:unique to be used on atomic list
- Use single `semantic` field instead of multiple boolean fields
- Make listType tags non-idempotent
- Fix validation logic to not require all lists to have listType
2025-09-09 22:29:48 +00:00
yongruilin
a5b29fa812
refactor(validation-gen): move list-related validators to list.go
2025-09-09 22:29:27 +00:00
Kubernetes Prow Robot
2ab8f2d2b4
Merge pull request #133979 from liggitt/revert-delete-rv
...
Revert "protect against race between deletion and adding finalizers"
2025-09-09 15:23:56 -07:00
Tim Hockin
c4d8c9b544
Re-disable listmap uniqueness (for now)
2025-09-09 22:12:25 +00:00
Tim Hockin
6fb020b194
Temporary: Re-enable listmap uniqueness checks
...
Testing this exposed a bug -- we do this check for both the field AND
the type when the field is a typedef. Now fixed to only emit a
uniqueness check at the site where listmap keys are defined.
2025-09-09 22:11:47 +00:00
Tim Hockin
3e15dded75
Pass equiv func to subfield, like item and eachVal
...
Update comments to be similar.
Co-Authored-by: Yongrui Lin <yongrlin@outlook.com >
2025-09-09 22:07:49 +00:00
Tim Hockin
0d5e374da9
Don't ratchet-check inside type functions
...
The caller has to do that. Add a big comment.
Co-Authored-by: Yongrui Lin <yongrlin@outlook.com >
2025-09-09 22:06:18 +00:00
Tim Hockin
b6fdbe4a6a
Emit ratchet check for fields with a type func
...
This could go inside the type func but then we end up with a double
ratchet sometimes.
Co-Authored-By: Yongrui Lin <yongrlin@outlook.com >
2025-09-09 21:58:55 +00:00
Jordan Liggitt
229954d113
Revert "protect against race between deletion and adding finalizers"
...
This reverts commit 1dd33c8e6d .
2025-09-09 16:33:42 -04:00
Kubernetes Prow Robot
0ce6d771ab
Merge pull request #133973 from yongruilin/master_vg-unique-tag
...
refactor(validation-gen): Refactor Union and Item validation
2025-09-09 13:19:57 -07:00
Kubernetes Prow Robot
8548f32a46
Merge pull request #133941 from pohly/scheduler-perf-dra-resourceslices
...
scheduler_perf: treat ResourceSlice publishing as workload startup
2025-09-09 11:57:56 -07:00
Tim Hockin
2d71a0d72b
Refactor ItemTagValidator.GetValidations a bit
2025-09-09 16:55:12 +00:00
Tim Hockin
8f679c7402
Make item validation just use a TagValidator
...
No need for Field/TypeValidators.
2025-09-09 16:55:12 +00:00
Tim Hockin
c047bdf58f
Sort item criteria to match listmap key order
2025-09-09 16:55:12 +00:00
Tim Hockin
26283acfb1
Clarify that union has field- or item-members
2025-09-09 16:55:12 +00:00
Tim Hockin
3f068c7c64
Parse path early, clean up getDisplayFields()
...
The path part of a list-item's fieldName is redundant with the path key
in the map. I don't love parsing paths, but it seems less awful that
overloading Context.Member.
2025-09-09 16:55:12 +00:00
Tim Hockin
77c1ac6320
Improve error reporting in item tag
2025-09-09 16:55:12 +00:00
Tim Hockin
1f61a8b814
Rename "fields" to "members"
...
It is more inclusive of list-item unions.
2025-09-09 16:55:11 +00:00
Tim Hockin
1417e56dff
Break processFieldMemberValidations into 2 funcs
...
It's a little repetitive but I think it is easier to follow.
2025-09-09 16:55:11 +00:00
Tim Hockin
023c026d6f
Add ListSelector in validation Context
...
We already have "Member" which is a way to "forward" information from
stem validators (each, subfield, item) to leaf validators. That works
for fields in a struct but not items in a list.
Now we have the list selection criteria.
This simplifies union a bit and gets rid of the need to regex parse the
field path.
2025-09-09 16:55:11 +00:00
Tim Hockin
3e2e2195ed
Unions: replace [2]string with a type
2025-09-09 16:55:11 +00:00
yongruilin
8130cf82b5
run "hack/update-codegen.sh valid"
2025-09-09 16:54:46 +00:00
Tim Hockin
348d576c9f
validation: Use JSON names in paths
...
This ensures that things that parse paths (e.g. to extract the leaf
part) get API-style names.
2025-09-09 16:15:17 +00:00
Tim Hockin
f51d57042e
Update Context comments and fix some usage
...
Audit all Context creation sites and update the comments to better
describe.
Pass the raw type in Context, not the `NativeType()`.
2025-09-09 16:14:06 +00:00
Tim Hockin
9e71a07abf
Minor validator name-string fix
2025-09-09 16:13:25 +00:00
Tim Hockin
fd3fcfe121
Add comments to generated code
...
This makes the output longer, but I think it might have helped catch
recent bugs that SHOULD have been caught by inspection.
2025-09-09 16:12:59 +00:00
Kubernetes Prow Robot
04096030a1
Merge pull request #133883 from yangjunmyfm192085/fixerrordescription
...
Fix incorrect description of feature PodObservedGenerationTracking
2025-09-09 08:46:06 -07:00
Kubernetes Prow Robot
fd71bb8bda
Merge pull request #133714 from jrvaldes/upstream/fix-enableSystemLogQuery-error-message
...
kubelet: fix error message for EnableNodeLogQuery
2025-09-09 08:45:59 -07:00
Dan Winship
471256619f
Put the nfacct e2e test back under the "KubeProxy" label
...
So you can skip all kube-proxy-specific tests with a single skip
2025-09-09 11:35:39 -04:00
Kubernetes Prow Robot
439aa009bb
Merge pull request #133947 from enj/enj/i/local_up_kubelet_ca
...
Validate kubelet serving cert in local-up-cluster
2025-09-09 06:49:31 -07:00
Patrick Ohly
8b50c77eb6
scheduler_perf: measure DRA setup time
...
The time required for pulling ResourceSlices into the scheduler is relevant in
two cases:
- The scheduler was (re)started and waits for informers to sync.
- A driver got deployed and needs to inform the scheduler about its devices.
The new workload measures the second scenario. It's indirectly relevant for
the first one because it allows drawing conclusion about the code which is also
involved in the first one.
2025-09-09 15:15:29 +02:00
Kubernetes Prow Robot
a8905a154b
Merge pull request #133179 from nmn3m/fix-strings-title
...
Replace deprecated strings.Title with cases.Title
2025-09-09 05:53:30 -07:00
Keisuke Ishigami
bc8ce67998
delete v1.32.0 testdata
2025-09-09 21:53:06 +09:00
Keisuke Ishigami
d59d48e64a
Add v1.34.0 API testdata
2025-09-09 21:51:19 +09:00
Kubernetes Prow Robot
1bec132e1e
Merge pull request #133939 from pohly/scheduler-perf-testing-B-metrics
...
scheduler_perf: reset and stop testing.B metrics
2025-09-09 02:59:31 -07:00
Ed Bartosh
b276c96ef8
Migrate kubelet/server to contextual logging
2025-09-09 12:49:42 +03:00
Kubernetes Prow Robot
ddd8e70b1e
Merge pull request #133933 from zhifei92/cleanup-duplicate-logs
...
Clean up duplicate logs
2025-09-08 14:05:43 -07:00
Kubernetes Prow Robot
01f11bfa24
Merge pull request #133930 from bart0sh/PR198-migrate-stats-to-contextual-logging
...
chore(kubelet): migrate stats to contextual logging
2025-09-08 14:05:36 -07:00
Kubernetes Prow Robot
a3fcc7070e
Merge pull request #129768 from liggitt/delete-finalizer-race
...
protect against race between deletion and adding finalizers
2025-09-08 14:05:28 -07:00
Monis Khan
801ee44163
Validate kubelet serving cert in local-up-cluster
...
Signed-off-by: Monis Khan <mok@microsoft.com >
2025-09-08 16:12:21 -04:00