forked from intel/pmem-csi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
operator: API(v1beta1) changes to support per-container resources
Moving the deployment API to `v1beta1` along with supporting per-container resources. In Kubernetes resource requiremets are per-container. Existing `ControllerResources` and `NodeResources` API fields are not suffice to configure resources for sidecar containers. Hence added new fields to deployment specification for per-container resources. Also chose the default cpu,memory resource requests/limits for the containers as suggested by the VPA (Verticall Pod Autoscaler). TODOS: - To support deprecated `v1alpha1` API, needs a conversion webhook in the cluster to handled conversions between different API versions. FIXES: intel#616
- Loading branch information
Showing
24 changed files
with
1,106 additions
and
53 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...csi.intel.com_v1alpha1_deployment_cr.yaml → ...-csi.intel.com_v1beta1_deployment_cr.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.