diff --git a/src/Core/Deployment/AbstractDeployment.php b/src/Core/Deployment/AbstractDeployment.php index 266912e..b483a23 100644 --- a/src/Core/Deployment/AbstractDeployment.php +++ b/src/Core/Deployment/AbstractDeployment.php @@ -14,6 +14,8 @@ abstract class AbstractDeployment implements DeploymentInterface { + protected int $replicas = 1; + public function affinity(AffinityConfigurator $affinity): void { } @@ -49,7 +51,7 @@ public function configurePodSpec(PodSpec $spec): void public function replicas(): int { - return 1; + return $this->replicas; } public function minReadySeconds(): ?int