-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OSDOCS-14552 greatly reducing Azure sample install config files #92943
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?
Conversation
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.
Just one suggestion, otherwise this looks good to me.
@bscott-rh: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
include::modules/installation-azure-confidential-vms.adoc[leveloffset=+2] | ||
|
||
include::modules/installation-azure-config-yaml.adoc[leveloffset=+2] | ||
include::modules/installation-azure-config-yaml-simple.adoc[leveloffset=+2] |
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.
Compared with 4.18 official doc, there is a dedicated section - Define the network and subnets for the VNet to install the cluster under the platform.azure field
to guide user to modify the install-config.yaml properly, but from the new version of preview doc, there are no such section, personally I think it is not very friendly to ready for users.
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.
Do you think that the sample install-config.yaml should contain the following parameters?
networkResourceGroupName: <vnet_resource_group>
virtualNetwork: <vnet>
controlPlaneSubnet: <control_plane_subnet>
computeSubnet: <compute_subnet>
I can add them if you think they're important, but I will not be adding descriptions to the parameters. This file is changing away from being a full description of all the parameters, towards being a simple example of what the install-config.yaml syntax looks like.
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.
I do not think we need to include the parameters in the sample install-config.yaml. But it is important for Existing vnet , currently users can not find out how to customized install-config.yaml in the doc of installing clusters in an existing vnet.
include::modules/installation-azure-confidential-vms.adoc[leveloffset=+2] | ||
|
||
include::modules/installation-azure-config-yaml.adoc[leveloffset=+2] | ||
include::modules/installation-azure-config-yaml-simple.adoc[leveloffset=+2] |
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.
Similar to https://github.com/openshift/openshift-docs/pull/92943/files#r2131397209, if we can have a dedicated section to guide users to set publish: Internal
in install-config.yaml for a private cluster install. That would be helpful.
include::modules/installation-azure-confidential-vms.adoc[leveloffset=+2] | ||
|
||
include::modules/installation-azure-config-yaml.adoc[leveloffset=+2] | ||
include::modules/installation-azure-config-yaml-simple.adoc[leveloffset=+2] |
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.
For installation in government region, platform.azure.cloudName
must be customized and set to AzureUSGovernmentCloud
, because default value is AzurePublicCloud
if it is not configured in install-config.yaml file.
The This is because your PR targets the If the update in your PR does NOT apply to version 4.20 onward, please re-target this PR to go directly into the appropriate version branch or branches (enterprise-4.x) instead of main. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Version(s):
4.19
Issue:
https://issues.redhat.com/browse/OSDOCS-14552
Link to docs preview:
Customizations
Government region
Network customizations
Private cluster
Existing vnet
Restricted network
QE review:
Problem statement:
The sample install-config.yaml file (aws for example) is:
Proposal:
Remove the existing sample file and replace it with a boilerplate minimum viable install-config.yaml file. Use the same file for all assemblies in a platform (or with the minimum possible variation between them, for example an extra parameter for the disconnected installation method) and ideally the same basic file for all platforms where possible. Remove all of the existing annotations/callouts and replace them with a short set of annotations that describe the structure and syntax of the file, rather than each individual parameter. Clearly indicate that this file is a minimum viable sample, and that all customizations should be made based on the Installation Configuration Parameters table, where all parameters are listed and described in great detail.