Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Worker template should be configurable. #335

Open
MartinForReal opened this issue May 27, 2021 · 1 comment
Open

Worker template should be configurable. #335

MartinForReal opened this issue May 27, 2021 · 1 comment

Comments

@MartinForReal
Copy link
Member

The QoS of worker pod created by operator is Burstable due to the resource config here:

var initContainerTemplate = `
- name: init-pytorch
image: {{.InitContainerImage}}
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 100m
memory: 20Mi
requests:
cpu: 50m
memory: 10Mi
command: ['sh', '-c', 'until nslookup {{.MasterAddr}}; do echo waiting for master; sleep 2; done;']`

This is a vital issue because only the pods with Guaranteed class can be processed by cpumanager.

@johnugeorge
Copy link
Member

We could make them guaranteed or take these values as args

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants