Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-8482

Remove escape symbols from the nodeSelector,tolerations annotations

XMLWordPrintable

    • False
    • None
    • False
    • No

      Doc link:

      https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.8/html-single/clusters/index#create-cluster-configuring-nodeselector-tolerations

      Doc section:

      1.5.15.2. Optional: Configuring the klusterlet to run on specific nodes

      Doc improvement suggestion:

      The annotations open-cluster-management/nodeSelector and open-cluster-management/tolerations must not be escaped. In the given example a working configuration would be:
      apiVersion: cluster.open-cluster-management.io/v1
      kind: ManagedCluster
      metadata:
      annotations:
      open-cluster-management/nodeSelector: '

      {"dedicated":"acm"}

      '
      open-cluster-management/tolerations: '[

      {"key":"dedicated","operator":"Equal","value":"acm","effect":"NoSchedule"}

      ]'

       

            jberger@redhat.com Jacob Berger
            rhn-support-mlele Mihir Lele
            David Huynh David Huynh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: