Skip to main content
Version: 1.15.0

Worker Cluster Registration Parameters

This topic describes the parameters required to register worker clusters and to install the Slice Operator on the them.

Cluster Registration Configuration Parameters

The following tables describe the configuration parameters used to register the worker cluster with the controller cluster. The parameters are required to create the worker cluster registration YAML file.

ParameterParameter TypeRequiredDescription
apiVersionStringThe KubeSlice Controller API version. The value must be controller.kubeslice.io/v1alpha1.Mandatory
kindStringThe name of a particular object schema. The value must be Cluster.Mandatory
metadataObjectThe metadata parameters (names and types) and attributes that have been applied.Mandatory
specObjectThe specification of the desired state of an object.Mandatory

Cluster Registration Metadata Parameters

The parameters are related to metadata configured in the worker cluster registration YAML file.

ParameterParameter TypeDescriptionRequired
nameStringThe given name of the cluster.Mandatory
namespaceStringThe project namespace on which you apply the project configuration file.Mandatory

Cluster Registration Spec Parameters

The parameters are related to the specification configured in the worker cluster registration YAML file.

ParameterParameter TypeDescriptionRequired
networkInterfaceStringThe name of the network interface for egress traffic on a gateway node. The QoS profile for a slice will be applied to this interface.Default Interface: eth0Mandatory
clusterPropertyObjectIt contains the worker cluster details.Mandatory

Cluster Property Parameters

The parameters are related to the cluster property configured in the worker cluster registration YAML file.

ParameterParameter TypeDescriptionRequired
geoLocationObjectIt contains information on the geological location of the worker cluster.Optional
telemetryObjectIt contains the telemetry configuration of the worker cluster.Optional

Geolocation Parameters

ParameterParameter TypeDescriptionRequired
cloudProviderStringThe name of your cloud providerOptional
cloudRegionStringThe cloud provider region where your cluster is located.Optional

Telemetry Parameters

ParameterParameter TypeDescriptionRequired
enabledBooleanIt is a setting to indicate whether or not the telemetry is enabled on the worker cluster. It must be set to true.Optional
telemetryProviderStringThe name of the telemetry provider. Currently, only Prometheus is the supported telemetry provider.Optional
endpointStringThe value is the Prometheus URL (Server Domain Name/ IP).Optional

Script Parameters for Automated Retrieval of Registered Cluster Secrets

The following parameters are required for automated retrieval of secrets during cluster registration.

ParameterDescription
<worker-secret-name>The worker secret name that you get by running this command on the KubeSlice Controller: kubectl get secrets -n kubeslice-<projectname>. For example, kubeslice-rbac-worker-kind-worker-1-token-s9d96.
<worker-cluster-name>The given name of the worker cluster.
kubeslice-<projectname>The given name of your project. For example, add kubeslice-avesha as the project namespace.
<network-interface>The worker network interface you get in the above output by doing route lookup on the EXTERNAL IP address. For example, add eth0 as the parameter value.
<worker-api-endpointThe endpoint of the worker cluster you get by running this command: kubectl cluster-info. For example, add https://34.105.95.217 as the endpoint.
<kubesliceRegistrationUsername>The username you received in the KubeSlice Registration email.
<kubesliceRegistrationPassword>The password you received in the KubeSlice Registration email.
<kubesliceRegistrationEmail>The email address you used in the KubeSlice Registration process.

Slice Operator Configuration Parameters

The following tables describe the configuration parameters required to install the Slice Operator on the worker cluster.

ParameterParameter TypeDescriptionRequired
operatorObjectThis contains the Slice Operator information.Optional
controllerSecretObjectThis contains the secrets to connect to controller cluster.Optional
clusterObjectThis contains the information about the worker cluster.Optional
KubesliceNetworkingObjectThis contains the parameter related to slice overlay network.Optional
imagePullSecretsObjectThis contains the secrets to access the repository that contains the image.Mandatory

Slice Operator Parameters

These parameters are related to the installation of the Slice Operator and they are configured in the Slice Operator YAML file.

ParameterParameter TypeDescriptionRequired
logLevelStringThe log level can be set to INFO or DEBUG. The default value is set to INFO.Optional

Controller Secret Parameters

These parameters are related to the KubeSlice Controller that are required to install the Slice Operator and they are configured in the Slice Operator YAML file.

ParameterParameter TypeDescriptionRequired
namespaceStringThe namespace that you get from the secret.Mandatory
endpointStringThe controllerEndpoint that you get from the secret.Mandatory
ca.crtStringThe ca.crt that you get from the secret.Mandatory
tokenStringThe token that you get from the secret.Mandatory

Cluster Parameters

These parameters are related to the worker cluster that are configured in the Slice Operator YAML file.

ParameterParameter TypeDescriptionRequired
nameStringThe name of the cluster that is registered with the KubeSlice controller. The cluster name must be unique in the project.Mandatory
endpointStringThe control plane's kube-apiserver endpoint of the worker cluster that you get in the output after running the kubectl cluster-info command.Mandatory

KubeSlice Networking Parameters

These parameters are related to the slice that are configured in the Slice Operator YAML file.

ParameterParameter TypeDescriptionRequired
enabledBooleanThis is the Boolean expression required to enable or disable overlay network for a slice. This field specifies if the kubeslice networking components should be installed on a worker cluster during helm install or helm upgrade. The default value is true. The value must be true(i.e network dependencies must be present) on all participating clusters, in order to create (or update to) any slice with network capabilities(i.e single or multi network).Optional

Network Operator Parameter

This parameter is related to network operations such as enforcing the QoS profile configured for a slice and is configured in the Slice Operator YAML file.

ParameterParameter TypeDescriptionRequired
networkInterfaceAlphaNumericThe name of the network interface on the gateway nodes that is the egress interface for external traffic. It may be obtained by doing a route lookup on a well-known public IP address like the Google public DNS IP address 8.8.8.8.Mandatory

Slice Operator Image Pull Secret Parameters

These parameters are required to pull the image and they are configured in the Slice Operator YAML file.

ParameterParameter TypeDescriptionRequired
repositoryStringThis is the repository URL to pull the image from.Its value must always be https://index.docker.io/v1/.Mandatory
usernameStringThis is your username to log in to the repository from your KubeSlice Registration email.Mandatory
passwordStringThis is your user access token/password to log in to the repository for your KubeSlice Registration email.Mandatory
emailStringThis is your email address to log into the repository use in your KubeSlice Registration.Mandatory