Puppet Type: kubernetes_container_type
- Defined in:
- lib/puppet/type/kubernetes_container.rb
Overview
A single application container that you want to run within a pod.
Parameter Summary
- args (Property) -
Arguments to the entrypoint. The docker image's cmd is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: releases.k8s.io/HEAD/docs/user-guide/containers.md#containers-and-commands
- command (Property) -
Entrypoint array. Not executed within a shell. The docker image's entrypoint is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: releases.k8s.io/HEAD/docs/user-guide/containers.md#containers-and-commands
- env (Property) -
List of environment variables to set in the container. Cannot be updated.
- image (Property) -
Docker image name. More info: releases.k8s.io/HEAD/docs/user-guide/images.md
- imagePullPolicy (Property) -
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: releases.k8s.io/HEAD/docs/user-guide/images.md#updating-images
- lifecycle (Property) -
Actions that the management system should take in response to container lifecycle events. Cannot be updated.
- livenessProbe (Property) -
Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes
- name (Property) -
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
- name (Parameter) -
Name of the container.
- ports (Property) -
List of ports to expose from the container. Cannot be updated.
- readinessProbe (Property) -
Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes
- resources (Property) -
Compute Resources required by this container. Cannot be updated. More info: releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#resources
- securityContext (Property) -
Security options the pod should run with. More info: releases.k8s.io/HEAD/docs/design/security_context.md
- stdin (Property) -
Whether this container should allocate a buffer for stdin in the container runtime. Default is false.
- terminationMessagePath (Property) -
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.
- tty (Property) -
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.
- volumeMounts (Property) -
Pod volumes to mount into the container's filesyste. Cannot be updated.
- workingDir (Property) -
Container's working directory. Defaults to Docker's default. D efaults to image's default. Cannot be updated.