|
2 | 2 | # OCIFit |
3 | 3 |
|
4 | 4 | <p align="center"> |
5 | | - <img src="docs/ocifit-k8s.png" height="300" alt="OCIFit Kubernetes"> |
| 5 | + <img src="docs/ocifit-k8s.png" height="500" alt="OCIFit Kubernetes"> |
6 | 6 | </p> |
7 | 7 |
|
8 | 8 |
|
| 9 | + |
9 | 10 | This is a Kubernetes controller that will do the following: |
10 | 11 |
|
11 | | -1. Start running in a cluster with NFD, and retrieving metadata about nodes in the cluster, along with being updated when nodes are added and removed. |
12 | | -2. Receiving pods and checking if they are flagged for image selection. |
13 | | - a. Being flagged means having the label "oci.image.compatibilities.selection/enabled" and (optionally) a node selector |
14 | | - b. If the cluster is not homogenous, a node selector is required, and should be the instance type that the pod is intended for. |
15 | | - c. If enabled, a URI is provided that points to a compatibility artifact |
16 | | - d. The artifact describes several images (and criteria for checking) that can be used for the Pod |
17 | | - e. The controller checks known nodes for the instance type against the spec, |
| 12 | +* Start running in a cluster with NFD, and retrieving metadata about nodes in the cluster, along with being updated when nodes are added and removed. |
| 13 | +* Receiving pods and checking if they are flagged for image selection. |
| 14 | + * Being flagged means having the label "oci.image.compatibilities.selection/enabled" and (optionally) a node selector |
| 15 | + * If the cluster is not homogenous, a node selector is required, and should be the instance type that the pod is intended for. |
| 16 | + * If enabled, a URI is provided that points to a compatibility artifact |
| 17 | + * The artifact describes several images (and criteria for checking) that can be used for the Pod |
| 18 | + * The controller checks known nodes for the instance type against the spec, |
18 | 19 |
|
19 | 20 |
|
20 | 21 | ## Notes |
|
0 commit comments