Skip to content

Commit

Permalink
final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
vany0114 committed Apr 2, 2020
1 parent 0a6e5f6 commit 913bfad
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions deploy/k8s/gke/invoice/invoice-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: invoice
minReplicas: 3
maxReplicas: 7
minReplicas: 2
maxReplicas: 4
targetCPUUtilizationPercentage: 50
2 changes: 1 addition & 1 deletion deploy/k8s/gke/notifications/notifications-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ spec:
kind: Deployment
name: notifications
minReplicas: 4
maxReplicas: 10
maxReplicas: 5
targetCPUUtilizationPercentage: 50
4 changes: 2 additions & 2 deletions deploy/k8s/gke/trip/trip-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: trip
minReplicas: 3
maxReplicas: 7
minReplicas: 2
maxReplicas: 4
targetCPUUtilizationPercentage: 50
4 changes: 2 additions & 2 deletions deploy/k8s/gke/website/website-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: frontend
minReplicas: 3
maxReplicas: 5
minReplicas: 2
maxReplicas: 4
targetCPUUtilizationPercentage: 50
2 changes: 1 addition & 1 deletion deploy/k8s/local/notifications/notifications-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ spec:
kind: Deployment
name: notifications
minReplicas: 4
maxReplicas: 10
maxReplicas: 5
targetCPUUtilizationPercentage: 50
4 changes: 2 additions & 2 deletions deploy/k8s/local/trip/trip-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: trip
minReplicas: 3
maxReplicas: 7
minReplicas: 2
maxReplicas: 4
targetCPUUtilizationPercentage: 50
4 changes: 2 additions & 2 deletions deploy/k8s/local/website/website-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: frontend
minReplicas: 3
maxReplicas: 5
minReplicas: 2
maxReplicas: 4
targetCPUUtilizationPercentage: 50
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public static IServiceCollection AddHealthChecks(this IServiceCollection service
hcBuilder
.AddMongoDb(
configuration["EventStoreConfiguration:ConnectionString"],
mongoDatabaseName: string.Empty,
name: "TripDB-check",
tags: new string[] { "tripdb" });

Expand Down

0 comments on commit 913bfad

Please sign in to comment.