Skip to content

Commit

Permalink
feat: mirroring deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
tunacinsoy committed Sep 14, 2024
1 parent d99eeaf commit 6ccb2e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifests/blog-app/blog-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
imagePullPolicy: Always
ports:
- containerPort: 27017
resources:
resources: # It is better to define limits and requests, since otherwise we might run out of our resources, especially ephemeral storage
requests:
cpu: "100m"
memory: "150Mi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ spec:
- destination:
host: ratings
subset: v1
weight: 20
- destination:
host: ratings
subset: v2
weight: 80
weight: 100
mirror:
host: ratings
subset: v2
mirror_percent: 100
---
apiVersion: networking.istio.io/v1
kind: VirtualService
Expand Down

0 comments on commit 6ccb2e7

Please sign in to comment.