Adjusting the installation file to your Guardium Insights requirements

About this task

To install Guardium Insights, the requirements for a small cluster that handles up to 10 collectors for testing purposes is:

  • 3 node control plane (masters) (8 CPU, 16 GB RAM)
  • 5 compute nodes (workers) (16 CPU, 64 GB RAM)

Procedure

  1. To set the requirements, modify the install-config.yaml file by using the following command.
    vi /ocp-tools/gi300-on-azure/install-config.yaml
  2. Replace platform: {} under the name: worker section with the following information.
    platform:
       azure:
       osDisk:
         diskSizeGB: 128
       type: Standard_D16s_v3
     replicas: 5
  3. Replace platform: {} under the name: master section with the following information.
    platform:
      azure:
      osDisk:
        diskSizeGB: 128
      type: Standard_D8s_v3
    replicas: 3
    Important: You are setting disk space to 128 GB each because you do not need additional local storage for OCP deployment for this exercise.
    For example,
    apiVersion: v1
    baseDomain: gi.priv.test
    compute:
    - architecture: amd64
      hyperthreading: Enabled
      name: worker
      platform:
        azure:
        osDisk:
          diskSizeGB: 128
        type: Standard_D16s_v3
      replicas: 5
    controlPlane:
      architecture: amd64
      hyperthreading: Enabled
      name: master
      platform:
        azure:
        osDisk:
          diskSizeGB: 128
        type: Standard_D8s_v3
      replicas: 3
    metadata:
      creationTimestamp: null
      name: gi300
    networking:
      clusterNetwork:
      - cidr: 10.128.0.0/14
        hostPrefix: 23
      machineNetwork:
      - cidr: 10.0.0.0/16
      networkType: OpenShiftSDN
      serviceNetwork:
      - 172.30.0.0/16
    platform:
      azure:
        baseDomainResourceGroupName: gi300-dns
        cloudName: AzurePublicCloud
        outboundType: Loadbalancer
        region: eastus
    publish: External
    flips: false
    pullSecret: 'content of downloaded RH Pull secret will be shown here'
    sshKey: |
      ssh-rsa ……...ibm.com
  4. To make a backup of the file, run the following command.
    cp gi300-on-azure/install-config.yaml  gi300-on-azure/install-config.yaml_BU