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(helm-charts): allow pod spec overrides via values #5771

Merged
merged 2 commits into from
Jul 19, 2024

Conversation

lc525
Copy link
Member

@lc525 lc525 commented Jul 18, 2024

Updates the helm charts to allow passing dictionary values that update the
podSpec for:

  • hodometer
  • seldon-scheduler
  • seldon-envoy
  • seldon-dataflow-engine
  • seldon-modelgateway
  • seldon-pipelinegateway
  • default mlserver & triton Server CRs

The podSpec value can be used to override any of the k8s pod spec configs,
including:

  • tolerations
  • nodeSelector/nodeAffinity
  • volumes

The current operator behaviour when providing list values as part of the podSpec
setting is to append the elements of those lists to already existing elements.

The one exception is the list under podSpec.containers, where the settings for
items (containers) with the same name are merged.

TODO

  • add ansible dev docs showing how to mount local paths in the rclone container

Which issue(s) this PR fixes:

Special notes for your reviewer:

Updates the helm charts to allow passing dictionary values that update the
podSpec for:

- hodometer
- seldon-scheduler
- seldon-envoy
- seldon-dataflow-engine
- seldon-modelgateway
- seldon-pipelinegateway
- default mlserver & triton Server CRs

The podSpec value can be used to override any of the k8s pod spec configs,
including:
- tolerations
- nodeSelector/nodeAffinity
- volumes

The current operator behaviour when providing list values as part of the podSpec
setting is to append the elements of those lists to already existing elements.

The one exception is the list under podSpec.containers, where the settings for
items (containers) with the same name are *merged*.
@lc525 lc525 requested a review from sakoush as a code owner July 18, 2024 21:41
@lc525 lc525 added the v2 label Jul 18, 2024
@lc525 lc525 marked this pull request as draft July 18, 2024 21:59
- example defining a volume mounted in the rclone container of an inference
server and pointing to a local (host) path
@lc525 lc525 marked this pull request as ready for review July 18, 2024 22:15
@lc525 lc525 merged commit 5a372df into SeldonIO:v2 Jul 19, 2024
5 checks passed
@lc525 lc525 deleted the quickfix/helm-chart-podspec-overrides branch July 19, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants