Skip to main content
Version: 1.15.0

Workspace Configuration Parameters

This topic describes the configuration parameters for the Workspace (Slice) resources in EGS.

Workspace (Slice) Configuration Parameters

The following table describes the configuration parameters for the SliceNSGateway resource. These parameters are required to create the Workspace NS gateway YAML file.

ParameterDescriptionTypeRequired/Optional
apiVersionThe API version of the SliceNSGateway resource.StringRequired
kindThe kind of resource, which is SliceNSGateway.StringRequired
metadataMetadata about the SliceNSGateway resource, including name and namespace.Object Required
specThe specification of the SliceNSGateway resource, including sliceName, fqdn, gatewayRef, and ports.ObjectRequired

Metadata Parameters

ParameterDescriptionTypeRequired/Optional
nameThe name of the SliceNSGateway resource.StringRequired
namespaceThe namespace where the SliceNSGateway resource is deployed.StringRequired

Spec Parameters

ParameterDescriptionTypeRequired/Optional
sliceNameThe name of the workspace (slice) where the gateway is deployed.StringRequired
fqdnList of fully qualified domain names for accessing the gateway.List of StringsOptional
gatewayRefReference to the gateway resource, including name, autoCreate flag, and gatewayClassName.ObjectRequired
portsList of ports and protocols for the gateway.List of ObjectsOptional
backendsList of backend services, including name, type, cluster (for remote), service/serviceImport, weight.List of ObjectsRequired
routingRulesList of routing rules for traffic management, including priority, match criteria, and backends.List of ObjectsOptional

Gateway Reference Parameters

ParameterDescriptionTypeRequired/Optional
nameThe name of the gateway resource.StringRequired
autoCreateFlag to indicate whether to auto-create the gateway if it doesn't exist.BooleanOptional
gatewayClassNameThe class name of the gateway (for example, istio, envoy).StringRequired

Ports Parameters

ParameterDescriptionTypeRequired/Optional
portThe port number for the gateway.IntegerRequired
protocolThe protocol for the gateway (for example, HTTP, HTTPS, TCP).StringRequired
nameThe name of the port.StringOptional
containerPortThe container port number.IntegerOptional
ServicePortThe service port number.IntegerOptional
ServiceProtocolThe service protocol.StringOptional

Backends Parameters

ParameterDescriptionTypeRequired/Optional
nameThe name of the backend service.StringRequired
typeThe type of backend service (local or remote).StringRequired
clusterThe name of the remote cluster where the service is located.StringRequired for remote
serviceThe local service details, including name and port.ObjectRequired for local
serviceImportThe service import details, including name and port.ObjectRequired for remote
weightThe weight for traffic distribution among backends.IntegerOptional

Routing Rules Parameters

ParameterDescriptionTypeRequired/Optional
priorityThe priority of the routing rule.IntegerRequired
matchThe match criteria for the routing rule, including path type and value.ObjectRequired
backendsList of backend services for the routing rule, including name, type, cluster (for remote), service/serviceImport, weight.List of ObjectsRequired