Input Parameters for the Cluster
The service_k8s_cluster depends on the inputs provided in the following files:
/opt/omnia/input/project_default/omnia_config.yml/opt/omnia/input/project_default/security_config.yml/opt/omnia/input/project_default/storage_config.yml/opt/omnia/input/project_default/high_availability_config.yml
Caution
Do not remove, edit, or comment any lines in the above mentioned input files.
/opt/omnia/input/project_default/omnia_config.yml
Parameters for kubernetes setup on service Kubernetes cluster
Variables |
Mandatory/Optional |
Details |
|---|---|---|
|
Mandatory |
|
|
Mandatory |
|
|
Mandatory |
|
|
Mandatory |
|
|
Optional |
|
|
Optional |
|
|
Optional |
|
|
Optional |
|
|
Mandatory |
|
|
Mandatory |
|
service_k8s_cluster:
- cluster_name: service_cluster
deployment: true
k8s_cni: "calico"
pod_external_ip_range: ""
k8s_service_addresses: "10.233.0.0/18"
k8s_pod_network_cidr: "10.233.64.0/18"
nfs_storage_name: "nfs_k8s"
csi_powerscale_driver_secret_file_path: ""
csi_powerscale_driver_values_file_path: "
k8s_crio_storage_size: "20G"
Variables |
Details |
|---|---|
cluster_name
|
|
nfs_storage_name
|
|
config_sources
|
Note For slurm, Nodeset and Partition configurations are not supported. |
See the following sample:
slurm_cluster:
- cluster_name: slurm_cluster
nfs_storage_name: nfs_slurm
config_sources:
slurm:
SlurmctldTimeout: 60
SlurmdTimeout: 150
cgroup:
CgroupPlugin: autodetect
AllowedRAMSpace: 100
/opt/omnia/input/project_default/security_config.yml
Parameter |
Details |
|---|---|
|
|
/opt/omnia/input/project_default/storage_config.yml
Variables |
Details |
s |
|---|---|---|
nfs_client_params
|
Sample: nfs_client_params:
- server_ip: "172.16.107.168" # Provide the IP of the NFS server
server_share_path: "/mnt/share/omnia" # Provide server share path of the NFS Server
client_share_path: /share_omnia
client_mount_options: "nosuid,rw,sync,hard,intr"
nfs_name: nfs_slurm
- server_ip: "172.16.107.121" # Provide the IP of the NFS server
server_share_path: "/mnt/share/omnia_k8s" # Provide server share path of the NFS Server
client_share_path: /share_omnia_k8s
client_mount_options: "nosuid,rw,sync,hard,intr"
nfs_name: nfs_k8s
|
/opt/omnia/input/project_default/high_availability_config.yml
See the following sample:
service_k8s_cluster_ha:
- cluster_name: service_cluster
enable_k8s_ha: true
virtual_ip_address: "172.16.107.1"
Parameter |
Details |
|---|---|
|
|
|
|
|
|
Caution
Ensure that the external NFS is accessible by all the nodes intended to be booted and is reachable by the admin network.
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.