Cleaning up

Just follow these simple steps:

  1. We will change the mode from mode: REGISTRY_ONLY to mode: ALLOW_ANY for the purpose of the next chapter's lab exercises:
$ kubectl -n istio-system get cm istio -o yaml | sed 's/mode: REGISTRY_ONLY/mode: ALLOW_ANY/g' | kubectl replace -n istio-system -f -
configmap/istio replaced
  1. Double-check whether mode: ALLOW_ANY has been set:
$ kubectl -n istio-system get cm istio -o yaml | grep -m 1 -o "mode: ALLOW_ANY"
mode: ALLOW_ANY
  1. We will delete the virtual services for httpbin as we will recreate them in the next chapter:
$ kubectl -n istio-lab delete -f 22-create-httpbin-virtual-service.yaml
virtualservice.networking.istio.io "httpbin" deleted

With this, we have made changes in our setup so that we can show Istio's security features in the next chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.10.137