astonishing-city-91590
01/28/2025, 2:04 PMohli-core-development namespace, which sets the priorityClassName to medium for all Flyte pods in this namespace:
apiVersion: v1
kind: PodTemplate
metadata:
name: ohli-template
namespace: ohli-core-development
template:
metadata:
pod-template-name: ohli-template
pod-template-namespace: ohli-core-development
spec:
priorityClassName: medium
containers:
- name: primary
image:
<http://docker.io/rwgrim/docker-noop|docker.io/rwgrim/docker-noop>
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /mnt
name: mnt-volume
volumes:
- hostPath:
path: /mnt
name: mnt-volume
My question is: Can I assign differen priorityClassName values within the same namespace in Flyte? Specifically, I want to set the priorityClassName to medium for pods whose names start with local_, while setting the priorityClassName to high for all other pods in the ohli-core-development namespace.
Is there a way to achieve this using PodTemplates or other configuration in Flyte?
Thanks in advance for your help! 🙏average-finland-92144
01/29/2025, 4:07 AMlocal_ or anything