// Limits describes the maximum amount of compute resources required.
LimitsResourceList`json:"limits,omitempty" description:"Maximum amount of compute resources allowed"`
}
...
...
@@ -274,10 +274,10 @@ type Container struct {
// Optional: Defaults to whatever is defined in the image.
Command[]string`json:"command,omitempty" description:"command argv array; not executed within a shell; defaults to entrypoint or command in the image"`
// Optional: Defaults to Docker's default.
WorkingDirstring`json:"workingDir,omitempty" description:"container's working directory; defaults to image's default"`
Ports[]Port`json:"ports,omitempty" description:"list of ports to expose from the container"`
Env[]EnvVar`json:"env,omitempty" description:"list of environment variables to set in the container"`
ResourcesResourceRequirementSpec`json:"resources,omitempty" description:"Compute Resources required by this container"`
WorkingDirstring`json:"workingDir,omitempty" description:"container's working directory; defaults to image's default"`
Ports[]Port`json:"ports,omitempty" description:"list of ports to expose from the container"`
Env[]EnvVar`json:"env,omitempty" description:"list of environment variables to set in the container"`
ResourcesResourceRequirements`json:"resources,omitempty" description:"Compute Resources required by this container"`
// Optional: Defaults to unlimited.
CPUint`json:"cpu,omitempty" description:"CPU share in thousandths of a core"`
// Limits describes the maximum amount of compute resources required.
LimitsResourceList`json:"limits,omitempty" description:"Maximum amount of compute resources allowed"`
}
...
...
@@ -233,10 +233,10 @@ type Container struct {
// Optional: Defaults to whatever is defined in the image.
Command[]string`json:"command,omitempty" description:"command argv array; not executed within a shell; defaults to entrypoint or command in the image"`
// Optional: Defaults to Docker's default.
WorkingDirstring`json:"workingDir,omitempty" description:"container's working directory; defaults to image's default"`
Ports[]Port`json:"ports,omitempty" description:"list of ports to expose from the container"`
Env[]EnvVar`json:"env,omitempty" description:"list of environment variables to set in the container"`
ResourcesResourceRequirementSpec`json:"resources,omitempty" description:"Compute Resources required by this container"`
WorkingDirstring`json:"workingDir,omitempty" description:"container's working directory; defaults to image's default"`
Ports[]Port`json:"ports,omitempty" description:"list of ports to expose from the container"`
Env[]EnvVar`json:"env,omitempty" description:"list of environment variables to set in the container"`
ResourcesResourceRequirements`json:"resources,omitempty" description:"Compute Resources required by this container"`
// Optional: Defaults to unlimited.
CPUint`json:"cpu,omitempty" description:"CPU share in thousandths of a core"`