Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few clarifications, add revision #15082

Open
wants to merge 52 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
fe1b6a0
Add revision and a note on automatic gateways
costinm May 9, 2024
e71b918
update
costinm May 9, 2024
fd9121b
update snip_id
costinm May 9, 2024
7c8e4b2
make gen works after merge
costinm May 12, 2024
4d62359
Few clarifications on policy
costinm May 12, 2024
f2ba20c
Few more clarifications
costinm May 14, 2024
a4a47c8
bump api and istio refs (#15084)
dhawton May 14, 2024
6ef147b
Copy edits for ambient blog (#15074)
craigbox May 14, 2024
c5f10f3
Fix some typos in 1.22 change notes (#15077)
MorrisLaw May 14, 2024
8b1c8b2
remove missed ambient alpha warnings (#15087)
dhawton May 14, 2024
b606e54
remove opencensus docs (#15088)
dhawton May 14, 2024
085abd3
Updates integrations/certmanager doc page with tips for issuer and ac…
maig123 May 14, 2024
d842baa
fix link alias (#15092)
zirain May 15, 2024
c6de1a4
Translate Ambient troubleshoot ztunnel doc into Chinese (#15064)
wilsonwu May 15, 2024
e940c38
[zh] Translate Ambient L4 policy usage doc into Chinese (#15065)
wilsonwu May 15, 2024
401a751
Automator: update istio.io@ reference docs (#15094)
istio-testing May 15, 2024
63293d3
Translate Ambient L7 feature doc into Chinese (#15067)
wilsonwu May 15, 2024
8eaa761
added link for quick start in spire (#15085)
visheshtha May 15, 2024
03a7117
Sync Ambient overview and remove ztunnel docs into Chinese (#15095)
wilsonwu May 15, 2024
f818d5e
[zh] Translate Ambient add workload doc into Chinese (#15080)
wilsonwu May 15, 2024
00b2698
Wasm Configuration for Ambient Mode (#15041)
adilmp1 May 15, 2024
6bd988d
[zh] Sync the latest Ambient HBONE and traffic redirection docs into …
wilsonwu May 15, 2024
664efe0
[zh] Translate Gateway API Mesh stable blog into Chinese (#15076)
wilsonwu May 15, 2024
4f69f26
[zh] Translate Ambient beta blog into Chinese (#15078)
wilsonwu May 15, 2024
01959f3
[zh] Translate 1.22 change note into Chinese (#15098)
wilsonwu May 15, 2024
a0993e6
Fix links in ambient usage and architecture docs (#15100)
windsonsea May 15, 2024
deeea0a
[zh] Translate 1.22 release announcement into Chinese (#15101)
wilsonwu May 15, 2024
806999e
Sync 1.22 upgrade note with #15083 #15085 update into Chinese (#15105)
wilsonwu May 15, 2024
8aa094a
Sync #15088 remove OpenCensus into Chinese (#15106)
wilsonwu May 15, 2024
4eb5702
[zh] Translate ambient/usage/extend-waypoint-wasm/ (#15099)
windsonsea May 15, 2024
82a731a
[zh] Translate ambient/usage/troubleshoot-waypoint/ (#15102)
windsonsea May 15, 2024
9db9c29
[zh] improve production-testing (#15107)
my-git9 May 15, 2024
38be40d
Add note about `RunAs` fields in Customizing Injection section (#15108)
jwendell May 15, 2024
ec91973
Link to wasm document from layer 7 features (#15110)
adilmp1 May 15, 2024
8bac819
Automator: update common-files@master in istio/istio.io@master (#15120)
istio-testing May 15, 2024
8534881
Automator: update common-files@master in istio/istio.io@master (#15122)
istio-testing May 15, 2024
c25f6f5
Add a note about init containers and OpenShift (#15117)
jwendell May 16, 2024
7719080
Wasm Configuration for Ambient Mode - Test (#15118)
adilmp1 May 16, 2024
95b40e8
Update Istio documentation to reflect stable Kubernetes Gateway API s…
adilmp1 May 16, 2024
ff0fd3d
Updated heading in Wasm documentation for ambient mode to correctly r…
adilmp1 May 16, 2024
fdd3434
[zh] Sync #15110 link Wasm doc from L7 feature into Chinese (#15124)
wilsonwu May 16, 2024
e8862ec
Sync #15108 ddd note about `RunAs` fields in Customizing Injection se…
wilsonwu May 16, 2024
e453c94
Sync #15117 note about init containers and OpenShift into Chinese (#1…
wilsonwu May 16, 2024
6d2e4db
Sync #15103 #15118 into Chinese (#15130)
wilsonwu May 16, 2024
6d23937
fix text field (#15138)
ilrudie May 16, 2024
d3642b5
Sync ambient/usage/l4-policy/ with #15138 (#15140)
windsonsea May 17, 2024
6f11642
Sync #15132 Wasm config fix into Chinese (#15135)
wilsonwu May 17, 2024
0f976ff
[zh] sync /docs/tasks/traffic-management/egress/egress-gateway (#15145)
virtualss May 20, 2024
71ef8c5
[zh] Remove ztunnel docs from ambient/usage (#15149)
windsonsea May 20, 2024
89bbd1c
update hugo to v0.126.1 (#15147)
Arhell May 20, 2024
1bd2c07
Remove extra space.
costinm May 20, 2024
90dae5e
Merge branch 'istio:master' into costin-docs
costinm May 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions content/en/docs/ambient/install/helm-installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ configures the proxies to route traffic within the mesh.
$ helm install istiod istio/istiod --namespace istio-system --set profile=ambient --wait
{{< /text >}}

You can also install Istiod with a specific revision, allowing multiple installs for safe upgrade and config canary.
This should also be used if you have a 'default' istiod already installed.

{{< text syntax=bash snip_id=install_discovery_revision >}}
$ helm install istiod istio/istiod --namespace istio-system --set profile=ambient --set revision=ambient --wait
{{< /text >}}

### Install the ztunnel component

The `ztunnel` chart installs the ztunnel DaemonSet, which is the node proxy component of Istio's ambient mode.
Expand All @@ -64,6 +71,12 @@ The `ztunnel` chart installs the ztunnel DaemonSet, which is the node proxy comp
$ helm install ztunnel istio/ztunnel -n istio-system --wait
{{< /text >}}

For using ztunnel with a specific revision of Istiod:

{{< text syntax=bash snip_id=install_ztunnel_revision >}}
$ helm install ztunnel istio/ztunnel -n istio-system --set revision=ambient --wait
{{< /text >}}

### Install an ingress gateway (optional)

To install an ingress gateway, run the command below:
Expand All @@ -74,6 +87,8 @@ $ helm install istio-ingress istio/gateway -n istio-ingress --create-namespace -

If your Kubernetes cluster doesn't support the `LoadBalancer` service type (`type: LoadBalancer`) with a proper external IP assigned, run the above command without the `--wait` parameter to avoid the infinite wait. See [Installing Gateways](/docs/setup/additional-setup/gateway/) for in-depth documentation on gateway installation.

You can use the [K8S Gateway](/docs/tasks/traffic-management/ingress/gateway-api/) resource - Istiod will automatically create and remove the gateway deployment as needed.

## Configuration

To view supported configuration options and documentation, run:
Expand Down
8 changes: 8 additions & 0 deletions content/en/docs/ambient/install/helm-installation/snips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,18 @@ snip_install_discovery() {
helm install istiod istio/istiod --namespace istio-system --set profile=ambient --wait
}

snip_install_discovery_revision() {
helm install istiod istio/istiod --namespace istio-system --set profile=ambient --set revision=ambient --wait
}

snip_install_ztunnel() {
helm install ztunnel istio/ztunnel -n istio-system --wait
}

snip_install_ztunnel_revision() {
helm install ztunnel istio/ztunnel -n istio-system --set revision=ambient --wait
}

snip_install_ingress() {
helm install istio-ingress istio/gateway -n istio-ingress --create-namespace --wait
}
Expand Down
9 changes: 3 additions & 6 deletions content/en/docs/ambient/usage/add-workloads/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ For example, setting a `PeerAuthentication` policy with mTLS mode set to `STRICT

### Pods inside the mesh using sidecar mode

Istio supports East-West interoperability between a pod with a sidecar and a pod using ambient mode, within the same mesh. The sidecar proxy knows to use the HBONE protocol since the destination has been discovered to be an HBONE destination.
Istio supports interoperability between a pod with a sidecar and a pod using ambient mode, within the same mesh. The sidecar proxy knows to use the same protocol as the ambient nodes. The control plane for sidecars needs to be installed
with the `ambient` profile.

{{< tip >}}
For sidecar proxies to use the HBONE/mTLS signaling option when communicating with ambient destinations, they need to be configured with `ISTIO_META_ENABLE_HBONE` set to `true` in the proxy metadata. This is the default in `MeshConfig` when using the `ambient` profile, hence you do not have to do anything else when using this profile.
{{< /tip >}}

A `PeerAuthentication` policy with mTLS mode set to `STRICT` will allow traffic from a pod with an Istio sidecar proxy.
A `PeerAuthentication` policy with mTLS mode set to `STRICT` will allow traffic from a pod with an Istio sidecar proxy or from pods using ambient mode.

### Ingress and egress gateways and ambient mode pods

Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/ambient/usage/l4-policy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test: no

The layering of {{< gloss >}}ztunnel{{< /gloss >}} and {{< gloss >}}waypoint{{< /gloss >}} proxies in Istio's ambient mode gives you a choice on whether or not you want to enable Layer 7 (L7) processing for a given workload.

The Layer 4 (L4) features of Istio's [security policies](/docs/concepts/security) are supported by ztunnel, and are available in ambient mode. [Kubernetes Network Policies](https://kubernetes.io/docs/concepts/services-networking/network-policies/) also continue to work if your cluster has a {{< gloss >}}CNI{{< /gloss >}} plugin that supports them, and can be used to provide defense-in-depth.
The Layer 4 (L4) features of Istio's [security policies](/docs/concepts/security) are supported by ztunnel, and are available in ambient mode. [Kubernetes Network Policies](https://kubernetes.io/docs/concepts/services-networking/network-policies/) also continue to work if your cluster has a {{< gloss >}}CNI{{< /gloss >}} plugin that supports them, and can be used to provide defense-in-depth. When using Kubernetes Network Policies, an ambient workload receives traffic multiplexed on port 15008 from ambient client and waypoints.

To use L7 policies, and Istio's traffic routing features, you can [deploy a waypoint](/docs/ambient/usage/waypoint) for your workloads.

Expand Down Expand Up @@ -38,7 +38,7 @@ spec:
EOF
{{< /text >}}

The behavior of the L4 `AuthorizationPolicy` API has the same functional behavior in Istio ambient mode as in sidecar mode. When there is no `AuthorizationPolicy` provisioned, then the default action is `ALLOW`. Once a policy is provisioned, pods matching the selector in the policy only allow traffic which is explicitly allowed. In this example, pods with the label `app: httpbin` only allow traffic from sources with an identity principal of `cluster.local/ns/ambient-demo/sa/sleep`. Traffic from all other sources will be denied.
The behavior of the L4 `AuthorizationPolicy` API has the same functional behavior in Istio ambient mode as in sidecar mode. When there is no `AuthorizationPolicy` provisioned, then the default action is `ALLOW`. Once a policy is provisioned, pods matching the selector in the policy only allow traffic which is explicitly allowed. In this example, pods with the label `app: httpbin` only allow traffic from sources with an identity principal of `cluster.local/ns/ambient-demo/sa/sleep`. Traffic from all other sources, including non-ambient clients will be denied.

### Layer 7 authorization policies without waypoints installed

Expand Down