Hi All,
I was going through ISTIO course and want to understand few concepts when Istio service mesh is used:
When we use virtual services using Istio do we still need Services defined for K8s native deployments. Similarly what about Ingress and Networkpolicies?
2.Does Istio virtual services and other objects also work at namespace level like native k8s services, networkpolicies, ingress etc…
3.Whats the Istio equivalent for network policies?
Hi Javed,
Please find the answers below:
1)
When we use virtual services using Istio do we still need Services defined for K8s native deployments. Similarly what about Ingress and Networkpolicies?
Yes.
Does Istio virtual services and other objects also work at namespace level like native k8s services, networkpolicies, ingress etc…
Yes.
fyi: Label the namespaces on which you want to enable Istio to inject sidecar containers automatically. Start with the default namespace:
$ kubectl label namespace default istio-injection=enabled
namespace/default labeled