Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-20172

Remove pidsLimit and log_size_max from ContainerRuntimeConfig CR as its deprecated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.13, 4.12, 4.11, 4.14
    • Documentation / Node
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

      Hi Team, In doc[1] remove `pidsLimit: 2048 ` and `logSizeMax: "-1" ` from the example as well as procedure as these settings from ContainerRuntimeConfig is expected to be deprecated.
      

      [1] https://docs.openshift.com/container-platform/4.11/post_installation_configuration/machine-configuration-tasks.html#create-a-containerruntimeconfig_post-install-machine-configuration-tasks

      Actual results:

      The CR container  `pidsLimit: 2048` and `logSizeMax: "-1"` value.  
      
      apiVersion: machineconfiguration.openshift.io/v1
      kind: ContainerRuntimeConfig
      metadata:
       name: overlay-size
      spec:
       machineConfigPoolSelector:
         matchLabels:
           pools.operator.machineconfiguration.openshift.io/worker: '' 
       containerRuntimeConfig: 
         pidsLimit: 2048
         logLevel: debug
         overlaySize: 8G
         logSizeMax: "-1"

       

      Expected results:

      apiVersion: machineconfiguration.openshift.io/v1
      kind: ContainerRuntimeConfig
      metadata:
       name: overlay-size
      spec:
       machineConfigPoolSelector:
         matchLabels:
           pools.operator.machineconfiguration.openshift.io/worker: '' 
       containerRuntimeConfig: 
         logLevel: debug
         overlaySize: 8G
         

      Additional info:

      Also other details related to those two setting should be removed mentioned in doc [1] .
      1. In Example and setting discription
      2. In procedure, step 1 
      3. In Procedure  step 6, b

      Git link https://github.com/openshift/openshift-docs/blob/f39867b3d42c215384040a6c0394a6e119be4124/modules/create-a-containerruntimeconfig-crd.adoc#L205

      Pull request link https://github.com/openshift/openshift-docs/pull/65857
      Can someone please help with the same.

       

            ocp-docs-bot OCP DocsBot
            rhn-support-psingour Poornima Singour
            Min Li Min Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: