Fix YAML indentation for example for Istio and RKE2

This commit is contained in:
Catherine Luse
2021-05-20 10:47:29 -07:00
parent 8ee63f468f
commit d0e7f18f23
2 changed files with 18 additions and 18 deletions
@@ -15,18 +15,18 @@ Through the **Cluster Explorer,** when installing or upgrading Istio through **A
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
spec: spec:
components: components:
cni:
enabled: true
values:
cni: cni:
image: rancher/istio-install-cni:1.7.3 enabled: true
excludeNamespaces: values:
cni:
image: rancher/istio-install-cni:1.7.3
excludeNamespaces:
- istio-system - istio-system
- kube-system - kube-system
logLevel: info logLevel: info
cniBinDir: /opt/cni/bin cniBinDir: /opt/cni/bin
cniConfDir: /etc/cni/net.d cniConfDir: /etc/cni/net.d
``` ```
1. After installing Istio, you'll notice the cni-node pods in the istio-system namespace in a CrashLoopBackoff error. Manually edit the `istio-cni-node` daemonset to include the following on the `install-cni` container: 1. After installing Istio, you'll notice the cni-node pods in the istio-system namespace in a CrashLoopBackoff error. Manually edit the `istio-cni-node` daemonset to include the following on the `install-cni` container:
```yaml ```yaml
@@ -13,18 +13,18 @@ Through the **Cluster Explorer,** when installing or upgrading Istio through **A
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
spec: spec:
components: components:
cni:
enabled: true
values:
cni: cni:
image: rancher/istio-install-cni:1.7.3 enabled: true
excludeNamespaces: values:
cni:
image: rancher/istio-install-cni:1.7.3
excludeNamespaces:
- istio-system - istio-system
- kube-system - kube-system
logLevel: info logLevel: info
cniBinDir: /opt/cni/bin cniBinDir: /opt/cni/bin
cniConfDir: /etc/cni/net.d cniConfDir: /etc/cni/net.d
``` ```
1. After installing Istio, you'll notice the cni-node pods in the istio-system namespace in a CrashLoopBackoff error. Manually edit the `istio-cni-node` daemonset to include the following on the `install-cni` container: 1. After installing Istio, you'll notice the cni-node pods in the istio-system namespace in a CrashLoopBackoff error. Manually edit the `istio-cni-node` daemonset to include the following on the `install-cni` container:
```yaml ```yaml