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

Add ability to provision persistent disks to agents #590

Merged
merged 14 commits into from
Oct 25, 2023

Conversation

eolivelli
Copy link
Member

@eolivelli eolivelli commented Oct 16, 2023

type: "noop"
resources:
disk:
enabled: true
Copy link
Member

Choose a reason for hiding this comment

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

enabled ? it seems redundant

Copy link
Member Author

Choose a reason for hiding this comment

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

because maybe you want to temporary disable it without removing the configuration.

it is hard to distinguish "not enabled" from nulls that we have in all the code paths that deal with disks, like merging configurations with defaults or handling backward/forward compatibility

@nicoloboschi nicoloboschi changed the title Add ability to provision persistent disks to agents Add ability to provision persistent disks to agents (part1) Oct 24, 2023
@nicoloboschi nicoloboschi marked this pull request as ready for review October 24, 2023 09:41
@nicoloboschi
Copy link
Member

I continued the work:
Changes:

  • We compute the disks syntax and send it to the agent crd
  • In the operator you can configure the mapping between a type and storage class. Also you can define default storage class name and default disk size. Note that the storage class must already exists.

@nicoloboschi nicoloboschi changed the title Add ability to provision persistent disks to agents (part1) Add ability to provision persistent disks to agents Oct 24, 2023
@@ -63,7 +69,7 @@ kubectl apply -f helm/examples/herddb-dev.yaml
# Start LangStream
helm repo add langstream https://langstream.github.io/charts
helm repo update
helm install langstream langstream/langstream --values helm/examples/local.yaml || helm upgrade langstream langstream/langstream --values helm/examples/local.yaml
helm install langstream ../langstream-charts/charts/langstream --values helm/examples/local.yaml || helm upgrade langstream ../langstream-charts/charts/langstream --values helm/examples/local.yaml
Copy link
Member Author

Choose a reason for hiding this comment

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

we should probably rollback this line

@eolivelli eolivelli merged commit f0ed083 into main Oct 25, 2023
10 checks passed
@eolivelli eolivelli deleted the impl/stateful-agents-1 branch October 25, 2023 08:09
@eolivelli eolivelli added the enhancement New feature or request label Oct 25, 2023
@eolivelli eolivelli added this to the 0.4.0 milestone Oct 25, 2023
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants