kubeslice-cli Configuration Parameters
This topic describes the parameters used in creating the topology YAML file to install opensource 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 | It is the KubeSlice profile to create demo clusters.The supported values are minimal-demo and full-demo | Mandatory |
kube_config_path | String | It is the absolute path to the kubeconfig file to use topology set up. It is used in the topology YAML file only. | Optional |
controller | Object | It is the controller cluster details. | Mandatory |
worker | Object | It is the 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 | It is the user-defined name of the controller cluster. | Mandatory |
context_name | String | It is the name of the context to use from the kubeconfig file; It is used in the topology YAML file only. | Optional |
kube_config_path | String | It is 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 | It is the address of the control plane kube-apiserver. The kubeslice-cli determines the address from kubeconfig. Override this option if the address in kubeconfig is not reachable by other clusters in topology. | Mandatory |
node_ip | Numeric | It is 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 | It is the user-defined name of the worker cluster. | Mandatory |
context_name | String | It is the name of the context to use from kubeconfig file; It is used in the topology YAML only. | Optional |
kube_config_path | String | It is 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 | It is the address of the control plane kube-apiserver . The kubeslice-cli determines the address from kubeconfig. Override this option if the address in kubeconfig is not reachable by other clusters in topology. | Mandatory |
node_ip | Numeric | It is 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 | It is the user-defined name of the Kubeslice project. | Mandatory |
Helm Chart Configuration Parameters
The following table describes the helm chart configuration parameters.
Parameter | Parameter Type | Description | Required |
---|---|---|---|
repo_alias | String | It is the alias of the helm repo for KubeSlice charts. | Optional |
repo_url | String | It is the URL of the helm charts for KubeSlice. | Mandatory |
cert_manager_chart | Object | It is the certificate manager chart details. | Mandatory |
controller_chart | Object | It is the controller chart details. | Mandatory |
worker_chart | Object | It is the worker chart details. | 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 | It is the name of the certificate manager chart. | Mandatory |
version | Numeric | It is the version of the certificate 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 | It is the name of the controller chart. | Mandatory |
version | Numeric | Is it the version of the chart. Leave this value blank for the latest version | 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 | It is the name of the worker chart. | Mandatory |
version | Numeric | It is the version of the chart. Leave this value blank for the latest version | Optional |
The 'kube_config_path' parameter in the topology configuration requires the absolute path to the kubeconfig file. The 'kube_config_path' parameter must be set at the top-level, that is under cluster_configuration,' or under the controller and workers configuration.