Skip to main content

ElementSpec

Description

ElementSpec defines the desired state of Element.


GlobalConfig field of tag global-config

GlobalConfig gives the name of main ConfigMap used to set up this Element, derived from the associated NetworkDesc.

Kind: string
Tag: global-config
Data Type: string
Optional: False


ElementConfig field of tag element-config

ElementConfig gives the name of ConfigMap used to set up this Element, derived from the Model and associated with this specific Element, not other Elements in the same NetworkDesc.

Kind: string
Tag: element-config
Data Type: string
Optional: False


Model field of tag model

Model template of the current Element.

Kind: Model
Tag: model
Data Type: Struct
Optional: False


Replicas field of tag replicas

The number of Replicas that should be created for this Element.

Kind: *int32
Tag: replicas
Data Type: Pointer
Default Value: 1
Maximum Value: 255
Minimum Value: 0
Optional: True


Backend field of tag backend

Backend to provide the Pods for this Element.

Kind: *string
Tag: backend
Data Type: Pointer
Default Value: ManagedDeployment
Enumeration: UnmanagedPods, ManagedPods, UnmanagedDeployment, ManagedDeployment
Optional: True


ExtraDNS field of tag extra-dns

ExtraDNS endpoints to support external services including PNFs with fixed IP addresses. This records would be added to /etc/hosts file of all the containers deployed by this CR.

Tag: extra-dns
Manager Tag: extra
Data Type: Slice
List Map Key: name
List Type: map
Optional: True


Scheduling field of tag scheduling

Scheduling policy for pods of this Element.

Kind: *./api/v1.Scheduling
Tag: scheduling
Data Type: Pointer
Optional: True


ShadowService field of tag shadow-service

ShadowService is a trick used in Trirematics to allow subdomains to be used in the Network setup. Essentially, this ShadowService makes the pods of this Element discoverable and is uniquely mapped to a subdomain name that is used in the NetworkReconciler.

Kind: string
Tag: shadow-service
Data Type: string
Optional: False


AssociatedSlices field of tag associated-slices

AssociatedSlices is a list of slices that this Element is associated with them.

Tag: associated-slices
Data Type: Slice
Optional: True