Set up High Availability (HA) Kubernetes on the Service Cluster
With Omnia, you can deploy a service Kubernetes cluster on the designated service nodes to efficiently distribute workload and manage resources for telemetry data collection.
This setup reduces the processing load on the OIM node and enhances overall scalability. Each service_kube_node is responsible for collecting telemetry data from its assigned subset of compute nodes.
Federated way of telemetry data collection improves efficiency for large-scale clusters.
Prerequisites
To deploy Kubernetes on service cluster, ensure that
service_k8sis added undersoftwaresin the/opt/omnia/input/project_default/software_config.json. Refer the sample config file below:{ "cluster_os_type": "rhel", "cluster_os_version": "10.0", "repo_config": "partial", "softwares": [ {"name": "service_k8s","version": "1.34.1", "arch": ["x86_64"]} ], "service_k8s": [ {"name": "service_kube_control_plane_first"}, {"name": "service_kube_control_plane"}, {"name": "service_kube_node"} ] }
Omnia supports only Kubernetes version 1.34.1.
If you want to install CSI PowerScale driver, ensure that you provide the required values. Click Deploy CSI drivers for Dell PowerScale storage solutions for more information.
Ensure that there are at least three
service_kube_control_planeentries and oneservice_kube_nodeentry in thepxe_mapping_file.csvfor the Kubernetes controller HA scenario.
Note
The above requirement is the minimum needed to deploy the service Kubernetes cluster. High availability applies only to the control plane. For workload and pod failover, it is recommended to have at least two service_kube_node nodes, so that pods can be rescheduled automatically if one worker node fails.
Ensure that the nfs server is reachable on all the diskless nodes.
The nodes must be equipped with two active Network Interface Cards (NICs):
One dedicated to internal cluster communication. It is used for internal cluster communication, Kubernetes deployment activities, and for accessing the Pulp repositories hosted on the OIM. The Admin interface must be assigned an IP address from the admin network range and must be reachable from the OIM.
One dedicated to Internet. If you want to install a CSI driver, ensure that the storage network must be accessible through the Internet-facing NIC. This NIC must be configured via DHCP.
To use NFS for service Kubernetes cluster, ensure the following prerequisites are met:
The NFS share has 755 permissions and
rw,sync,no_root_squash,no_subtree_checkare enabled on the mounted NFS share.Edit the
/etc/exportsfile on the NFS server to include therw,sync,no_root_squash,no_subtree_checkoption for theserver_share_path./<your_server_share_path> *(rw,sync,no_root_squash,no_subtree_check)
To deploy ETCD on local disk instead of NFS, set
etcd_on_local_disk: truein theomnia_config.ymlfile under theservice_k8s_clustersection. When enabled, ETCD is deployed on local disk on all master nodes with the following behavior:Disk Selection Priority: The system prioritizes BOSS card (BOSS-N1/N2) if available. If BOSS card is not present, it falls back to SSD or SATA disks.
Mount Point: The
/var/lib/etcddirectory is mounted on the selected local disk.RAID Configuration: BOSS cards must have RAID pre-configured (RAID 1 or RAID 10) before deployment. Omnia does not configure RAID automatically.
Storage Size: Minimum 20 GB disk space is recommended for ETCD data partition.
Note
When
etcd_on_local_diskis set tofalseor omitted, ETCD storage is provisioned using NFS, and no local disk configuration is performed for ETCD.Caution
Migration from NFS to local disk is not supported during upgrades. The
etcd_on_local_diskconfiguration is only applicable for fresh installations. If you need to change from NFS to local disk, you must perform a fresh installation.Hardware Prerequisites for Local Disk Deployment:
Dell BOSS Card (BOSS-N1/N2) with pre-configured RAID 1 or RAID 10, OR
SSD or SATA disks if BOSS card is not available
Minimum disk size of 20 GB for ETCD data partition
RAID must be pre-configured on BOSS cards before deployment (Omnia does not configure RAID automatically)
Configuration Example:
The following sample shows how to configure ETCD on local disk in
omnia_config.yml:service_k8s_cluster: - cluster_name: service_cluster deployment: true etcd_on_local_disk: false k8s_cni: "calico" pod_external_ip_range: "192.168.0.183-192.168.0.240" k8s_service_addresses: "10.233.0.0/18" k8s_pod_network_cidr: "10.233.64.0/18" nfs_storage_name: "nfs_k8s" k8s_crio_storage_size: "20G" csi_powerscale_driver_secret_file_path: "/opt/omnia/input/project_default/secret.yaml" csi_powerscale_driver_values_file_path: "/opt/omnia/input/project_default/values.yaml"
Scope and Limitations:
Supports Dell BOSS cards (BOSS-N1/N2) with pre-configured RAID 1 or RAID 10
Supports disk configuration in HBA and Non-RAID modes
Ensures all Kubernetes master nodes have a local disk (BOSS card, SSD, or SATA)
Current implementation prioritizes BOSS card detection; if unavailable, it falls back to any available disk for mounting
/var/lib/etcdRAID configuration automation is not supported - RAID must be pre-configured by the customer
Multi-disk ETCD storage is not supported - only single BOSS card RAID is supported
Dynamic disk resizing is not supported once the ETCD partition is created
Steps
Run
local_repo.ymlplaybook to download the artifacts required to set up Kubernetes on the service cluster nodes.Fill the
omnia_config.yml,high_availability_config.yml(for service cluster HA), andstorage_config.yml. The nfs_name mentioned instorage_config.ymlshould match thenfs_storage_nameof the entries for theservice_k8s_clusterinomnia_config.ymlwhere deployment is set to true. See Input parameters for the cluster. The NFS share is utilized by the Kubernetes cluster to mount necessary resources. See the following sample:nfs_client_params: -{ server_ip: "", # Provide the IP of the NFS server server_share_path: "", # Provide server share path of the NFS Server client_share_path: /opt/omnia,, client_mount_options: "nosuid,rw,sync,hard,intr", nfs_name: nfs_k8s }
Note
In case of CSI support, ensure that the server_share_path must be the same as the isiPath value in values.yml file and the server_ip should be the Powerscale NFS server IP.
Note
Ensure that the server_share_path and client_share_path do not have any content before you deploy Kubernetes. To delete the content, go to server_share_path on NFS server and remove the content available in the path.
Note
Ensure that the pod_external_ip_range defined in the omnia_config.yml
file is reachable from the OpenManage Enterprise appliance and the SFM network.
Variables |
Mandatory/Optional |
Details |
|---|---|---|
|
Mandatory |
|
|
Mandatory |
|
|
Mandatory |
|
|
Mandatory |
|
|
Optional |
|
|
Optional |
|
|
Optional |
|
|
Optional |
|
|
Mandatory |
|
|
Mandatory |
|
|
Optional |
|
Parameter |
Details |
|---|---|
|
|
|
|
|
|
Run
build_image_x86_64.ymlplaybook to build diskless images for cluster nodes. See Build cluster node images.Run
provision.ymlplaybook to discover the potential cluster nodes, configure the boot script, and cloud-init based on the functional groups. See Discover cluster nodesAfter successfully running the
provision.ymlplaybook, you can either manually PXE boot the nodes or use theset_pxe_boot.ymlplaybook. PXE booting allows the nodes to load diskless images from the Omnia Infrastructure Manager (OIM). For detailed steps on usingset_pxe_boot.yml, see Configure PXE Boot.
Additional Installations
After deploying Kubernetes, the following additional packages are installed on top of the Kubernetes stack on the service cluster:
nfs-client-provisioner
NFS subdir external provisioner is an automatic provisioner that use your existing and already configured external NFS server to support dynamic provisioning of Kubernetes Persistent Volumes via Persistent Volume Claims (PVC).
The nfs_name mentioned in
storage_config.ymlshould match thenfs_storage_nameof the entries for theservice_k8s_cluster.The path to PVC is mentioned under
{{ nfs_server_share_path }}.
Click here for more information.
- Doca-ofed installation
After running
provision.ymland PXE-booting the nodes, DOCA-OFED is installed on nodes that have Mellanox InfiniBand cards. A static IP is assigned to the InfiniBand interface only if the interface is up. If the interface is down, the user must bring it up to enable IP assignment.
Next Step
To know how to deploy the iDRAC telemetry containers on the service cluster, click here.
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.