Skip to content

Conversation

@kquinn1204
Copy link
Contributor

@kquinn1204 kquinn1204 commented Jun 24, 2021

TELCODOCS-237 - updating hardcoded version numbers to 4.8

Preview link: https://deploy-preview-33875--osdocs.netlify.app/openshift-enterprise/latest/scalability_and_performance/cnf-performance-addon-operator-for-low-latency-nodes

Making updates to the version number in section "Performance Addon Operator for low latency nodes"

4.7 updated to 4.8 here https://docs.openshift.com/container-platform/4.8/scalability_and_performance/cnf-performance-addon-operator-for-low-latency-nodes.html#installing-the-performance-addon-operator_cnf-master

At release time the version will report 4.8. Now if you test it will read 4.7 but at release time the PAO version to be picked up will be 4.8.
CNF tests sections have been revised from 4.7 to 4.8 https://docs.openshift.com/container-platform/4.8/scalability_and_performance/cnf-performance-addon-operator-for-low-latency-nodes.html#cnf-performing-end-to-end-tests-for-platform-verification_cnf-master

@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 24, 2021
@netlify
Copy link

netlify bot commented Jun 24, 2021

@openshift-ci openshift-ci bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 24, 2021
@kquinn1204
Copy link
Contributor Author

@jcfrye77
Copy link
Contributor

jcfrye77 commented Jul 1, 2021

@MarSik Could you please let us know if you have compeleted the review of version number updates? Thanks very much.

@mrniranjan
Copy link

@kquinn1204 i went through the document some minor changes.
Under the section Tuning nodes for low latency with the performance profile

apiVersion: performance.openshift.io/v2
kind: PerformanceProfile
metadata:
 name: performance
spec:
 cpu:
  isolated: "5-15" 
  reserved: "0-4" 
 hugepages:
  defaultHugepagesSize: "1G"
  pages:
  -size: "1G"
   count: 16
   node: 0
 realTimeKernel:
  enabled: true  
 numa:  
  topologyPolicy: "best-effort"
 nodeSelector:
  node-role.kubernetes.io/worker-cnf: "" 

Please make sure there is space between the parameter: "-size" to "- size"
Same in other places like "Adjusting the NIC queues with the performance profile"

apiVersion: performance.openshift.io/v2
kind: PerformanceProfile
metadata:
  name: manual
spec:
  cpu:
  isolated: 3-51,54-103
  reserved: 0-2,52-54

  net:
  - userLevelNetworking: true         
  #!

  more examples:

    net:
      userLevelNetworking: true
      devices:
          -interfaceName: “eth0”
          -interfaceName: “eth1”      
          -vendorID: “0x1af4”
           deviceID: “0x1000”

    net:
     userLevelNetworking: true        
     devices:
      -interfaceName: “eth*”

    net:
     userLevelNetworking: true        
     devices:
      -interfaceName: “!eno1”

   net:
     userLevelNetworking: true        
     devices:
      -interfaceName: “eth0”
       vendorID: “0x1af4”
       deviceID: “0x1000”

  #!

    nodeSelector:
        node-role.kubernetes.io/worker-cnf: ""

to

apiVersion: performance.openshift.io/v2
  kind: PerformanceProfile
  metadata:
    name: manual
  spec:
    cpu:
    isolated: 3-51,54-103
    reserved: 0-2,52-54

    net:
        userLevelNetworking: true         
    #!

    more examples:

      net:
         userLevelNetworking: true
         devices:
         -  interfaceName: “eth0”
         -  interfaceName: “eth1”      
         -  vendorID: “0x1af4”
         -  deviceID: “0x1000”

      net:
          userLevelNetworking: true        
        devices:
        -   interfaceName: “eth*”

      net:
         userLevelNetworking: true        
       devices:
       -  interfaceName: “!eno1”

     net:
         userLevelNetworking: true        
        devices:
        -   interfaceName: “eth0”
        -   vendorID: “0x1af4”
        -   deviceID: “0x1000”

    #!

      nodeSelector:
          node-role.kubernetes.io/worker-cnf: ""

Copy link
Contributor

@kdrake20 kdrake20 left a comment

Choose a reason for hiding this comment

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

Line 613 of cnf-performing-end-to-end-tests-for-platform-verification.adoc needs space between hyphen and the word size (should be "- size"), per QE review. Otherwise, lgtm.

@kquinn1204
Copy link
Contributor Author

So @ktothill and @jcfrye77 the only change requested here is "space between hyphen and the word size (should be "- size")". The adjusting netqueues feature is dealt with by another PR which was already reviewed by @mrniranjan and the changes are reflected in the published docs https://docs.openshift.com/container-platform/4.8/scalability_and_performance/cnf-performance-addon-operator-for-low-latency-nodes.html#adjusting-nic-queues-with-the-performance-profile_cnf-master

@kquinn1204
Copy link
Contributor Author

@mrniranjan Are you happy with the changes I have made?

@mrniranjan
Copy link

@kquinn1204 Can you change this:

apiVersion: performance.openshift.io/v2
kind: PerformanceProfile
metadata:
  name: manual
spec:
  cpu:
    isolated: 3-51,54-103
    reserved: 0-2,52-54
  net:
    userLevelNetworking: true
    devices:
    - interfaceName: “eth0”
    - interfaceName: “eth1”
    - vendorID: “0x1af4”
    deviceID: “0x1000”
   nodeSelector:
    node-role.kubernetes.io/worker-cnf: ""

Please change the above to:

apiVersion: performance.openshift.io/v2
kind: PerformanceProfile
metadata:
  name: manual
spec:
  cpu:
    isolated: 3-51,54-103
    reserved: 0-2,52-54
  net:
    userLevelNetworking: true
    devices:
    - interfaceName: “eth0”
    - interfaceName: “eth1”
    - vendorID: “0x1af4”
    - deviceID: “0x1000”   
   nodeSelector:
    node-role.kubernetes.io/worker-cnf: ""    

@mrniranjan
Copy link

Rest everything looks good.

@vikram-redhat vikram-redhat changed the title [WIP] TELCODOCS-237: updating version number 4.7 to 4.8 TELCODOCS-237: updating version number 4.7 to 4.8 Jul 5, 2021
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 5, 2021
Copy link
Contributor

@vikram-redhat vikram-redhat left a comment

Choose a reason for hiding this comment

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

lgtm

@vikram-redhat vikram-redhat added this to the Future Release milestone Jul 7, 2021
@vikram-redhat vikram-redhat merged commit f2862b2 into openshift:master Jul 7, 2021
@vikram-redhat
Copy link
Contributor

/cherrypick enterprise-4.8

@openshift-cherrypick-robot

@vikram-redhat: new pull request created: #34393

Details

In response to this:

/cherrypick enterprise-4.8

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch/enterprise-4.8 size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants