Additional Steps for Installing Istio on an RKE2 Cluster


When installing or upgrading the Istio Helm chart through Apps & Marketplace,

  1. If you are installing the chart, click Customize Helm options before install and click Next.
  2. You will see options for configuring the Istio Helm chart. On the Components tab, check the box next to Enabled CNI.
  3. Add a custom overlay file specifying cniBinDir and cniConfDir. For more information on these options, refer to the Istio documentation. An example is below:

    1. apiVersion: install.istio.io/v1alpha1
    2. kind: IstioOperator
    3. spec:
    4. components:
    5. cni:
    6. enabled: true
    7. k8s:
    8. overlays:
    9. - apiVersion: "apps/v1"
    10. kind: "DaemonSet"
    11. name: "istio-cni-node"
    12. patches:
    13. - path: spec.template.spec.containers.[name:install-cni].securityContext.privileged
    14. value: true
    15. values:
    16. cni:
    17. image: rancher/mirrored-istio-install-cni:1.9.3
    18. excludeNamespaces:
    19. - istio-system
    20. - kube-system
    21. logLevel: info
    22. cniBinDir: /opt/cni/bin
    23. cniConfDir: /etc/cni/net.d

Result: Now you should be able to utilize Istio as desired, including sidecar injection and monitoring via Kiali.