Following this instruction – https://8grams.medium.com/how-to-setup-gitlab-runner-on-kubernetes-cluster-e4caf688ca89
Doubt :
- After a tag is registered with the gitlab EE server
- From the .gitlab-ci.yaml, we can specify the image/stages, and it does spin up the pod.
- from .gitlab-ci.yaml, can we assign the resources when spinning up a pod ? Cause we have the k8s worker node having Nvidia GPU and how do we be able to assign the resources (for example size 64G/16CPU/2GPU for one instance type, and 128G/32CPU/4GPU for one different instance type).
is there any examples/references i can use, pardon for raising here.
from .gitlab-ci.yaml, can we assign the resources when spinning up a pod ? Cause we have the k8s worker node having Nvidia GPU and how do we be able to assign the resources (for example size 64G/16CPU/2GPU for one instance type, and 128G/32CPU/4GPU for one different instance type).