Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 2.38 KB

File metadata and controls

20 lines (10 loc) · 2.38 KB

Create istio network policy

Allowed resources:

30 Configure istio network policies with
Acceptance criteria You have to develop Istio mTLS policy in market namespace:
1. You have to configure istio mTLS in market namespace.
2. Enforce Mutual Authentication between pods in market namespace.
3. To check that policy is working, you can run:
kubectl exec -it tester -- curl app.market.svc.cluster.local:8080 --head
# Curl from default namespace curl: (56) Recv failure: Connection reset by peer
kubectl exec -n market -it db -- curl app.market.svc.cluster.local:8080 --head
# From db pod HTTP/1.1 200 OK
kubectl exec -n market -it app -- curl app.market.svc.cluster.local:8080 --head
# From app pod HTTP/1.1 200 OK

solution