Topology Configuration Parameters
In this topic, you will find a description of the parameters required to create the topology YAML file for installing KubeSlice.
Cluster Configuration Parameters
The following table describes the cluster configuration parameters used to create the topology YAML.
| Parameter | Parameter Type | Description | Required |
|---|---|---|---|
| profile | String | The KubeSlice profile to create demo clusters. The supported values are minimal-demo, full-demo, and enterprise-demo. | Mandatory |
| kube_config_path | String | The absolute path to the kubeconfig file to use topology setup. It is used in the topology YAML file. | Optional |
| cluster_type | String | The type of cluster on which KubeSlice is deployed. The acceptable values are cloud, kind, and data-center. | Optional |
| controller | Object | The KubeSlice Controller cluster details. | Mandatory |
| worker | Object | The KubeSlice Worker clusters details. | Mandatory |
Controller Cluster Configuration Parameters
The following table describes the controller cluster configuration parameters used to create the topology YAML.
| Parameter | Parameter Type | Description | Required |
|---|---|---|---|
| name | String | The user-defined name of the controller cluster. The maximum allowed number of characters is 30. Provide the name as defined in RFC 1123. To know more, see Kubernetes Object Names and IDs. | Mandatory |
| context_name | String | The name of the context to use from the kubeconfig file; It is used in the topology YAML file. | Optional |
| kube_config_path | String | The absolute path to the kubeconfig file to install controller cluster. This takes precedence over the kubeconfig path defined under cluster configuration. | Optional |
| control_plane_address | AlphaNumeric | The address of the control plane kube-apiserver. The kubeslice-cli determines the address from kubeconfig. Override this option if the address in the kubeconfig is not reachable by other clusters in the topology. | Mandatory |
| node_ip | Numeric | The IP address of one of the node in the cluster. The kubeslice-cli determines the address from this command:kubectl get nodes. Override this option to an address which is discoverable by other clusters in the topology. | Mandatory |
Worker Cluster Configuration Parameters
The following table describes the worker cluster configuration parameters.
| Parameter | Parameter Type | Description | Required |
|---|---|---|---|
| name | String | The user-defined name of the worker cluster. The maximum allowed number of characters is 30. Provide the name as defined in RFC 1123. To know more, see Kubernetes Object Names and IDs. | Mandatory |
| context_name | String | The name of the context to use from kubeconfig file; It is used in the topology YAML only. Use the short alias name. For example, you can use worker-cluster or api-cluster as the cluster contexts. | Optional |
| kube_config_path | String | The absolute path to the kubeconfig file to install a worker cluster. This takes precedence over the kubeconfig path defined under cluster configuration. | Optional |
| control_plane_address | AlphaNumeric | The address of the control plane kube-apiserver. The kubeslice-cli determines the address from kubeconfig. Override this option if the address in the kubeconfig is not reachable by other clusters in the topology. | Mandatory |
| node_ip | Numeric | The IP address of one of the node in the cluster. The kubeslice-cli determines the address from this command:kubectl get nodes. Override this option to an address which is discoverable by other clusters in the topology. | Mandatory |
KubeSlice Configuration Parameters
The following table describes the KubeSlice configuration parameters.
| Parameter | Parameter Type | Description | Required |
|---|---|---|---|
| project_name | String | the user-defined name of the Kubeslice project. Provide the name as defined in RFC 1123. To know more, see Kubernetes Object Names and IDs. | Mandatory |
| project_users | String | This contains the list of KubeSlice project users to be created. The users will have read/write privileges. By default, admin user is created. | Optional |
Helm Chart Configuration Parameters
The following table describes the helm chart configuration parameters.
| Parameter | Parameter Type | Description | Required |
|---|---|---|---|
| repo_alias | String | The alias of the helm repo for KubeSlice charts. To use local helm chart repositories, provide the path to the charts. | Optional |
| repo_url | String | The URL of the helm charts for KubeSlice. | Optional |
| use_local | Boolean | This is to use local helm chart repositories in the Air-Gapped environment. Set the value to true to use local charts. The default value is false. | Optional |
| cert_manager_chart | Object | The cert-manager chart details. | Mandatory |
| controller_chart | Object | The Kubeslice Controller chart details. | Mandatory |
| worker_chart | Object | The KubeSlice Worker chart details. | Mandatory |
| ui_chart | Object | The KubeSlice Manager chart details. | Optional |
| prometheus_chart | Object | The Prometheus chart details. | Optional |
| helm_username | AlphaNumeric | The helm username if the repo is private. | Optional |
| helm_password | AlphaNumeric | The helm password if the repo is private. | Optional |
| image_pull_secret | Object | The image pull secrets to pull the Kubernetes dashboard image. Required for Enterprise charts. | Mandatory |
Certificate Manager Chart Configuration Parameters
The following table describes the certificate manager chart configuration parameters used to create topology YAML.
| Parameter | Parameter Type | Description | Required |
|---|---|---|---|
| chart_name | String | The name of the cert-manager chart. | Mandatory |
| version | Numeric | The version of the cert-manager chart. Leave this value blank for the latest version. | Optional |
Controller Chart Configuration Parameters
The following table describes the controller chart configuration parameters used to create topology YAML.
| Parameter | Parameter Type | Description | Required |
|---|---|---|---|
| chart_name | String | The name of the controller chart. | Mandatory |
| version | Numeric | The version of the chart. Leave this value blank for the latest version. | Optional |
| values | String | The additional value that can be passed as --set arguments for helm install. | Optional |
Worker Chart Configuration Parameters
The following table describes the worker chart configuration parameters used to create topology YAML.
| Parameter | Parameter Type | Description | Required |
|---|---|---|---|
| chart_name | String | The name of the worker chart. | Mandatory |
| version | Numeric | The version of the chart. Leave this value blank for the latest version. | Optional |
| values | String | The additional value that can be passed as --set arguments for helm install. | Optional |