You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add container to deployment container set. Available methods to build deployment:
100
+
- from flags
101
+
- with interactive commandline wizard
102
+
- from yaml ot json file
103
+
104
+
Use --force flag to create container without interactive wizard.
105
+
If the --container-name flag is not specified then wizard generates name RANDOM_COLOR-IMAGE.
106
+
107
+
**Example**:
108
+
109
+
110
+
111
+
**Flags**:
112
+
113
+
| Short | Name | Usage | Default value |
114
+
| ----- | ---- | ----- | ------------- |
115
+
|| --configmap | container configmap mount, CONFIG:MOUNT_PATH or CONFIG (then MOUNTPATH is /etc/CONFIG) ||
116
+
|| --container-name | container name, required on --force ||
117
+
|| --cpu | container CPU limit, mCPU | 0 |
118
+
|| --deployment | deployment name, required on --force ||
119
+
|| --env | container environment variables, NAME:VALUE, 'NAME:$HOST_ENV' or '$HOST_ENV' (to user host env). WARNING: single quotes are required to prevent env from interpolation ||
120
+
| -f | --force | suppress confirmation | false |
121
+
|| --image | container image ||
122
+
|| --memory | container memory limit, Mb | 0 |
123
+
|| --volume | container volume mounts, VOLUME:MOUNT_PATH or VOLUME (then MOUNT_PATH is /mnt/VOLUME) ||
Create a new deployment. Runs in one-line mode, suitable for integration with other tools, and in interactive wizard mode.
134
+
Create deployment with containers and replicas.
135
+
Available methods to build deployment:
136
+
- from flags
137
+
- with interactive commandline wizard
138
+
- from yaml ot json file
139
+
140
+
Use --force flag to create container without interactive wizard.
141
+
142
+
There are several ways to specify the names of containers with flags:
143
+
- --container-name flag
144
+
- the prefix CONTAINER_NAME@ in the flags --image, --memory, --cpu, --env, --volume
145
+
146
+
If the --container-name flag is not specified and prefix is not used in any of the flags, then wizard searches for the --image flags without a prefix and generates name RANDOM_COLOR-IMAGE.
@@ -106,6 +211,7 @@ Create a new deployment. Runs in one-line mode, suitable for integration with ot
106
211
| Short | Name | Usage | Default value |
107
212
| ----- | ---- | ----- | ------------- |
108
213
|| --configmap | container configmap, CONTAINER_NAME@CONFIGMAP_NAME@MOUNTPATH in case of multiple containers or CONFIGMAP_NAME@MOUNTPATH or CONFIGMAP_NAME in case of one container. If MOUNTPATH is omitted, then use /etc/CONFIGMAP_NAME as mountpath ||
214
+
|| --container-name | container name in case of single container ||
109
215
|| --cpu | container memory limit, mCPU, CONTAINER_NAME@CPU in case of multiple containers or CPU in case of one container ||
110
216
|| --env | container environment variable, CONTAINER_NAME@KEY:VALUE in case of multiple containers or KEY:VALUE in case of one container ||
0 commit comments