Skip to content

Commit 1512d6b

Browse files
author
Kristiaan Hoogendoorn
committed
fix sorting and minor doc updates
1 parent f0c6fa9 commit 1512d6b

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

.spelling

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,6 @@ DNS
456456
DNS_AUTO_ALLOCATE
457457
docker-compose's
458458
docker.io
459-
Podman
460459
doc_type
461460
dogfood
462461
Dolfi
@@ -970,6 +969,7 @@ pluggability
970969
pluggable
971970
png
972971
Poddar
972+
Podman
973973
Polshakova
974974
Posta
975975
PostgreSQL

content/en/docs/setup/install/virtual-machine/containerized/index.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ keywords:
1010
- docker
1111
- containers
1212
owner: istio/wg-environments-maintainers
13-
test: yes
1413

1514
---
16-
Follow this guide to run the Istio-proxy as a container instead of the Istio virtual machine integration runtime allowing more flexibility of the underlying platform.
15+
Follow this guide to run the Istio-proxy as a container instead of the Istio virtual machine integration runtime, allowing you more control over the underlying platform.
1716

1817
## Prerequisites
1918

@@ -24,22 +23,22 @@ Follow this guide to run the Istio-proxy as a container instead of the Istio vir
2423
## Host OS requirements
2524

2625
1. Have a container runtime installed like [Docker](https://docs.docker.com/engine/install/) (used in this guide) or [Podman](https://podman.io/docs/installation).
27-
1. Ability to run a container with `--network=host`- allowing it to interact with the hosts Iptables.
28-
1. Ability to run a container with the capability: `NET_ADMIN` - allowing it to update Iptables.
26+
1. Ability to run a container with `--network=host`- to configure Iptables of the host OS.
27+
1. Ability to run a container with the capability: `NET_ADMIN` - giving the container privileges to configure iptables.
2928
1. Reserve UID `1337` for the user: `istio-proxy`.
3029

3130
## Overview
3231

3332
Installing the Istio-proxy package comes with a start-[script]({{< github_blob >}}tools/packaging/common/istio-start.sh) to bootstrap some final variables
3433
and runs [istio-iptables](/docs/reference/commands/pilot-agent/#pilot-agent-istio-iptables) and [istio-clean-iptables](/docs/reference/commands/pilot-agent/#pilot-agent-istio-clean-iptables)
35-
to correctly configure `iptables` before starting the [istio-proxy](docs/reference/commands/pilot-agent/#pilot-agent-proxy) itself.
36-
This guide will cover this extra configurations to run the Istio-proxy as a sidecar-container.
34+
to correctly configure `iptables` before starting the [istio-proxy](docs/reference/commands/pilot-agent/#pilot-agent-proxy).
35+
This guide will cover this extra configurations required to run the Istio-proxy as a sidecar-container.
3736

3837
## Extra configuration
3938

4039
Like mentioned above, extra configuration to `cluster.env` and `mesh.yaml` is required. This is an addition on the already generated configuration via [Virtual Machine Installation](/docs/setup/install/virtual-machine/#create-files-to-transfer-to-the-virtual-machine):
4140

42-
1. setup some extra environment variables:
41+
1. setup extra environment variables:
4342

4443
{{< text bash >}}
4544
$ INSTANCE_IP="<the primary IP of the VM>"
@@ -99,17 +98,23 @@ Run the following commands on the virtual machine:
9998
1. Install the [Mesh Config](/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig) to `/etc/istio/config/mesh`:
10099

101100
{{< text bash >}}
102-
$ sudo mkdir -p /etc/istio/config
101+
$ sudo mkdir /etc/istio
102+
$ sudo ln -s /var/lib/istio /etc/istio
103+
$ sudo mkdir /etc/istio/config
103104
$ sudo cp "${HOME}"/mesh.yaml /etc/istio/config/mesh
104105
{{< /text >}}
105106

107+
{{< warning >}}
108+
The install spec of Istio virtual machine intergration runtime creates the /etc/istio > /var/lib/istio symlink, we keep it for consistency.
109+
{{< /warning >}}
110+
106111
1. Add the istiod host to `/etc/hosts`:
107112

108113
{{< text bash >}}
109114
$ sudo sh -c 'cat $(eval echo ~$SUDO_USER)/hosts >> /etc/hosts'
110115
{{< /text >}}
111116

112-
1. Transfer ownership of the files in `/etc/certs/` and `/var/lib/istio/envoy/` to the Istio proxy:
117+
1. Transfer ownership of the files in `/etc/certs/` and `/var/lib/istio/envoy/` to Istio proxy:
113118

114119
{{< text bash >}}
115120
$ sudo mkdir -p /etc/istio/proxy
@@ -157,7 +162,7 @@ Run the following commands on the virtual machine:
157162
{{< /text >}}
158163

159164
{{< warning >}}
160-
The proxyv2 image is configured to use iptables-legacy, hence we need to do some trickery with `update-alternatives` to consult the correct iptables endpoint.
165+
The proxyv2 image is configured to use iptables-legacy, hence we need to do some trickery with `update-alternatives` to consult the correct iptables endpoint(nf_tables > legeacy).
161166
{{< /warning >}}
162167

163168
1. Start the Istio-proxy container:
@@ -219,6 +224,5 @@ Run the following commands on the virtual machine:
219224
{{< /text >}}
220225

221226
{{< idea >}}
222-
A more sophisticated way of running containerized Istio-proxy would be to reuse the startup script or setup systemd unit files to take care of start and stopping your Istio-proxy.
223-
Making sure it always has a correct configured environment.
227+
A more sophisticated way of running containerized Istio-proxy is to use a start/stop script or setup systemd unit file to realize the correct ordering and environment setup.
224228
{{< /idea >}}

0 commit comments

Comments
 (0)