-
Notifications
You must be signed in to change notification settings - Fork 1
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
GW Entity Targets #178
GW Entity Targets #178
Conversation
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
app/_gateway_entities/target.md
Outdated
## Set up a Target | ||
|
||
{% entity_example %} | ||
type: target |
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.
type: target | |
type: target | |
data: | |
target: httpbun.com:80 | |
weight: 100 | |
This should be just one target
app/_gateway_entities/target.md
Outdated
- target: httpbun.com:80 | ||
weight: 100 | ||
- target: httpbin.konghq.com:80 | ||
weight: 100 |
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 need to add the instructions here
app/_gateway_entities/target.md
Outdated
style id1 rx:10,ry:10 | ||
style id2 stroke:none |
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 can remove these lines
app/_gateway_entities/target.md
Outdated
|
||
## Use cases for targets | ||
subgraph id2 ["`Targets (example_upstream)`"] |
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.
subgraph id2 ["`Targets (example_upstream)`"] | |
subgraph id2 ["`Targets`"] |
This is a known issue, I would say let's remove the extra text for now
app/_gateway_entities/target.md
Outdated
## What is a target? | ||
## What is a Target? | ||
|
||
{{page.description}} Each [Upstream](/gateway/entities/upstream/) can have many Targets. Targets are used by Upstreams for load balancing. For example, if you have an `example_upstream` Upstream, you can point it to two different Targets: `httpbin.konghq.com` and `httpbun.com`. This is so that if one of the servers (like `httpbin.konghq.com`) is unavailable, it automatically detects the problem and routes all traffic to the working server (`httpbun.com`). |
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.
Can we write a full sentence instead of including the description? It might change in the future and I wouldn't expect it to affect the first paragraph
Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
Preview Links
Pulled from here
#168
Checklist