- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.1k
Fix: If cgroup manager is cgroupfs then allow conmon_cgroup to be empty #8888
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
Conversation
| Hi @xw19. 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  Once the patch is verified, the new status will be reflected by the  I understand the commands that are listed here. 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-sigs/prow repository. | 
| Codecov ReportAttention: Patch coverage is  
 Additional details and impacted files@@            Coverage Diff             @@
##             main    #8888      +/-   ##
==========================================
+ Coverage   47.47%   47.49%   +0.02%     
==========================================
  Files         154      154              
  Lines       23111    23124      +13     
==========================================
+ Hits        10971    10983      +12     
  Misses      11071    11071              
- Partials     1069     1070       +1      | 
| /ok-to-test | 
| /retest | 
| /test ci-crun-e2e | 
| /retest | 
| /retest | 
    
      
        1 similar comment
      
    
  
    | /retest | 
| /test ci-fedora-kata | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
Thanks for your patience!
@cri-o/cri-o-maintainers PTAL
| @xw19 please rebase this one | 
39673c4    to
    3a8ab78      
    Compare
  
    | /retest | 
    
      
        1 similar comment
      
    
  
    | /retest | 
        
          
                pkg/config/config.go
              
                Outdated
          
        
      | } | ||
|  | ||
| // DefaultRuntimeConfig returns the default Runtime configs. | ||
| func DefaultRuntimeConfig(cgroupManager cgmgr.CgroupManager) *RuntimeConfig { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can this be defined below where it's callled?
conmon_cgroup is deprecated and is replaced with RuntimeHandler monitor_cgroup and we prepopulate with default 'system.slice' Signed-off-by: Sourav Moitra <[email protected]>
| /approve LGTM, @cri-o/cri-o-maintainers PTAL | 
| /retest | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
| [APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, roman-kiselenko, sohankunkerkar, xw19 The full list of commands accepted by this bot can be found here. The pull request process is described here 
Needs approval from an approver in each of these files:
 
 Approvers can indicate their approval by writing  | 
conmon_cgroup is deprecated and is replaced with RuntimeHandler monitor_cgroup and we prepopulate with default 'system.slice'
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #6047
Special notes for your reviewer:
Does this PR introduce a user-facing change?
None