March 2020
Intermediate to advanced
626 pages
14h 45m
English
In the previous chapter, we created an httpbin service that performed load balancing and traffic mirroring between the httpbin-v1 and httpbin-v2 microservices. In this chapter, we will use the same httpbin service and show you how to secure external traffic through an Istio ingress gateway using SDS.
Let's test the httpbin service internally using HTTP that outputs a teapot (/status/418) and the IP address:
$ curl http://httpbin.istio-lab.svc.cluster.local:8000/status/418 -=[ teapot ]=- _...._ .' _ _ `. | ."` ^ `". _, \_;`"---"`|// | ;/ \_ _/ `"""`$ curl http://httpbin.istio-lab.svc.cluster.local:8000/ip{ "origin": "127.0.0.1"}
Next, we'll generate some keys and certificates to enable simple or mutual TLS.
Read now
Unlock full access