David Porter
f58b46cb97
fix process stats
...
Signed-off-by: David Porter <david@porter.me >
2024-07-22 10:54:42 -04:00
Hemant Kumar
f7f1a6c81a
Address review comments and return nicer errors
2024-07-22 10:43:38 -04:00
PannagaRamamanohara
7df640d197
Promote FSQuotaMonitoring flag to beta
2024-07-22 10:18:21 -04:00
Kubernetes Prow Robot
8b8f84c6a7
Merge pull request #125862 from sanposhiho/cleanup-nominated
...
cleanup: remove duplicated AddNominatedPod
2024-07-22 06:50:03 -07:00
Kubernetes Prow Robot
1f436e0fba
Merge pull request #124108 from carlory/update-test-InTreePluginXXXUnregister
...
update unit test for adc to test volume migration
2024-07-22 06:49:49 -07:00
PannagaRamamanohara
d16fd6a915
pkg/volume: Use QuotaMonitoring in UserNamespace
...
Enable LocalStorageCapacityIsolationFSQuotaMonitoring
only when hostUsers in PodSpec is set to false.
Modify unit tests and e2e tests to verify
Signed-off-by: PannagaRamamanohara <pbhojara@redhat.com >
2024-07-22 09:43:57 -04:00
Kensei Nakada
2a51bd81fa
fix: async metric recording
2024-07-22 21:32:19 +09:00
Yuki Iwai
594490fd77
Job: Add the CompletionsReached reason to the SuccessCriteriaMet condition
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2024-07-22 21:24:52 +09:00
杨朱 · Kiki
bc3c07091b
Fix a bug where the target pod doesn't become schedulable within 5 minutes when a deleted pod uses the same PVC with the ReadWriteOncePod access mode. ( #126263 )
...
Co-authored-by: Kensei Nakada <handbomusic@gmail.com >
2024-07-22 01:20:34 -07:00
Patrick Ohly
62d21589ef
api test: update TestDefaulting
...
Logging and sub-tests were added to help debug this problem:
the test passes for ResourceClaim (same defaulting!) and fails
for the list, but only if run together with the other test cases?!
$ go test ./pkg/api/testing
--- FAIL: TestDefaulting (1.76s)
--- FAIL: TestDefaulting/resource.k8s.io/v1alpha3,_Kind=ResourceClaimList (0.01s)
defaulting_test.go:238: expected resource.k8s.io/v1alpha3, Kind=ResourceClaimList to trigger defaulting due to fuzzing
FAIL
FAIL k8s.io/kubernetes/pkg/api/testing 17.294s
FAIL
$ go test -run=TestDefaulting/resource.k8s.io/v1alpha3,_Kind=ResourceClaimList ./pkg/api/testing
ok k8s.io/kubernetes/pkg/api/testing 0.062s
What fixed that problem was increasing the likelihood of generating the right
test object by iterating more often before giving up.
2024-07-21 17:28:14 +02:00
Patrick Ohly
8a629b9f15
DRA: remove "sharable" from claim allocation result
...
Now all claims are shareable up to the limit imposed by the size of the
"reserverFor" array.
This is one of the agreed simplifications for 1.31.
2024-07-21 17:28:14 +02:00
Patrick Ohly
de5742ae83
DRA: remove immediate allocation
...
As agreed in https://github.com/kubernetes/enhancements/pull/4709 , immediate
allocation is one of those features which can be removed because it makes no
sense for structured parameters and the justification for classic DRA is weak.
2024-07-21 17:28:14 +02:00
Patrick Ohly
b51d68bb87
DRA: bump API v1alpha2 -> v1alpha3
...
This is in preparation for revamping the resource.k8s.io completely. Because
there will be no support for transitioning from v1alpha2 to v1alpha3, the
roundtrip test data for that API in 1.29 and 1.30 gets removed.
Repeating the version in the import name of the API packages is not really
required. It was done for a while to support simpler grepping for usage of
alpha APIs, but there are better ways for that now. So during this transition,
"resourceapi" gets used instead of "resourcev1alpha3" and the version gets
dropped from informer and lister imports. The advantage is that the next bump
to v1beta1 will affect fewer source code lines.
Only source code where the version really matters (like API registration)
retains the versioned import.
2024-07-21 17:28:13 +02:00
Kensei Nakada
82a54e8cc8
cleanup: remove duplicated addNominatedPodUnlocked
2024-07-21 16:04:25 +09:00
Kubernetes Prow Robot
10496b35a8
Merge pull request #126015 from micahhausler/kubelet-cert-validation
...
Enhance node admission to validate kubelet CSR's CN
2024-07-20 21:27:42 -07:00
Kubernetes Prow Robot
558c9536a1
Merge pull request #123678 from kinvolk/userns-use-kubelet-user-mappings
...
kubelet: Add logs for userns custom mappings parsing
2024-07-20 19:59:57 -07:00
Micah Hausler
b251efe0ad
Enhance node admission to validate kubelet CSR's CN
...
Signed-off-by: Micah Hausler <mhausler@amazon.com >
2024-07-20 19:06:00 -05:00
Kubernetes Prow Robot
8527092e02
Merge pull request #119024 from wafuwafu13/deprecated-node-label
...
chore(node/util): add more labels to `deprecatedNodeLabels`
2024-07-20 11:31:40 -07:00
Kubernetes Prow Robot
892acaa6a7
Merge pull request #126107 from enj/enj/i/svm_not_found_err
...
svm: set UID and RV on SSA patch to cause conflict on logical create
2024-07-20 08:18:01 -07:00
Kensei Nakada
fa8092f838
support UpdatePodScaleDown instead of UpdatePodRequest
2024-07-20 19:20:38 +09:00
Kensei Nakada
0dee497876
fix: make updatePodOther private
2024-07-20 17:49:46 +09:00
Kensei Nakada
0b133c7fa9
modify test
2024-07-20 17:44:57 +09:00
Kensei Nakada
e46fe0b673
register UpdatePodOther to a general Update
2024-07-20 17:44:57 +09:00
Kensei Nakada
066826d476
fix wordings
2024-07-20 17:44:57 +09:00
Kensei Nakada
4283ab5df3
use PodUpdateOther internally
2024-07-20 17:44:55 +09:00
Kensei Nakada
0cd1ee4259
add(scheduler/framework): implement smaller Pod update events
2024-07-20 17:44:23 +09:00
Kubernetes Prow Robot
8f265b6305
Merge pull request #126136 from cici37/removeFG
...
Remove feature gate CustomResourceValidationExpressions
2024-07-20 00:08:52 -07:00
Kubernetes Prow Robot
a8d354bf39
Merge pull request #126122 from HirazawaUi/remove-unused-options
...
kubelet: Remove unused run container options
2024-07-19 18:05:16 -07:00
Kubernetes Prow Robot
14b34fc255
Merge pull request #125834 from tallclair/log-cleanup
...
[kubelet] Cleanup incorrect log about static pod status change
2024-07-19 16:58:54 -07:00
Kubernetes Prow Robot
64ba17c605
Merge pull request #125571 from liggitt/filter-auth-02-sar
...
add field and label selectors to authorization
2024-07-19 15:30:01 -07:00
Kubernetes Prow Robot
ec8015daac
Merge pull request #124273 from panoswoo/fix/124255
...
Remove missing extended resources from init containers
2024-07-19 15:29:53 -07:00
Jordan Liggitt
4d535db8be
Add selector authorization to the Node authorizer
2024-07-19 15:06:51 -04:00
Jordan Liggitt
03d48b7683
Move CEL env initialization out of package init()
...
This ensures compatibility version and feature gates can be initialized
before cached CEL environments are created.
2024-07-19 15:06:48 -04:00
David Eads
92e3445e9d
add field and label selectors to authorization attributes
...
Co-authored-by: Jordan Liggitt <liggitt@google.com >
2024-07-19 15:06:47 -04:00
Kubernetes Prow Robot
b3e769b72e
Merge pull request #126228 from googs1025/fix_informer
...
chore(Job): make trivial improvements to job controller unit test
2024-07-19 12:03:24 -07:00
Kubernetes Prow Robot
6f3f115378
Merge pull request #126222 from macsko/dont_lock_activeq_twice_in_activate_in_scheduling_queue
...
Don't lock activeQ twice when activating pod in scheduling queue
2024-07-19 12:03:10 -07:00
David Eads
f5e5bef2e0
generate
2024-07-19 14:35:37 -04:00
David Eads
90f0b88b6a
add subjectaccessreview field and label selectors
...
Co-authored-by: Jordan Liggitt <liggitt@google.com >
2024-07-19 14:34:49 -04:00
Kubernetes Prow Robot
ce961fdc84
Merge pull request #125165 from carlory/clean-volume-util
...
remove unused functions in volume/util
2024-07-19 10:34:45 -07:00
googs1025
6626b9ce28
chore(Job): remove deprecated fake.NewSimpleClientset method
2024-07-19 23:46:29 +08:00
googs1025
75a4cfbd58
chore(Job): use ctx.Done() instead of stopCh
2024-07-19 23:43:36 +08:00
googs1025
af5b8bed70
chore(Job): use WaitForCacheSync method after sharedInformerFactory Start
2024-07-19 23:41:20 +08:00
bells17
e1aa8197ed
volumebinding: scheduler queueing hints - CSIStorageCapacity ( #124961 )
...
* volumebinding: scheduler queueing hints - CSIStorageCapacity
* Fixed points mentioned in the review
* Fixed points mentioned in the review
* Update pkg/scheduler/framework/plugins/volumebinding/volume_binding.go
Co-authored-by: Kensei Nakada <handbomusic@gmail.com >
* Update pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go
Co-authored-by: Kensei Nakada <handbomusic@gmail.com >
* Fixed points mentioned in the review
* volume_binding.go を更新
Co-authored-by: Kensei Nakada <handbomusic@gmail.com >
---------
Co-authored-by: Kensei Nakada <handbomusic@gmail.com >
2024-07-19 07:53:52 -07:00
Kensei Nakada
7ef3cf5d07
feature: support queueing_hint_execution_duration_seconds metric
2024-07-19 23:13:07 +09:00
Kubernetes Prow Robot
01eb9f4754
Merge pull request #125929 from sanposhiho/requeueing-metrics
...
add: implement event_handling_duration_seconds metric
2024-07-19 04:43:00 -07:00
Maciej Skoczeń
7421ded6f9
Don't lock activeQ twice when activating pod in scheduling queue
2024-07-19 09:18:42 +00:00
Kubernetes Prow Robot
77e12aeca9
Merge pull request #126207 from thockin/ingress-backend-port-atomic
...
Make ServiceBackendPort an atomic struct
2024-07-18 19:24:26 -07:00
Kubernetes Prow Robot
7f2c167b9c
Merge pull request #126203 from danwinship/kube-proxy-bad-ips
...
validate that kube-proxy handles "bad" IPs/CIDRs correctly
2024-07-18 19:24:18 -07:00
Kubernetes Prow Robot
25935965c5
Merge pull request #125782 from aborrero/master
...
procMount: fix default value documentation
2024-07-18 19:24:11 -07:00
Kubernetes Prow Robot
27fa59a8af
Merge pull request #125656 from gyuho/recent-stats-check-error-for-error-level-logging
...
feat(kubelet/stats): match cadvisor error to lower not found stats log level
2024-07-18 19:24:01 -07:00