Skip to content

Commit 9bbf9cd

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

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-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: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ keywords:
1010
- docker
1111
- containers
1212
owner: istio/wg-environments-maintainers
13-
test: yes
13+
test: no
1414

1515
---
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.
16+
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.
1717

1818
## Prerequisites
1919

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

2626
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.
27+
1. Ability to run a container with `--network=host`- to configure Iptables of the host OS.
28+
1. Ability to run a container with the capability: `NET_ADMIN` - giving the container privileges to configure iptables.
2929
1. Reserve UID `1337` for the user: `istio-proxy`.
3030

3131
## Overview
3232

3333
Installing the Istio-proxy package comes with a start-[script]({{< github_blob >}}tools/packaging/common/istio-start.sh) to bootstrap some final variables
3434
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.
35+
to correctly configure `iptables` before starting the [istio-proxy](docs/reference/commands/pilot-agent/#pilot-agent-proxy).
36+
This guide will cover this extra configurations required to run the Istio-proxy as a sidecar-container.
3737

3838
## Extra configuration
3939

4040
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):
4141

42-
1. setup some extra environment variables:
42+
1. setup extra environment variables:
4343

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

101101
{{< text bash >}}
102-
$ sudo mkdir -p /etc/istio/config
102+
$ sudo mkdir /etc/istio
103+
$ sudo ln -s /var/lib/istio /etc/istio
104+
$ sudo mkdir /etc/istio/config
103105
$ sudo cp "${HOME}"/mesh.yaml /etc/istio/config/mesh
104106
{{< /text >}}
105107

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

108114
{{< text bash >}}
109115
$ sudo sh -c 'cat $(eval echo ~$SUDO_USER)/hosts >> /etc/hosts'
110116
{{< /text >}}
111117

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

114120
{{< text bash >}}
115121
$ sudo mkdir -p /etc/istio/proxy
@@ -157,7 +163,7 @@ Run the following commands on the virtual machine:
157163
{{< /text >}}
158164

159165
{{< 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.
166+
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).
161167
{{< /warning >}}
162168

163169
1. Start the Istio-proxy container:
@@ -219,6 +225,5 @@ Run the following commands on the virtual machine:
219225
{{< /text >}}
220226

221227
{{< 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.
228+
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.
224229
{{< /idea >}}

0 commit comments

Comments
 (0)