Commit Graph

118014 Commits

Author SHA1 Message Date
Itamar Holder
59e3e3897e Add SwapStats to summary API through CRI
Signed-off-by: Itamar Holder <iholder@redhat.com>
2023-07-18 02:55:56 +03:00
Itamar Holder
87ff9c4525 Add swap statistics to CRI-API
Signed-off-by: Itamar Holder <iholder@redhat.com>
2023-07-18 02:55:53 +03:00
Kubernetes Prow Robot
a9b3ca34b5 Merge pull request #119381 from gjkim42/fix-e2e-tests-overriding-grace-period-when-probe-is-set
Fix e2e tests for overriding timoutGracePeriodSeconds when probe is set
2023-07-17 16:55:18 -07:00
Kubernetes Prow Robot
704970877e Merge pull request #119380 from A-Hilaly/api-server/webhooks/match-conditions-beta-graduations
Graduate `AdmissionWebhookMatchCondition` to beta
2023-07-17 16:55:07 -07:00
Itamar Holder
053d7ac61f Unit tests: cadvisor swap stats
Signed-off-by: Itamar Holder <iholder@redhat.com>
2023-07-18 02:40:02 +03:00
Itamar Holder
c74ee8045d Add SwapStats to summary API through cadvisor
Signed-off-by: Itamar Holder <iholder@redhat.com>
2023-07-18 02:40:02 +03:00
Itamar Holder
a05d200ac8 Add SwapStats to NodeStats, PodStats and ContainerStats
Signed-off-by: Itamar Holder <iholder@redhat.com>
2023-07-18 02:40:02 +03:00
Gunju Kim
d029f0ef06 Add restartable init container lifecycle hook e2e tests 2023-07-18 08:12:25 +09:00
Gunju Kim
f17e911777 Add restartable init container probe e2e tests 2023-07-18 08:12:25 +09:00
Gunju Kim
9d6c1030db Generate containers ready condition including restartable init containers 2023-07-18 08:12:24 +09:00
Gunju Kim
3bf282652f Allow restartable init containers to have lifecycle 2023-07-18 08:12:24 +09:00
Gunju Kim
7ef2d674e2 Allow restartable init containers to have livenessProbe 2023-07-18 07:54:33 +09:00
Gunju Kim
2c8b37498e Allow restartable init containers to have readinessProbe 2023-07-18 07:54:33 +09:00
Gunju Kim
8b20dbd0d1 Add validateStartupProbe 2023-07-18 07:54:32 +09:00
Kubernetes Prow Robot
ff90c1cc73 Merge pull request #119374 from danwinship/kep-3178-ga
move KEP-3178 IPTablesOwnershipCleanup to GA
2023-07-17 15:53:47 -07:00
Kubernetes Prow Robot
fab1f606dd Merge pull request #119341 from divyasri537/remove-ctx-canceled-failopen
Ignore context canceled from validate and mutate webhook failopen metric
2023-07-17 15:53:40 -07:00
Kubernetes Prow Robot
d627c4b41c Merge pull request #119312 from pacoxu/prometheus/common-v0.44
upgrade prometheus common to v0.44.0
2023-07-17 15:53:33 -07:00
Kubernetes Prow Robot
58b3ae97b7 Merge pull request #119241 from cartermckinnon/ccm-node-taint-delay-metric
Add metrics for cloud controller manager initial node sync
2023-07-17 15:53:26 -07:00
Kubernetes Prow Robot
1fef8fd51d Merge pull request #118770 from marquiz/devel/cgroup-driver-autoconfig
kubelet: get cgroup driver config from CRI
2023-07-17 15:53:18 -07:00
Kensei Nakada
c7e7eee554 feature(scheduling_queue): track events per Pods (#118438)
* feature(sscheduling_queue): track events per Pods

* fix typos

* record events in one slice and make each in-flight Pod to refer it

* fix: use Pop() in test before AddUnschedulableIfNotPresent to register in-flight Pods

* eliminate MakeNextPodFuncs

* call Done inside the scheduling queue

* fix comment

* implement done() not to require lock in it

* fix UTs

* improve the receivedEvents implementation based on suggestions

* call DonePod when we don't call AddUnschedulableIfNotPresent

* fix UT

* use queuehint to filter out events for in-flight Pods

* fix based on suggestion from aldo

* fix based on suggestion from Wei

* rename lastEventBefore → previousEvent

* fix based on suggestion

* address comments from aldo

* fix based on the suggestion from Abdullah

* gate in-flight Pods logic by the SchedulingQueueHints feature gate
2023-07-17 15:53:07 -07:00
Joe Betz
91ea804335 Replace lavalamp with jpbetz as feature-approver for api-machinery 2023-07-17 17:54:00 -04:00
Kubernetes Prow Robot
a776bf0462 Merge pull request #116335 from gnufied/update-api-recovery-apis
Update api recovery apis
2023-07-17 14:52:35 -07:00
Amine
94c8ad289b Enable admissionWebhookMatchCondition by default 2023-07-17 22:40:55 +01:00
Itamar Holder
4321d8c60f Graduate NodeSwap to Beta1
Signed-off-by: Itamar Holder <iholder@redhat.com>
2023-07-18 00:24:12 +03:00
Dan Winship
f1e7386fbc Deprecate now-unused kubelet iptables flags 2023-07-17 16:51:47 -04:00
Dan Winship
d486736dd3 Remove IPTablesOwnershipCleanup checks and dead code 2023-07-17 16:51:47 -04:00
Kubernetes Prow Robot
934589a245 Merge pull request #119383 from SergeyKanzhelev/cri-api-approvers
All sig node approvers should be able to merge changes to CRI API
2023-07-17 13:48:04 -07:00
Kubernetes Prow Robot
765aaffde6 Merge pull request #119382 from SergeyKanzhelev/nodefeatureowners
Adding node feature owners
2023-07-17 13:47:56 -07:00
Kubernetes Prow Robot
f412e92a96 Merge pull request #119354 from gjkim42/fix-e2e-tests-overriding-grace-period-of-probes
Never drop the `terminationGracePeriodSeconds` of a probe
2023-07-17 13:47:49 -07:00
Kubernetes Prow Robot
1da70b0736 Merge pull request #119264 from logicalhan/promote-metrics
promote beta metrics
2023-07-17 13:47:41 -07:00
Kubernetes Prow Robot
92856db662 Merge pull request #118973 from ffromani/kubelet-podresources-getallocatable-ga
node: podresources: getallocatable: move to GA
2023-07-17 13:47:33 -07:00
Kubernetes Prow Robot
af33d7a5af Merge pull request #118959 from MikeSpreitzer/fix-118957b
Fix, deprecate apiserver_flowcontrol_request_concurrency_limit
2023-07-17 13:47:25 -07:00
Kubernetes Prow Robot
42141aaf93 Merge pull request #118578 from bart0sh/PR117-DRA-log-manager-errors
DRA: report NodePrepareResource errors
2023-07-17 13:47:13 -07:00
Carter McKinnon
77cbd86b0b Add metrics for cloud-provider node sync, update. 2023-07-17 13:40:16 -07:00
Divya Sri Sanaganapalli
d3c506133f Skip apiserver_admission_webhook_request_total during context-canceled 2023-07-17 19:52:43 +00:00
Kubernetes Prow Robot
8633adbb07 Merge pull request #119342 from A-Hilaly/api-server/webhooks/match-conditions-integration-tests
Add integration tests for `MatchConditions` feature gate enablement
2023-07-17 12:47:23 -07:00
Daniel Vega-Myhre
7698fe7639 Add StatefulSet pod index as pod label (#119232)
* add statefulset pod index as pod label

* change statefulset pod index label name

* check 3 pods

* change label variable name
2023-07-17 12:47:10 -07:00
Hemant Kumar
2e217e8cea Reduce duplication between helpers for checking featuregate 2023-07-17 15:34:45 -04:00
Hemant Kumar
7edd72f780 Update generated documentation 2023-07-17 15:34:37 -04:00
Hemant Kumar
137474e283 Fix validation options for old pvc
Also update comments on allocatedresourcestatuses fields
2023-07-17 15:30:36 -04:00
Hemant Kumar
d765fa6b74 Update generated stuff after changing comments 2023-07-17 15:30:36 -04:00
Hemant Kumar
f01a1faa8c Update comments about allocatedResourceStatus
Update API types with more comments
2023-07-17 15:30:36 -04:00
Hemant Kumar
c072e5b3a7 Update test generated data for 1.26 branch 2023-07-17 15:30:36 -04:00
Hemant Kumar
db8998265e Update 1.27 generated data 2023-07-17 15:30:36 -04:00
Hemant Kumar
6a780f57ce Update generated data 2023-07-17 15:30:36 -04:00
Hemant Kumar
e011187114 Update code to use new generic allocatedResourceStatus field 2023-07-17 15:30:35 -04:00
Andrew Sy Kim
d3ef2d4fe9 priority & fairness: support dynamically configuring work estimator max seats
Max seats from prioriy & fairness work estimator is now min(0.15 x
nominalCL, nominalCL/handSize)

'Max seats' calculated by work estimator is currently hard coded to 10.
When using lower values for --max-requests-inflight, a single
LIST request taking up 10 seats could end up using all if not most seats in
the priority level. This change updates the default work estimator
config such that 'max seats' is at most 10% of the
maximum concurrency limit for a priority level, with an upper limit of 10.
This ensures seats taken from LIST request is proportional to the total
available seats.

Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2023-07-17 19:26:52 +00:00
Kubernetes Prow Robot
56f6030125 Merge pull request #119353 from aojea/proxy_metrics
aggregate kube-proxy metrics
2023-07-17 11:41:21 -07:00
Kubernetes Prow Robot
890a6c8f70 Merge pull request #118895 from RyanAoh/kep-1860
Make Kubernetes aware of the LoadBalancer behaviour
2023-07-17 11:41:10 -07:00
Han Kang
9189c3d559 fix tests 2023-07-17 11:22:23 -07:00