High Availability (HA) for the Service Kubernetes Cluster

Prerequisites

  • Ensure that the local_repo.yml playbook has been run successfully at least once. Before running it, verify that the /opt/omnia/input/project_default/software_config.json file contains {"name": "service_k8s"} in the softwares list.

  • To enable and configure the HA for Service cluster, fill up the necessary parameters in the high_availability_config.yml config file present in the /opt/omnia/input/project_default/ directory.

    Parameters for Service Cluster HA

    Parameter

    Details

    cluster_name

    • Type: String

    • Captures the name of the service cluster on which HA will be set up. Default value: service_cluster

    enable_k8s_ha

    • Type: Boolean

    • Possible values: true

    • Default value: true

    • Indicates whether to enable HA for the Kubernetes (K8s) service node or not. Set to true to enable.

    virtual_ip_address

    • Type: String

    • This is a mandatory and user-configurable parameter.

    • Captures the virtual IP address for the K8s service node HA setup. Ensure that the virtual_ip_address does not belong to the dynamic_range or static_range mentioned in the network_spec.yml.

    • Default value: 172.16.107.1

Note

  • Once the discovery.yml playbook has been executed, any subsequent edits to the high_availability_config.yml files will not take effect. To apply changes made to these configuration files, you must re-run the discovery.yml playbook.

  • The virtual IP addresses specified in the high_availability_config.yml file must be within the same subnet as the admin network.

Sample

service_k8s_cluster_ha:
    - cluster_name: service_cluster
      enable_k8s_ha: true
      virtual_ip_address: ""

If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.