Repository navigation
docs(kaas): azDomains config #42
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
Open
florent1s
wants to merge
6
commits into
super-phenix:main
Choose a base branch
from
florent1s:feat-kaas-setup
base: main
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.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
ff0dca4
docs(kaas): azDomains config
florent1s 4000d82
fix(kaas): code example
florent1s 21c47ae
docs(kaas): add spx-cluster-info CM details
florent1s c65f3f6
docs(kaas): restructure
florent1s 93c0c52
docs(kaas): redirects, typo & limitations
florent1s ee2708d
docs(kaas): update cluster-info CM details
florent1s 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 |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # Initial setup | ||
|
|
||
| For the *Kubernetes as a service* system to function, you need to pick and configure 2 DNS entries on your DNS server | ||
| for each AZ and set those entries in your configuration file. You need to define those domains for every AZ that your | ||
| *superphenix-api* deployment controlls. | ||
|
|
||
| ```yaml | ||
| management: | ||
| systemConfiguration: | ||
| apps: | ||
| superphenix-api: | ||
| values: | ||
| config: | ||
| productsConfig: | ||
| argoApp: | ||
| kubernetes: | ||
| azDomains: | ||
| # add domains for all AZs which are controlled | ||
| # by this superphenix-api instance | ||
| local: | ||
|
florent1s marked this conversation as resolved.
Resolved
|
||
| external: "%s.kaas.local.example.org" | ||
| internal: "azs.my-region.example.org" | ||
| ``` | ||
|
|
||
| ## External domain | ||
|
|
||
| This *wildcard* domain serves to build the URLs used to talk to KaaS controlplanes. For each new cluster an ingress is created where the `%s` part is replaced by the cluster's ID. | ||
| The DNS record needs to point to the public IP of your AZ. | ||
|
|
||
| !!! tip "No DNS?" | ||
| Use **[nip.io](https://nip.io)** against your AZ's public IP, for example `%s.1.2.3.4.nip.io`. | ||
|
|
||
| If you only want to access controlplanes locally, you can use a local node IP, but beware of [current limitations](../../../operations/limitations.md#nat-gateway-traffic-to-its-host-node). | ||
|
|
||
| ## Internal domain | ||
|
|
||
| This domain is used by the kubernetes nodes to find their controlplane, even if the cluster was migrated to another AZ (in case of disaster recovery). The DNS record consists of a list containing | ||
| the public IPs of all AZs in your region. The internal proxy running on each KaaS node will check all listed AZs and forward requests to the one listening for the corresponding *external domain*. | ||
|
|
||
| !!! tip "No DNS?" | ||
| You can use **[nip.io](https://nip.io)** against your AZ's public IP, for example `local.1.2.3.4.nip.io`. | ||
|
coderabbitai[bot] marked this conversation as resolved.
Resolved
|
||
| Using a local node IP is also possible, but beware of [current limitations](../../../operations/limitations.md#nat-gateway-traffic-to-its-host-node). | ||
|
|
||
| If you have multiple AZ's, keep in mind that the disaster recovery function will not work in these configurations. | ||
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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.
Uh oh!
There was an error while loading. Please reload this page.