| Giorgi Lekveishvili | 285ab62 | 2023-11-22 13:50:45 +0400 | [diff] [blame^] | 1 | # Istio for Gerrit |
| 2 | |
| 3 | ## Configuring istio |
| 4 | |
| 5 | It is recommended to set a static IP to be used by the LoadBalancer service |
| 6 | deployed by istio. To do that set |
| 7 | `spec.components.ingressGateways[0].k8s.overlays[0].patches[0].value`, which is |
| 8 | commented out by default, which causes the use of an ephemeral IP. |
| 9 | |
| 10 | ## Installing istio |
| 11 | |
| 12 | Create the `istio-system`-namespace: |
| 13 | |
| 14 | ```sh |
| 15 | kubectl apply -f ./istio/istio-system-namespace.yaml |
| 16 | ``` |
| 17 | |
| 18 | Verify that your istioctl version (`istioctl version`) matches the version in |
| 19 | `istio/gerrit.profile.yaml` under `spec.tag`. |
| 20 | |
| 21 | Install istio: |
| 22 | |
| 23 | ```sh |
| 24 | istioctl install -f istio/gerrit.profile.yaml |
| 25 | ``` |