Skip to content

Commit 23b0c04

Browse files
added replicas
1 parent a593a2b commit 23b0c04

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

Kubernetes - Scenario/ResilientMicroservices.Sample/Customers.Web/Customers.Web.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<ItemGroup>
1414
<PackageReference Include="AutoMapper" Version="8.0.0" />
1515
<PackageReference Include="Microsoft.AspNetCore.App" />
16+
<PackageReference Include="NetEscapades.Configuration.Yaml" Version="1.6.0" />
1617
</ItemGroup>
1718

1819
<ItemGroup>

Kubernetes - Scenario/ResilientMicroservices.Sample/Orders.Web/Orders.Web.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<ItemGroup>
1515
<PackageReference Include="AutoMapper" Version="8.0.0" />
1616
<PackageReference Include="Microsoft.AspNetCore.App" />
17+
<PackageReference Include="NetEscapades.Configuration.Yaml" Version="1.6.0" />
1718
</ItemGroup>
1819

1920
<ItemGroup>

Kubernetes - Scenario/ResilientMicroservices.Sample/k8sDeploy/deploy.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ $ErrorActionPreference = "Stop"
3030
# Write-Host "Successfully created namespace $namespace" -ForegroundColor Green
3131
# }
3232

33-
# Write-Host "Setup k8s requirements" -ForegroundColor Yellow
34-
# & kubectl config set-context $(& kubectl config current-context) --namespace=$namespace
33+
Write-Host "Setup k8s requirements" -ForegroundColor Yellow
34+
& kubectl config set-context $(& kubectl config current-context) --namespace=$namespace
3535

3636
Write-Host "Starting k8s deployment" -ForegroundColor Yellow
3737
& kubectl apply -f "$PSScriptRoot\k8s\configuration"

Kubernetes - Scenario/ResilientMicroservices.Sample/k8sDeploy/k8s/customerservice.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ kind: Deployment
1717
metadata:
1818
name: customerservice
1919
spec:
20+
replicas: 3
2021
template:
2122
metadata:
2223
labels:

0 commit comments

Comments
 (0)