Bug 1826181

Summary: [DOCS][l10n] missed the nodeSelector configuration for openshift-state-metrics pods
Product: OpenShift Container Platform Reporter: Masaki Furuta ( RH ) <mfuruta>
Component: Documentation-l10nAssignee: Localization RH <l10n-bugzilla>
Status: CLOSED CURRENTRELEASE QA Contact: Vikram Goyal <vigoyal>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: medium    
Version: 4.2.zCC: aos-bugs, asasaki, gotoutkq, jokerman, juzhao, mfuruta, msvistun, tchuang, vigoyal
Target Milestone: ---   
Target Release: 4.2.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1808183 Environment:
Last Closed: 2020-05-06 01:12:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1807852, 1808183    
Bug Blocks:    

Description Masaki Furuta ( RH ) 2020-04-21 07:59:13 UTC
+++ This bug was initially created as a clone of Bug #1808183 +++

Document URL: 
https://docs.openshift.com/container-platform/4.2/machine_management/creating-infrastructure-machinesets.html#infrastructure-moving-monitoring_creating-infrastructure-machinesets

Section Number and Name: 

Describe the issue: 
"Moving the monitoring solution", missed the nodeSelector configuration for openshift-state-metrics pods

Suggestions for improvement: 
need to add:

openshiftStateMetrics:
  nodeSelector:
    node-role.kubernetes.io/infra: ""

Additional information:

--- Additional comment from Masaki Furuta on 2020-03-13 14:14:40 JST ---

Dear Vikram Goyal

Would you please have update on this ?

Or should we proceed/request this on Bug 1789305 instead on this BZ ?

I am grateful for your help and clarification

Thank you,

BR,
Masaki

--- Additional comment from Maxim Svistunov on 2020-03-16 22:45:44 JST ---

Thanks Junqi for reporting this.

Should we also add the openshiftStateMetrics section to this document? It gives a general procedure on moving monitoring components:

https://docs.openshift.com/container-platform/4.2/monitoring/cluster_monitoring/configuring-the-monitoring-stack.html#moving-monitoring-components-to-different-nodes_configuring-monitoring

(In reply to Masaki Furuta from comment #1)
> Dear Vikram Goyal
> 
> Would you please have update on this ?
> 
> Or should we proceed/request this on Bug 1789305 instead on this BZ ?
> 
> I am grateful for your help and clarification
> 
> Thank you,
> 
> BR,
> Masaki

Masaki,

I have covered the update requested by Junqi in the same PR as BZ#1789305:

https://bugzilla.redhat.com/show_bug.cgi?id=1789305#c4

--- Additional comment from Junqi Zhao on 2020-03-25 11:20:24 JST ---

(In reply to Maxim Svistunov from comment #2)
> Thanks Junqi for reporting this.
> 
> Should we also add the openshiftStateMetrics section to this document? It
> gives a general procedure on moving monitoring components:
> 
> https://docs.openshift.com/container-platform/4.2/monitoring/
> cluster_monitoring/configuring-the-monitoring-stack.html#moving-monitoring-
> components-to-different-nodes_configuring-monitoring

yes, thanks for the findings

--- Additional comment from Maxim Svistunov on 2020-04-15 00:14:10 JST ---

The updates have been published:

https://docs.openshift.com/container-platform/4.2/machine_management/creating-infrastructure-machinesets.html#infrastructure-moving-monitoring_creating-infrastructure-machinesets

https://docs.openshift.com/container-platform/4.2/monitoring/cluster_monitoring/configuring-the-monitoring-stack.html#moving-monitoring-components-to-different-nodes_configuring-monitoring

Thanks Junqi and Masaki.

Comment 1 Masaki Furuta ( RH ) 2020-04-21 08:02:04 UTC
Hello,

I am sorry for urging you, but I am cloning original BZ to track localization work for the customer who need this part to be translated into Japanease for their end customer.

- OpenShift Container Platform 4.2 - Machine management - 6.3.3. Moving the monitoring solution
  https://access.redhat.com/documentation/en-us/openshift_container_platform/4.2/html-single/machine_management/index#infrastructure-moving-monitoring_creating-infrastructure-machinesets

Thank you,

BR,
Masaki

Comment 2 Masaki Furuta ( RH ) 2020-04-21 08:05:50 UTC
(In reply to Masaki Furuta from comment #1)

 openshiftStateMetrics should be added. 

    https://access.redhat.com/documentation/ja-jp/openshift_container_platform/4.2/html-single/machine_management/index#infrastructure-moving-monitoring_creating-infrastructure-machinesets
    
      ```
      6.3.3. モニタリングソリューションの移動
      
      <...>
      
      手順
      
      以下の ConfigMap 定義を cluster-monitoring-configmap.yaml ファイルとして保存します。
      
      ~~~
      <...>
      
          telemeterClient:
            nodeSelector:
              node-role.kubernetes.io/infra: ""
      ~~~
      <...>
      ```