Resource Type: kubernetes_deployment_spec
- Defined in:
- lib/puppet/type/kubernetes_deployment_spec.rb
- Providers:
-
swagger
Overview
DeploymentSpec is the specification of the desired behavior of the Deployment.
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
min_ready_seconds
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
-
paused
Indicates that the deployment is paused and will not be processed by the deployment controller.
-
progress_deadline_seconds
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.
-
replicas
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
-
revision_history_limit
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.
-
rollback_to
The config this deployment is rolling back to. Will be cleared after rollback is done.
-
selector
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
-
strategy
The deployment strategy to use to replace existing pods with new ones.
-
template
Template describes the pods that will be created.
Parameters
-
name (namevar)
Name of the deployment_spec.
-
provider
The specific backend to use for this ‘kubernetes_deployment_spec` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.