diff --git a/manifests/blog-app/blog-app.yaml b/manifests/blog-app/blog-app.yaml index 6bb32a7..1211372 100644 --- a/manifests/blog-app/blog-app.yaml +++ b/manifests/blog-app/blog-app.yaml @@ -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" diff --git a/manifests/blog-app/virtual-services-canary.yaml b/manifests/blog-app/virtual-services-mirroring.yaml similarity index 93% rename from manifests/blog-app/virtual-services-canary.yaml rename to manifests/blog-app/virtual-services-mirroring.yaml index 1a58b16..32e73ce 100644 --- a/manifests/blog-app/virtual-services-canary.yaml +++ b/manifests/blog-app/virtual-services-mirroring.yaml @@ -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