cpln_
./org/ORG_NAME/image/IMAGE_NAME:TAG
//image/IMAGE_NAME:TAG
latest
), the platform will redploy the new image within 5 minutes.To enable this feature:Support Dynamic Tag
switch on the Info
page of the selected workload.supportDynamicTags: true
within the selected workload.ports
then http
is configured.
If the deprecated port
parameter is used then http2
is configured.
When the protocol is tcp
…
Unready
. (must be between 1 and 20 inclusive, default is 3).minMemory
and minCpu
differently than other workload types. For more information, please consult the stateful workload reference500
(in the console) or 500m
(in the YAML manifiest) would allocate half a core.1
(in both the console and YAML manifest) as the CPU resource means allocating the equivalent of one full CPU core.minCpu
defines the lowest possible CPU reservation for a container. Otherwise, the minCpu
property
is ignored.
1
and selecting Mi (in the console) or 1Mi
(in the YAML manifiest) would allocate 1 Mebibyte.1
and selecting Gi (in the console) or 1Gi
(in the YAML manifiest) would allocate 1 Gibibyte.minMemory
defines the lowest possible memory reservation for a container. Otherwise, the minMemory
property
is ignored.
GPU | # per replica |
---|---|
Nvidia T4 | 1-4 |
Nvidia A10g | 1 |
reveal
permissions on the secret.
cpln://secret/
will be inserted.cpln://reference/
The supported fields are: metadata.name
, metadata.namespace
, spec.nodeName
, status.hostIP
, status.podIP
, and status.podIPs
PORT
environment variable is provided at runtime and available to a container.
It can be assigned as a custom environment variable in all cases except when the container is exposed and the value doesn’t match that of the exposed port.
For example:
3000
:
3000
.3000
.inheritEnv
property to true
. You can override the value of an inherited variable by adding a local variable with the same key.
$(ENV_NAME)
.
For example, the runtime value of the built-in variable CPLN_GLOBAL_ENDPOINT
can be used in another environment variable by having the value $(CPLN_GLOBAL_ENDPOINT)
added to the new variable.
K_SERVICE
K_CONFIGURATION
K_REVISION
command
(entrypoint), args
(arguments) or workingDir
can be provided for the container which will override the startup configuration of the container.
ENTRYPOINT
if no command is specified.
The argument list is ordered and will be passed to the container in the same order it is defined in the api.
workingDir
setting changes the directory that commands are executed in when no path or relative paths are specified.
Lifecycle
link from the top menu bar.Save
.exec
type is supported.
lifecycle
section to an existing workload container.