Skip to content

Commit

Permalink
fix issue with kubernetes node_selector
Browse files Browse the repository at this point in the history
  • Loading branch information
saikonen committed Aug 19, 2024
1 parent 5035628 commit 7b64927
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions metaflow/plugins/kubernetes/kubernetes_decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ def __init__(self, attributes=None, statically_defined=False):
self.attributes["node_selector"] = parse_kube_keyvalue_list(
self.attributes["node_selector"].split(",")
)
else:
self.attributes["node_selector"] = {}
if self.attributes["compute_pool"]:
self.attributes["node_selector"].update(
{"outerbounds.co/compute_pool": self.attributes["compute_pool"]}
Expand Down

0 comments on commit 7b64927

Please sign in to comment.