Sha256: 6959a361ca3872d22626e421ee16ea923098a4ff8cc5139e1b851dfa8e3250a5
Contents?: true
Size: 498 Bytes
Versions: 13
Compression:
Stored size: 498 Bytes
Contents
# frozen_string_literal: true module KubernetesDeploy class PodDisruptionBudget < KubernetesResource TIMEOUT = 10.seconds def status exists? ? "Available" : "Not Found" end def deploy_succeeded? exists? && observed_generation == current_generation end def deploy_method # Required until https://github.com/kubernetes/kubernetes/issues/45398 changes :replace_force end def timeout_message UNUSUAL_FAILURE_MESSAGE end end end
Version data entries
13 entries across 13 versions & 1 rubygems