Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@wgahnagl
Copy link
Contributor

@wgahnagl wgahnagl commented Dec 2, 2020

What type of PR is this?

/kind api-change
/kind bug
/kind ci
/kind cleanup
/kind dependency-change
/kind deprecation
/kind design
/kind documentation
/kind failing-test

/kind feature

/kind flake
/kind other

What this PR does / why we need it:

allows the shmsize to be set with a handler allowed annotation

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Moves shm size to a handler-allowed annotation 

@openshift-ci-robot openshift-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. dco-signoff: no Indicates the PR's author has not DCO signed all their commits. labels Dec 2, 2020
@openshift-ci-robot openshift-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 2, 2020
@openshift-ci-robot
Copy link

Hi @wgahnagl. Thanks for your PR.

I'm waiting for a cri-o member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@wgahnagl wgahnagl changed the title Shmsize annotation convert shmsize annotation to handler_allowed Dec 2, 2020
@openshift-ci-robot openshift-ci-robot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. and removed dco-signoff: no Indicates the PR's author has not DCO signed all their commits. labels Dec 2, 2020
@wgahnagl wgahnagl changed the title convert shmsize annotation to handler_allowed [WIP] convert shmsize annotation to handler_allowed Dec 2, 2020
@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 2, 2020
@haircommander
Copy link
Member

@dkatipamula this is the behavior change btw

@wgahnagl wgahnagl force-pushed the shmsize-annotation branch 2 times, most recently from a721d78 to 7526a12 Compare December 2, 2020 15:54
@wgahnagl wgahnagl changed the title [WIP] convert shmsize annotation to handler_allowed convert shmsize annotation to handler_allowed Dec 2, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 2, 2020
@codecov
Copy link

codecov bot commented Dec 2, 2020

Codecov Report

Merging #4402 (a4588db) into master (5e58378) will increase coverage by 0.02%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##           master    #4402      +/-   ##
==========================================
+ Coverage   40.49%   40.52%   +0.02%     
==========================================
  Files         116      116              
  Lines        9329     9326       -3     
==========================================
+ Hits         3778     3779       +1     
+ Misses       5125     5120       -5     
- Partials      426      427       +1     

@haircommander
Copy link
Member

/ok-to-test

@openshift-ci-robot openshift-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 2, 2020
@haircommander haircommander added this to the 1.20 milestone Dec 2, 2020
@haircommander
Copy link
Member

we will need a release note on this btw explaining the dropped config value and the new usage
/retest

@umohnani8
Copy link
Member

Changes LGTM
@wgahnagl can you please add a release note.

runtime_path = "$RUNTIME_BINARY"
runtime_root = "$RUNTIME_ROOT"
runtime_type = "$RUNTIME_TYPE"
allowed_annotations = ["io.kubernetes.cri-o.ShmSize"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can allowed_annotations be specified on a global (rather than per-runtime) basis? The way it is configured now kinda overloads the meaning of a runtime.

Copy link
Member

Choose a reason for hiding this comment

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

not currently!

@haircommander
Copy link
Member

/cherry-pick release-1.20

@openshift-cherrypick-robot

@haircommander: once the present PR merges, I will cherry-pick it on top of release-1.20 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-1.20

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@haircommander
Copy link
Member

/retest
/approve

LGTM @umohnani8 @mrunalp @kolyshkin PTAL

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: haircommander, wgahnagl

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 7, 2020
@mrunalp
Copy link
Member

mrunalp commented Dec 7, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 7, 2020
@umohnani8
Copy link
Member

LGTM

@haircommander
Copy link
Member

/retest

1 similar comment
@haircommander
Copy link
Member

/retest

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Dec 8, 2020
@haircommander
Copy link
Member

/lgtm

(needed another docs update)

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 8, 2020
@haircommander
Copy link
Member

/retest

@openshift-cherrypick-robot

@haircommander: new pull request created: #4417

Details

In response to this:

/cherry-pick release-1.20

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@wgahnagl wgahnagl deleted the shmsize-annotation branch December 14, 2020 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants