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

Configure resource requests and limits #1379

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Conversation

vara2504
Copy link
Contributor

https://tigera.atlassian.net/browse/EV-4687

Product Version(s):

Issue:

Link to docs preview:

SME review:

  • An SME has approved this change.

DOCS review:

  • A member of the docs team has approved this change.

Additional information:

Merge checklist:

  • Deploy preview inspected wherever changes were made
  • Build completed successfully
  • Test have passed

Copy link

netlify bot commented Mar 15, 2024

Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit 78cead2
🔍 Latest deploy log https://app.netlify.com/sites/calico-docs-preview-next/deploys/660b2a0106000e0008bcf246
😎 Deploy Preview https://deploy-preview-1379--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 57 (🟢 up 5 from production)
Accessibility: 93 (no change from production)
Best Practices: 92 (no change from production)
SEO: 79 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Mar 15, 2024

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 78cead2
🔍 Latest deploy log https://app.netlify.com/sites/tigera/deploys/660b2a01dda8ea00083d8016
😎 Deploy Preview https://deploy-preview-1379--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 67 (🟢 up 1 from production)
Accessibility: 93 (no change from production)
Best Practices: 83 (no change from production)
SEO: 86 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@vara2504 vara2504 marked this pull request as ready for review March 26, 2024 16:28
@vara2504 vara2504 requested a review from a team as a code owner March 26, 2024 16:28
@ctauchen
Copy link
Collaborator

@vara2504 You've partially reorganized the PR, but there's still a few things left.

  • create a file at reference/component-resources/configure-resources.mdx
  • Put the content of the include into configure-resources.mdx, with frontmatter, title, etc (what you had in the file you deleted)
  • remove the include.

Once that's sorted, I'll get to the line edits. Thanks!

@vara2504
Copy link
Contributor Author

@ctauchen My bad. I missed to add the untracked files. It should be good now.

Copy link
Collaborator

@ctauchen ctauchen left a comment

Choose a reason for hiding this comment

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

A few cosmetic changes. Otherwise LGTM!

Comment on lines 14 to 15


Copy link
Collaborator

Choose a reason for hiding this comment

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

rm extra lines

```
This command sets the CPU request to 100 milliCPU (mCPU) and the memory request is set to 100 Mebibytes (MiB) while the CPU limit is set to 1 CPU and the memory limit is set to 1000 Mebibytes (MiB).

Verifying Resources:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Verifying Resources:
#### Verification

Change globally.




## APIServer
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
## APIServer
## APIServer custom resource

Change globally for CRs. Helps visually to distinguish the major buckets from smaller types.

Comment on lines 72 to 74
The [ApplicationLayer](../../reference/installation/api.mdx#operator.tigera.io/v1.ApplicationLayer) CR provides a way to configure resources for L7LogCollectorDaemonSet.

Example Configurations:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
The [ApplicationLayer](../../reference/installation/api.mdx#operator.tigera.io/v1.ApplicationLayer) CR provides a way to configure resources for L7LogCollectorDaemonSet.
Example Configurations:
The [ApplicationLayer](../../reference/installation/api.mdx#operator.tigera.io/v1.ApplicationLayer) CR provides a way to configure resources for L7LogCollectorDaemonSet. The following sections provide example configurations for this CR.

Change globally.

Comment on lines 1127 to 1128

### ############################
Copy link
Collaborator

Choose a reason for hiding this comment

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

rm

@vara2504
Copy link
Contributor Author

vara2504 commented Apr 1, 2024

@ctauchen Addressed the review commands. Please take a look and let me know.

@ctauchen
Copy link
Collaborator

ctauchen commented Apr 2, 2024

LGTM, thanks!

@ctauchen ctauchen merged commit 07912ac into tigera:main Apr 2, 2024
9 of 10 checks passed
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.

None yet

2 participants