Skip to content

Conversation

@manuelh-dev
Copy link

@manuelh-dev manuelh-dev commented Jun 12, 2024

Merge Checklist
  • Followed patch format from upstream recommendation: https://github.com/kata-containers/community/blob/main/CONTRIBUTING.md#patch-format
    • Included a single commit in a given PR - at least unless there are related commits and each makes sense as a change on its own.
  • Aware about the PR to be merged using "create a merge commit" rather than "squash and merge" (or similar)
  • genPolicy only: Ensured the tool still builds on Windows
  • The upstream/missing label (or upstream/not-needed) has been set on the PR.
Summary

The two samples define Pod overhead values. When testing these samples on clusters where different podOverhead values are defined by the respective runtime classes, the tests fail as the values need to match, see: /plugin/pkg/admission/runtimeclass/admission.go in the kubernetes GitHub repository. Hence, removing the overhead definitions.

Re-ran update_policy_samples.py. No change

Test Methodology

As stated, testing failed when using a runtimeClass with different podOverhead value.

The two samples define Pod overhead values. When testing these
samples on clusters where different podOverhead values are defined
by the respective runtime classes, the tests fail as the values
need to match, see: /plugin/pkg/admission/runtimeclass/admission.go
in the kubernetes GitHub repository. Hence, removing the overhead
definitions.

Re-ran update_policy_samples.py. No change.

Signed-off-by: Manuel Huber <[email protected]>
@manuelh-dev manuelh-dev added the upstream/not-needed PRs that will not be upstreamed (e.g. internal) label Jun 12, 2024
@manuelh-dev manuelh-dev requested review from a team as code owners June 12, 2024 22:21
@manuelh-dev manuelh-dev merged commit a4b4ca2 into msft-main Jun 13, 2024
@manuelh-dev manuelh-dev deleted the mahuber/samples branch June 18, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream/not-needed PRs that will not be upstreamed (e.g. internal)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants