diff --git a/deploy/overlays/production-scale-to-zero/kustomization.yaml b/deploy/overlays/production-scale-to-zero/kustomization.yaml index f495925..5d40f39 100644 --- a/deploy/overlays/production-scale-to-zero/kustomization.yaml +++ b/deploy/overlays/production-scale-to-zero/kustomization.yaml @@ -37,3 +37,15 @@ patches: version: v1 kind: Ingress name: math-exercises-ingress +- patch: | + [ + { + "op": "replace", + "path": "/spec/internalTrafficPolicy", + "value": "Cluster" + } + ] + target: + version: v1 + kind: Service + name: math-exercises-service