-
Notifications
You must be signed in to change notification settings - Fork 353
docs(README): update to modern targetRef policies #15562
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
Draft
Automaat
wants to merge
1
commit into
master
Choose a base branch
from
docs/update-readme-modern-policies
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -68,27 +68,32 @@ Below is an example of using Kuma's attributes to route all traffic generated by | |
|
|
||
| ```yaml | ||
| apiVersion: kuma.io/v1alpha1 | ||
| kind: TrafficRoute | ||
| kind: MeshHTTPRoute | ||
| mesh: default | ||
| metadata: | ||
| name: ch-pci-compliance | ||
| spec: | ||
| sources: | ||
| - match: | ||
| kuma.io/service: '*' | ||
| kuma.io/zone: 'CH' | ||
| PCI: true | ||
| destinations: | ||
| - match: | ||
| kuma.io/service: '*' | ||
| conf: | ||
| loadBalancer: | ||
| roundRobin: {} | ||
| split: | ||
| - weight: 100 | ||
| destination: | ||
| kuma.io/service: '*' | ||
| kuma.io/zone: 'CH' | ||
| targetRef: | ||
| kind: MeshSubset | ||
| tags: | ||
| kuma.io/zone: CH | ||
| PCI: "true" | ||
| to: | ||
| - targetRef: | ||
| kind: MeshService | ||
| name: backend | ||
|
Contributor
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. Can't use just |
||
| rules: | ||
| - matches: | ||
| - path: | ||
| type: PathPrefix | ||
| value: / | ||
| default: | ||
| backendRefs: | ||
| - kind: MeshServiceSubset | ||
|
Contributor
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. also deprecated |
||
| name: backend | ||
| tags: | ||
| kuma.io/zone: CH | ||
| weight: 100 | ||
| ``` | ||
|
|
||
| The above example can also be applied on virtual machines via the built-in `kumactl` CLI. | ||
|
|
@@ -109,13 +114,13 @@ With Kuma, our application teams can stop building connectivity management code | |
| * **mTLS**: Automatic mTLS issuing, identity and encryption with optional support for third-party CA. | ||
| * **TLS Rotation**: Automatic certificate rotation for all the data planes, with configurable settings. | ||
| * **Internal & External Services**: Aggregation of internal services and support for services outside the mesh. | ||
| * **Traffic Permissions**: To firewall traffic between the services of a Mesh. | ||
| * **Traffic Routing**: With dynamic load-balancing for blue/green, canary, versioning and rollback deployments. | ||
| * **Fault Injection**: To harden our systems by injecting controlled artificial faults and observe the behavior. | ||
| * **Traffic Logs**: To log all the activity to a third-party service, like Splunk or ELK. | ||
| * **Traffic Tracing**: To observe the full trace of the service traffic and determine bottlenecks. | ||
| * **Traffic Metrics**: For every Envoy dataplane managed by Kuma with native Prometheus/Grafana support. | ||
| * **Retries**: To improve application reliability by automatically retrying requests. | ||
| * **MeshTrafficPermission**: To firewall traffic between services with zero-trust security. | ||
| * **MeshHTTPRoute & MeshTCPRoute**: With dynamic load-balancing for blue/green, canary, versioning and rollback deployments. | ||
| * **MeshFaultInjection**: To harden systems by injecting controlled artificial faults and observe behavior. | ||
| * **MeshAccessLog**: To log all activity to third-party services, like Splunk or ELK. | ||
| * **MeshTrace**: To observe the full trace of service traffic and determine bottlenecks. | ||
| * **MeshMetric**: For every Envoy dataplane managed by Kuma with native Prometheus/Grafana support. | ||
| * **MeshRetry**: To improve application reliability by automatically retrying requests. | ||
| * **Proxy Configuration Templating**: The easiest way to run and configure Envoy with low-level configuration. | ||
| * **Gateway Support**: To support any API Gateway or Ingress, like [Kong Gateway](https://github.com/Kong/kong). | ||
| * **Healthchecks**: Both active and passive. | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
MeshSubset is already deprecated :)