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: added minimum resources for containers on k8s to the docs. #708

Merged
merged 4 commits into from Jun 13, 2023

Conversation

Peeeekay
Copy link
Contributor

@Peeeekay Peeeekay commented Jun 12, 2023

Updated the docs for:

Users can add min resource requirements for their containers on Kubernetes and update the doc accordingly. Along with that, we are replacing cpu_allocation and memory_allocation with max_cpu and max_memory fields in ServiceConfig.

We will deprecate cpu_allocation and memory_allocation in two weeks from now. An example to set resources:

ServiceConifg( 
..., 
 max_cpu = 1000,
 min_cpu = 500,
 max_memory = 1024,
 min_memory = 512,
 )

@Peeeekay Peeeekay marked this pull request as ready for review June 12, 2023 15:00
@Peeeekay Peeeekay changed the title Pk/add min max to docs feat: added minimum resources for containers on k8s to the docs. Jun 12, 2023
@cloudflare-pages
Copy link

cloudflare-pages bot commented Jun 12, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: caeb619
Status: ✅  Deploy successful!
Preview URL: https://e4b53881.kurtosis-docs.pages.dev
Branch Preview URL: https://pk-add-min-max-to-docs.kurtosis-docs.pages.dev

View logs

cli/cli/commands/lsp/resource/kurtosis_starlark.json Outdated Show resolved Hide resolved
cli/cli/commands/lsp/resource/kurtosis_starlark.json Outdated Show resolved Hide resolved
docs/docs/starlark-reference/service-config.md Outdated Show resolved Hide resolved
docs/docs/starlark-reference/service-config.md Outdated Show resolved Hide resolved
Peeeekay added a commit that referenced this pull request Jun 13, 2023
@Peeeekay Peeeekay merged commit 8340651 into main Jun 13, 2023
28 checks passed
@Peeeekay Peeeekay deleted the pk/add_min_max_to_docs branch June 13, 2023 15:32
leoporoli pushed a commit that referenced this pull request Jun 13, 2023
Updated the docs for:

Users can add min resource requirements for their containers on
Kubernetes and update the doc accordingly. Along with that, we are
replacing `cpu_allocation` and `memory_allocation` with `max_cpu` and
`max_memory` fields in ServiceConfig.

We will deprecate `cpu_allocation` and `memory_allocation` in two weeks
from now. An example to set resources:

```
ServiceConifg( 
..., 
 max_cpu = 1000,
 min_cpu = 500,
 max_memory = 1024,
 min_memory = 512,
 )
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants