-
Notifications
You must be signed in to change notification settings - Fork 3
feat: replace in-memory scheduling with Kueue #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| {{- if .Values.kueue.includeKueue -}} | ||
| apiVersion: kueue.x-k8s.io/v1beta1 | ||
| kind: ClusterQueue | ||
| metadata: | ||
| name: {{ .Values.kueue.clusterQueue.name }} | ||
| labels: | ||
| {{- include "java-generator-chart.labels" . | nindent 4 }} | ||
| spec: | ||
| namespaceSelector: {} # Allow all namespaces | ||
| resourceGroups: | ||
| - coveredResources: ["cpu", "memory"] | ||
| flavors: | ||
| - name: {{ .Values.kueue.resourceFlavor.name }} | ||
| resources: | ||
| # CPU quota for all concurrent tasks | ||
| # Note: Kueue uses resource requests (not limits) for admission control | ||
| - name: "cpu" | ||
| nominalQuota: {{ .Values.kueue.clusterQueue.quotas.cpu | quote }} | ||
| # Memory quota for all concurrent tasks | ||
| # Note: Kueue uses resource requests (not limits) for admission control | ||
| - name: "memory" | ||
| nominalQuota: {{ .Values.kueue.clusterQueue.quotas.memory | quote }} | ||
| # Admission control configuration | ||
| queueingStrategy: {{ .Values.kueue.clusterQueue.queueingStrategy }} | ||
| {{- end }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| {{- if .Values.kueue.includeKueue -}} | ||
| apiVersion: kueue.x-k8s.io/v1beta1 | ||
| kind: LocalQueue | ||
| metadata: | ||
| name: {{ .Values.kueue.localQueue.name }} | ||
| namespace: {{ .Release.Namespace }} | ||
| labels: | ||
| {{- include "java-generator-chart.labels" . | nindent 4 }} | ||
| spec: | ||
| clusterQueue: {{ .Values.kueue.clusterQueue.name }} | ||
| {{- end }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| {{- if .Values.kueue.includeKueue -}} | ||
| apiVersion: kueue.x-k8s.io/v1beta1 | ||
| kind: ResourceFlavor | ||
| metadata: | ||
| name: {{ .Values.kueue.resourceFlavor.name }} | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @thavlice I'm having issues deploying the latest
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tecarter94 Agree, lets create the |
||
| labels: | ||
| {{- include "java-generator-chart.labels" . | nindent 4 }} | ||
| spec: {} | ||
| {{- end }} | ||
Uh oh!
There was an error while loading. Please reload this page.