Skip to content

Commit 28e63cb

Browse files
committed
Revert "Add TAS support for workloads on DWS clusters"
This reverts commit aa25cf1.
1 parent aa25cf1 commit 28e63cb

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

src/xpk/commands/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def is_TAS_possible(
7171
xpk_print('capacity_type data was not found in configmaps.')
7272
xpk_exit(1)
7373

74-
if not flex:
74+
if flex:
7575
return False
7676

7777
if (

src/xpk/commands/workload.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,7 @@
226226
metadata:
227227
labels:
228228
xpk.google.com/workload: {args.workload}
229-
annotations:
230-
{annotations}
229+
annotations: {annotations}
231230
spec:
232231
priorityClassName: {args.priority}
233232
restartPolicy: Never

src/xpk/core/kueue.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@
8989
name: dws-config
9090
spec:
9191
provisioningClassName: queued-provisioning.gke.io
92-
podSetUpdates:
93-
nodeSelector:
94-
- key: autoscaling.gke.io/provisioning-request
95-
valueFromProvisioningClassDetail: ResizeRequestName
9692
managedResources:
9793
- {managed_resource}
9894
---

0 commit comments

Comments
 (0)