Commit Graph

117461 Commits

Author SHA1 Message Date
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
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
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
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
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
Han Kang
aa788219f4 fix metric names 2023-07-17 11:22:21 -07:00
Han Kang
d32aa62d84 promote beta metrics 2023-07-17 11:20:26 -07:00
Sergey Kanzhelev
65ce7222ce All sig node approvers should be able to merge changes to CRI API 2023-07-17 18:16:53 +00:00
Sergey Kanzhelev
9cb2c10310 Adding node feature owners 2023-07-17 17:45:42 +00:00
Amine
00de051729 Make matchConditionsFeatureGateInitiallyEnabled a boolean instead 2023-07-17 18:34:42 +01:00
Peter Hunt
bfa62e0009 kubelet: retry RuntimeConfig call and prep for nil values from GetLinux
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2023-07-17 13:05:30 -04:00
Gunju Kim
6aeff13def
Never drop the terminationGracePeriodSeconds of a probe 2023-07-18 01:34:02 +09:00
Peter Hunt
d0952686f6 CRI: add cavieats about cgroup driver field
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2023-07-17 12:27:05 -04:00
Markus Lehtonen
d7797fbc61 kubelet: get cgroup driver config from CRI
This patch modifies kubelet to get the cgroup driver setting from the
CRI runtime using the newly added RuntimeConfig rpc. The new code path
only takes place if the KubeletCgroupDriverFromCRI feature gate is
enabled. If the runtime returns a not-implemented error kubelet falls
back to using the cgroupDriver configuration option, with a log message
instructing the user to upgrade to w newer container runtime. Other rpc
errors cause kubelet to exit as is the case if the runtime returns an
unknown cgroup driver.
2023-07-17 12:27:05 -04:00
Markus Lehtonen
fd434003f3 kubelet: initialization of runtime service earlier in the startup
This patch refactors the kubelet startup code to initialize the runtime
service earlier in the startup sequence. We want this to be able to
query the cgroup driver setting from the CRI befure initializing the
cgroup manager.
2023-07-17 12:27:05 -04:00
Markus Lehtonen
37330a1392 Add KubeletCgroupDriverFromCRI feature gate 2023-07-17 12:27:04 -04:00
Markus Lehtonen
d2d5e2e27d Add CRI fake runtimes for RuntimeConfig rpc
Also update the CRI RuntimeService inteface to include the new
RuntimeConfig rpc.
2023-07-17 12:27:04 -04:00
Markus Lehtonen
0f05a92ce6 cri-api: add rpc for querying runtime configuration
This patch adds a new rpc to the runtime service to query CRI runtime
configuration options. For now, it only contains one field for getting
the cgroup driver (systemd or cgroupfs) to be used.
2023-07-17 12:27:04 -04:00
Kubernetes Prow Robot
4f60a8d493
Merge pull request #119110 from andrewsykim/apf-metrics-beta
Promote kube-apiserver flowcontrol metrics to Beta
2023-07-17 09:05:12 -07:00
Kubernetes Prow Robot
847f175874
Merge pull request #119371 from xmudrii/go1206-pubbot
Update publishing-bot rules for release branches to Go 1.20.6
2023-07-17 07:39:13 -07:00
Marko Mudrinić
660be4484b
Update publishing-bot rules for release branches to Go 1.20.6
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2023-07-17 15:39:39 +02:00