Skip to content
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

[OCPCLOUD-1171] Implement CCCMO render to run CCM on bootstrap node #4947

Closed
wants to merge 2 commits into from

Commits on Jun 1, 2021

  1. Implement CCCMO render to run CCM on bootstrap node

    This allows master nodes to be initialized with CCM replica from
    bootstrap, speeding up process of cluster installation.
    
    Without CCM running on bootstrap node, most of the cluster operator
    and operand pods would have to tolerate new taint and a different
    configuration of node.kubernetes.io/not-ready (NoSchedule) taint:
    
    - effect: NoSchedule
      key: node.cloudprovider.kubernetes.io/uninitialized
      value: "true"
    - effect: NoSchedule
      key: node.kubernetes.io/not-ready
    
    Without this bootstrap addition or taint toleration the cluster with CCM
    would never become ready.
    
    To test this feature on AWS build installer and deploy on AWS.
    
    To create a cluster run:
    ```bash
    ./hack/build.sh
    ./bin/openshift-install create manifests
    cat <<EOF > manifests/manifest_feature_gate.yaml
    ---
    apiVersion: config.openshift.io/v1
    kind: FeatureGate
    metadata:
      annotations:
        include.release.openshift.io/self-managed-high-availability: "true"
        include.release.openshift.io/single-node-developer: "true"
        release.openshift.io/create-only: "true"
      name: cluster
    spec:
      customNoUpgrade:
        enabled:
        - ExternalCloudProvider
        - CSIMigrationAWS
        - CSIMigrationOpenStack
      featureSet: CustomNoUpgrade
    EOF
    
    OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE=quay.io/dgrigore/release:cccmo-render ./bin/openshift-install create cluster
    ```
    Danil-Grigorev committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    40dd269 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

  1. Configuration menu
    Copy the full SHA
    a45cffc View commit details
    Browse the repository at this point in the history