Skip to content
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

feat(launch): adding agent.nodeSelector variable for agent chart #40

Merged
merged 4 commits into from
Nov 2, 2023

Conversation

bcsherma
Copy link
Contributor

@bcsherma bcsherma commented Oct 31, 2023

Adding a variable for the agent pod's nodeSelector in the values file for the agent chart.

adding readme docs
adding a default value in the values file
@bcsherma bcsherma temporarily deployed to Helm Charts October 31, 2023 23:57 — with GitHub Actions Inactive
@bcsherma bcsherma marked this pull request as ready for review October 31, 2023 23:59
@bcsherma bcsherma temporarily deployed to Helm Charts November 1, 2023 17:53 — with GitHub Actions Inactive
@@ -46,6 +46,7 @@ The table below describes all the available variables in the chart:
| `agent.image` | string | No | `wandb/launch-agent-dev:latest` | Container image for the agent. |
| `agent.imagePullPolicy` | string | No | `Always` | Pull policy for the agent container image. |
| `agent.resources` | object | No | Limit to 1 CPU, 1Gi RAM | Pod spec resources block for the agent. |
| `agent.nodeSelector` | object | No | `{}` | Node selector for the agent pod. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does leaving this blank break anything?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope 👍🏻

@@ -3,7 +3,7 @@ name: launch-agent
icon: https://em-content.zobj.net/thumbs/240/apple/354/rocket_1f680.png
description: A Helm chart for running the W&B Launch Agent in Kubernetes
type: application
version: 0.11.0
version: 0.12.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the rules for minor vs patch update here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arbitrary. I'm actually going to do this as a patch

Copy link
Contributor

@KyleGoyette KyleGoyette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of qs

Copy link
Contributor

@KyleGoyette KyleGoyette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stamped since testing with an empty object worked

@bcsherma bcsherma merged commit bfca087 into main Nov 2, 2023
1 check passed
@bcsherma bcsherma deleted the launch/agent-node-selector branch November 2, 2023 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants