mirror of https://github.com/status-im/consul.git
Added guideLinks prop for UseCaseLayout component and linked terminating gateways guide from documentation. (#7998)
This commit is contained in:
parent
80c34f0461
commit
9795b19e27
|
@ -4,7 +4,12 @@ import ConsulEnterpriseComparison from '../../components/enterprise-comparison/c
|
|||
import Head from 'next/head'
|
||||
import HashiHead from '@hashicorp/react-head'
|
||||
|
||||
export default function UseCaseLayout({ title, description, children }) {
|
||||
export default function UseCaseLayout({
|
||||
title,
|
||||
description,
|
||||
guideLink,
|
||||
children,
|
||||
}) {
|
||||
const pageTitle = `Consul ${title}`
|
||||
return (
|
||||
<>
|
||||
|
@ -20,7 +25,7 @@ export default function UseCaseLayout({ title, description, children }) {
|
|||
links={[
|
||||
{
|
||||
text: 'Explore HashiCorp Learn',
|
||||
url: 'https://learn.hashicorp.com/consul',
|
||||
url: guideLink,
|
||||
type: 'outbound',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -19,6 +19,9 @@ and forward requests to the appropriate destination.
|
|||
|
||||
![Terminating Gateway Architecture](/img/terminating-gateways.png)
|
||||
|
||||
For a complete example of how to enable connections from services in the Consul service mesh to
|
||||
services outside the mesh, review the [terminating gateway guide](https://learn.hashicorp.com/consul/developer-mesh/terminating-gateways).
|
||||
|
||||
~> **Beta limitations:** Terminating Gateways currently do not support targeting service subsets with
|
||||
[L7 configuration](/docs/connect/l7-traffic-management). They route to all instances of a service with no capabilities
|
||||
for filtering by instance. Terminating Gateways also currently do not support routing to services with a hostname
|
||||
|
@ -75,6 +78,7 @@ You must complete the following steps to configure a terminating gateway to prox
|
|||
|
||||
1. On a host with a Consul client agent, start an Envoy proxy using the [envoy subcommand](/docs/commands/connect/envoy#terminating-gateways) and
|
||||
specifying the `terminating` gateway type:
|
||||
|
||||
```shell
|
||||
$ consul connect envoy -gateway=terminating -register -service us-west-gateway \
|
||||
-address '{{ GetInterfaceIP "eth0" }}:8443'
|
||||
|
|
|
@ -7,6 +7,7 @@ export default function MultiPlatformServiceMeshPage() {
|
|||
<UseCaseLayout
|
||||
title="Multi-Platform Service Mesh"
|
||||
description="Create a consistent platform for modern application networking and security with identity based authorization, L7 traffic management, and service-to-service encryption."
|
||||
guideLink="https://learn.hashicorp.com/consul/gs-consul-service-mesh/understand-consul-service-mesh"
|
||||
>
|
||||
<TextSplitWithImage
|
||||
textSplit={{
|
||||
|
|
|
@ -6,6 +6,7 @@ export default function NetworkMiddlewareAutomationPage() {
|
|||
<UseCaseLayout
|
||||
title="Network Middleware Automation"
|
||||
description="Reduce the time to deploy applications and eliminate manual processes by automating complex networking tasks. Enable operators to easily deploy, manage and optimize network middleware."
|
||||
guideLink="https://learn.hashicorp.com/consul?track=integrations"
|
||||
>
|
||||
<TextSplitWithImage
|
||||
textSplit={{
|
||||
|
|
|
@ -8,6 +8,7 @@ export default function ServiceDiscoveryAndHealthCheckingPage() {
|
|||
<UseCaseLayout
|
||||
title="Service Discovery and Health Checking"
|
||||
description="Discover, Register and Resolve services for application workloads across any cloud. Automatically add and remove services based on health checking."
|
||||
guideLink="https://learn.hashicorp.com/consul/getting-started/services#update-services"
|
||||
>
|
||||
<TextSplitWithImage
|
||||
textSplit={{
|
||||
|
|
Loading…
Reference in New Issue