-
Notifications
You must be signed in to change notification settings - Fork 580
Add ambient mode caveats #3517
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
base: master
Are you sure you want to change the base?
Add ambient mode caveats #3517
Changes from 4 commits
da3290f
9026218
9eefa13
31b8e88
2b22d03
47ed1aa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -464,6 +464,9 @@ message ServiceEntry { | |||||||||
// 1. subjectAltNames: In addition to verifying the SANs of the | ||||||||||
// service accounts associated with the pods of the service, the | ||||||||||
// SANs specified here will also be verified. | ||||||||||
// | ||||||||||
// **NOTE 3:** Ambient mode does not support wildcard hostsnames. | ||||||||||
// | ||||||||||
// +kubebuilder:validation:MinItems=1 | ||||||||||
// +kubebuilder:validation:MaxItems=256 | ||||||||||
// +protoc-gen-crd:list-value-validation:XValidation:message="hostname cannot be wildcard",rule="self != '*'" | ||||||||||
|
@@ -595,6 +598,9 @@ message ServiceEntry { | |||||||||
// For a Kubernetes Service, the equivalent effect can be achieved by setting | ||||||||||
// the annotation "networking.istio.io/exportTo" to a comma-separated list | ||||||||||
// of namespace names. | ||||||||||
// | ||||||||||
// **Note:** Ambient mode does not support this field. Service entries will | ||||||||||
// be exported to all namespaces. | ||||||||||
|
// **Note:** Ambient mode does not support this field. Service entries will | |
// be exported to all namespaces. | |
// **Note:** In ambient mode, service entries are exported to all namespaces, | |
// and this field has no effect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@craigbox same question about ingress
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -21,8 +21,9 @@ syntax = "proto3"; | |||||
// $aliases: [/docs/reference/config/networking/v1alpha3/sidecar] | ||||||
|
||||||
// `Sidecar` describes the configuration of the sidecar proxy that mediates | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and possibly a "Note 4" that says "Sidecar configuration is not required in ambient mode."? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Its required in sidecar mode either. Its more like, it has no effect in ambient mode There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I so wish that this object had been named " |
||||||
// inbound and outbound communication to the workload instance it is attached to. By | ||||||
// default, Istio will program all sidecar proxies in the mesh with the | ||||||
// inbound and outbound communication to the workload instance it is attached to. | ||||||
// `Sidecar` only applies to Sidecar mode. | ||||||
|
// `Sidecar` only applies to Sidecar mode. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -57,6 +57,11 @@ syntax = "proto3"; | |||||||||||||||||
// The source of traffic can also be matched in a routing rule. This allows routing | ||||||||||||||||||
// to be customized for specific client contexts. | ||||||||||||||||||
// | ||||||||||||||||||
// *Note for Ambient Users*: Support for `VirtualService` in Ambient mode is alpha, and | ||||||||||||||||||
// there are no plans to increase support. | ||||||||||||||||||
// Use [Gateway API](https://istio.io/latest/docs/tasks/traffic-management/ingress/gateway-api/#mesh-traffic) | ||||||||||||||||||
// for a stable traffic management API. | ||||||||||||||||||
// | ||||||||||||||||||
|
// *Note for Ambient Users*: Support for `VirtualService` in Ambient mode is alpha, and | |
// there are no plans to increase support. | |
// Use [Gateway API](https://istio.io/latest/docs/tasks/traffic-management/ingress/gateway-api/#mesh-traffic) | |
// for a stable traffic management API. | |
// | |
// *Note for ambient mode users*: Waypoints are configured using Gateway API. [`VirtualService` is not supported for configuring waypoint traffic routing](https://istio.io/latest/docs/ambient/usage/l7-features/#virtualservice). | |
// Any use of VirtualService with waypoints is considered Alpha, and may be subject to change in future releases. | |
// Istio’s maintainers do not intend to remove this support, but will not be progressing it to [any further feature phase](https://istio.io/latest/docs/releases/feature-stages/). |
perhaps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about
// *Note for ambient mode users*: Waypoints should be configured Gateway API and
// any use of [VirtualService with waypoints is alpha](https://istio.io/latest/docs/ambient/usage/l7-features/#virtualservice).
// Istio’s maintainers do not intend to remove virtual service support, but will not be progressing it to [any further feature phase](https://istio.io/latest/docs/releases/feature-stages/).
I think "waypoints are configured using gateway api" is confusing since it suggests that they can only be configured using gwapi.
Similarly "Alpha, and may be subject to change in future releases" suggests that support could become beta, or even unsupport, however "but will not be progressing it to" suggests that it will be alpha forever (which is what we want to say)
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We say above that ambient mode doesn't support anything.
How about:
// **Note:** Ambient mode does not support this field. | |
// **Note:** This feature has no effect in ambient mode. |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. "support" is ambiguous
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about // **Note:** This field has no effect on Waypoint proxies
... mm still doesn't feel too great.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@craigbox I imagine we get into "this works for ingress but not ztunnel/waypoint" too right?