Skip to content

Commit

Permalink
Property for AbstractDeployment
Browse files Browse the repository at this point in the history
  • Loading branch information
petr-buchyn committed Oct 22, 2020
1 parent b24c459 commit 830e7d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Core/Deployment/AbstractDeployment.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

abstract class AbstractDeployment implements DeploymentInterface
{
protected int $replicas = 1;

public function affinity(AffinityConfigurator $affinity): void
{
}
Expand Down Expand Up @@ -49,7 +51,7 @@ public function configurePodSpec(PodSpec $spec): void

public function replicas(): int
{
return 1;
return $this->replicas;
}

public function minReadySeconds(): ?int
Expand Down

0 comments on commit 830e7d8

Please sign in to comment.