mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 22:18:52 +00:00
Fix YAML indentation for example for Istio and RKE2
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user