-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OSDOCS-16614: Documented VIP optional with user-managed LB feature #104065
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: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * installing/installing_bare_metal/upi/installing-bare-metal-network-customizations.adoc | ||
| // * installing/installing_bare_metal/upi/installing-bare-metal.adoc | ||
| // * installing/installing_bare_metal/upi/installing-restricted-networks-bare-metal.adoc | ||
|
|
||
| :_mod-docs-content-type: CONCEPT | ||
| [id="installation-bare-metal-dns-record-type_{context}"] | ||
| = Configuring the DnsRecordsType parameter | ||
|
|
||
| [role="_abstract"] | ||
| You can use the `DnsRecordsType` parameter in your `infrastructure.config.openshift.io` custom resource (CR) to set if the internal DNS service or an external source provides the necessary records for `api`, `api-int`, and `ingress` DNS records. | ||
|
|
||
| :FeatureName: Configuring the DnsRecordsType parameter | ||
| include::snippets/technology-preview.adoc[] | ||
|
|
||
| To use the parameter, you must enable the `OnPremDNSRecords` feature gate in the `config.yaml` file. | ||
|
Member
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. The featuregate is part of the TechPreview featureset. There's no explicit enablement required. |
||
|
|
||
| The `dnsRecordsType` parameter supports the following values: | ||
|
|
||
| * `Internal`: The default value. Setting this value causes the cluster infrastructure to automatically create and maintain the necessary DNS records. | ||
| * `External`: You can use this value only if you set the `loadBalancer.type` parameter to `UserManaged`. The cluster does not manage the DNS records. You must manually configure DNS records on an external DNS server. | ||
|
|
||
| .Prerequisites | ||
|
Collaborator
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. 🤖 [error] AsciiDocDITA.BlockTitle: Block titles can only be assigned to examples, figures, and tables in DITA. |
||
|
|
||
| * You created DNS records, such as `api`, `api-int`, or `\*.apps`. | ||
| * You configured a user-managed load balancer for your cluster. | ||
| * If you intend on setting `dnsRecordsType.External` in the `infrastructure.config.openshift.io` CR , you must initially configure cluster nodes to use the specific external server for DNS resolution. | ||
|
|
||
| .Procedure | ||
|
Collaborator
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. 🤖 [error] AsciiDocDITA.BlockTitle: Block titles can only be assigned to examples, figures, and tables in DITA. |
||
|
|
||
| . Edit the `featuregate.config.openshift.io/cluster` CR and set the `featureSet.customNoUpgrade.enabled` parameter to the `OnPremDNSRecords` value: | ||
| + | ||
| [source,yaml] | ||
| ---- | ||
| apiVersion: config.openshift.io/v1 | ||
| kind: FeatureGate | ||
| metadata: | ||
| name: cluster | ||
| spec: | ||
| featureSet: CustomNoUpgrade | ||
| customNoUpgrade: | ||
| enabled: | ||
| - OnPremDNSRecords | ||
| # ... | ||
| ---- | ||
|
|
||
| * Edit your `infrastructure.config.openshift.io` CR by setting the `dnsRecordsType` parameter to the `External` value: | ||
| + | ||
| [source,yaml] | ||
| ---- | ||
| apiVersion: config.openshift.io/v1 | ||
| kind: Infrastructure | ||
| metadata: | ||
| name: cluster | ||
| spec: | ||
| platformSpec: | ||
| baremetal: | ||
| dnsRecordsType: External | ||
| # ... | ||
| ---- | ||
|
|
||
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.
This can't be configured via the CR. It can only be set at install time in install-config.yaml.