-
Notifications
You must be signed in to change notification settings - Fork 10
Introduction about gpu‐provisioner
rambohe edited this page Jan 5, 2025
·
5 revisions
- Both of them are used for providing nodes dynamically.
- AutoScaler scales nodes based on a fixed specification which is configured for a node group(like nodepool).
- Karpenter is more flexible, provide nodes tailored to the pod's requirements. and supports custom's configuations like instance types and zones. moreover, Karpenter supported some more sophisticated features like consolidation. this feature can use more cheaper node to replace the current one.
gpu-provisioner component is used for provisioning VM by using Azure NodePool resource in terms of NodeClaim resource. so only features related NodeClaim of Karpenter are enabled. and other features such as related to NodeClass and NodePool are disabled.
The following features are used in gpu-provisoner:
- nodeclaim lifecycle controller: create/register/init node.
- resource termination
- node termination controller: terminate cloudprovider resource by deleting node.
- nodeclaim termination controller: terminate cloudprovider resource by deleting nodeclaim
- garbage collection
- nodeclaim garbage collection controller: garbage collect NodeClaim resource when cloudprovider instance has been removed.
- nodeclaim conversion webhook: support conversion betwwen v1beta1.NodeClaim and v1.NodeClaim
you can run the command go mod vendor to check all modifications of Karpenter in gpu-provisioner.
- Adopt with some NodePool New APIs
- Support drift resource