shy-solstice-54260
03/28/2024, 1:42 PMexport const createPodPriorityClass = (priorityClasssName: string, priorityClassValue: number, preemptionPolicy: string, k8sProvider: k8s.Provider) => {
new k8s.scheduling.v1.PriorityClass(priorityClasssName, {
metadata: {
name: priorityClasssName,
},
preemptionPolicy: preemptionPolicy,
value: priorityClassValue,
globalDefault: false,
});
}
This is the snippet I'm using to create priortiy classNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by