Skip to content

Conversation

@charliepark
Copy link
Contributor

We now have silo quotas in Omicron; this PR makes them available to Console.

Targets Omicron sha 7c3cd6abe9d957a51465209497064fb133854932.

@vercel
Copy link

vercel bot commented Dec 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Dec 13, 2023 11:41pm

@zephraph
Copy link
Contributor

https://github.com/oxidecomputer/console/pull/1857/files#file-app-forms-silo-create-tsx-L30 will need defaults for the quota (all 0s should be fine).

For the handlers I think you can just add NotImplemented helpers for the new quota operations.

Comment on lines +39 to +43
quotas: {
cpus: 0,
memory: 0,
storage: 0,
},
Copy link
Contributor

Choose a reason for hiding this comment

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

So this is a good start but we want to add the form elements where the operator can actually set these values. That can be done in a separate PR if you wish though.

Copy link
Contributor

@zephraph zephraph left a comment

Choose a reason for hiding this comment

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

This looks great, thanks!

As mentioned, we'll need to add the extra form fields to silo create to allow the operators to create quotas. That can be done in a separate PR if desired though.

@charliepark
Copy link
Contributor Author

Solid. Will get this in and handle the form next.

@charliepark charliepark merged commit d536bd9 into main Dec 14, 2023
@charliepark charliepark deleted the update-omicron-version-and-generated-files branch December 14, 2023 17:46
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