Files
go/kubernetes/client/v1beta2_deployment_spec.go
Haowei Cai 6181687d2e Generated API change for kubernetes 1.10
Settings:
    export KUBERNETES_BRANCH="release-1.10"
    export CLIENT_VERSION="0.1.0a1"
    export PACKAGE_NAME="client"
2018-03-21 14:15:19 -07:00

39 lines
2.0 KiB
Go

/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// DeploymentSpec is the specification of the desired behavior of the Deployment.
type V1beta2DeploymentSpec struct {
// 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)
MinReadySeconds int32 `json:"minReadySeconds,omitempty"`
// Indicates that the deployment is paused.
Paused bool `json:"paused,omitempty"`
// 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. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
ProgressDeadlineSeconds int32 `json:"progressDeadlineSeconds,omitempty"`
// Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
Replicas int32 `json:"replicas,omitempty"`
// The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
RevisionHistoryLimit int32 `json:"revisionHistoryLimit,omitempty"`
// Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.
Selector *V1LabelSelector `json:"selector"`
// The deployment strategy to use to replace existing pods with new ones.
Strategy *V1beta2DeploymentStrategy `json:"strategy,omitempty"`
// Template describes the pods that will be created.
Template *V1PodTemplateSpec `json:"template"`
}