You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: keps/sig-node/3063-dynamic-resource-allocation/README.md
+96-49Lines changed: 96 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -721,8 +721,8 @@ For a resource driver the following components are needed:
721
721
-*Resource kubelet plugin*: a component which cooperates with kubelet to prepare
722
722
the usage of the resource on a node.
723
723
724
-
An utility library for resource drivers will be developed outside of Kubernetes
725
-
and does not have to be used by drivers, therefore it is not described further
724
+
An [utility library](https://github.com/kubernetes/kubernetes/tree/master/staging/src/k8s.io/dynamic-resource-allocation) for resource drivers was developed.
725
+
It does not have to be used by drivers, therefore it is not described further
726
726
in this KEP.
727
727
728
728
### State and communication
@@ -962,14 +962,6 @@ arbitrarily. Some combinations are more useful than others:
962
962
963
963
### Coordinating resource allocation through the scheduler
964
964
965
-
<<[UNRESOLVED pohly]>>
966
-
The entire scheduling section is tentative. Key opens:
967
-
- Support arbitrary combinations of user- vs. Kubernetes-managed ResourceClaims
@@ -2447,12 +2439,12 @@ We expect no non-infra related flakes in the last month as a GA graduation crite
2447
2439
-->
2448
2440
2449
2441
End-to-end testing depends on a working resource driver and a container runtime
2450
-
with CDI support. A mock driver will be developed in parallel to developing the
2451
-
code in Kubernetes, but as it will depend on the new APIs, we have to get those
2452
-
merged first.
2442
+
with CDI support. A [test driver](https://github.com/kubernetes/kubernetes/tree/master/test/e2e/dra/test-driver)
2443
+
was developed in parallel to developing the
2444
+
code in Kubernetes.
2453
2445
2454
-
Such a mock driver could be as simple as taking parameters from ResourceClass
2455
-
and ResourceClaim and turning them into environment variables that then get
2446
+
That test driver simply takes parameters from ResourceClass
2447
+
and ResourceClaim and turns them into environment variables that then get
2456
2448
checked inside containers. Tests for different behavior of an driver in various
2457
2449
scenarios can be simulated by running the control-plane part of it in the E2E
2458
2450
test itself. For interaction with kubelet, proxying of the gRPC interface can
@@ -2465,14 +2457,11 @@ All tests that don't involve actually running a Pod can become part of
2465
2457
conformance testing. Those tests that run Pods cannot be because CDI support in
2466
2458
runtimes is not required.
2467
2459
2468
-
Once we have end-to-end tests, at least two Prow jobs will be defined:
2469
-
- A pre-merge job that will be required and run only for the in-tree code of
2470
-
this KEP (`optional: false`, `run_if_changed` set, `always_run: false`).
2471
-
- A periodic job that runs the same tests to determine stability and detect
2472
-
unexpected regressions.
2473
-
2474
2460
For beta:
2475
-
- <test>: <linktotestcoverage>
2461
+
- pre-merge with kind (optional, triggered for code which has an impact on DRA): https://testgrid.k8s.io/sig-node-dynamic-resource-allocation#pull-kind-dra
2462
+
- periodic with kind: https://testgrid.k8s.io/sig-node-dynamic-resource-allocation#ci-kind-dra
2463
+
- pre-merge with CRI-O: https://testgrid.k8s.io/sig-node-dynamic-resource-allocation#pull-node-dra
2464
+
- periodic with CRI-O: https://testgrid.k8s.io/sig-node-dynamic-resource-allocation#ci-node-e2e-crio-dra
2476
2465
2477
2466
### Graduation Criteria
2478
2467
@@ -2602,7 +2591,7 @@ There will be pods which have a non-empty PodSpec.ResourceClaims field and Resou
2602
2591
###### What are the SLIs (Service Level Indicators) an operator can use to determine the health of the service?
2603
2592
2604
2593
For kube-controller-manager, metrics similar to the generic ephemeral volume
0 commit comments