List of components belonging to the application. Having multiple components in one application means that there are multiple containers managed by the same application. All components are deployed together and share the same lifecycle.
The name of the component. This name must be unique between all components in an application.
true
type
string
The type of the component. This is used to allows the the templating engine behind edgefarm.applications to generate the correct manifest. Currently the supported component is: edgefarm-applications
Label selector for nodepools. Every Edge Node has a corresponding nodepool. The nodepool is used to select the Edge Nodes that shall run the component. The nodePoolSelector specifies the nodepools that shall run the component. A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
true
image
string
OCI container image name.
true
imagePullPolicy
string
Image pull policy. One of IfNotPresent, Never, Always. Defaults to IfNotPresent
false
imagePullSecrets
[]string
Specify image pull secrets.
command
[]string
Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided.
false
args
[]string
Arguments to the entrypoint. The container image's CMD is used if this is not provided.
The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.
false
privileged
bool
Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.
false
readOnlyRootFilesystem
bool
Whether this container has a read-only root filesystem. Default is false.
false
runAsGroup
int64
The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
false
runAsNonRoot
bool
Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
false
runAsUser
int64
The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. In and NotIn operators can be used with non-empty values. Exists and DoesNotExist operators can be used with empty values.
The taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
operator
string
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
value
string
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
effect
string
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
tolerationSeconds
int64
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.