-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OSDOCS#9001: Adding vSphere credentials to Agent #70551
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
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 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -2603,17 +2603,24 @@ Valid names include: | |||||||||
| -- | ||||||||||
| endif::ibm-cloud[] | ||||||||||
|
|
||||||||||
| ifdef::vsphere[] | ||||||||||
|
|
||||||||||
| ifdef::agent,vsphere[] | ||||||||||
|
Contributor
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. I'm not sure I understand why you opened this ifdef here and then also on line 2616. I think my question is do you need line 2616? Just checking/learning: is it because you close this opening one down on line 2958?
Contributor
Author
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. So technically this ifdef and the one on line 2616 are different because they check for slightly different conditions. This ifdef, which is closed on line 2958, basically says "Rule # 1: all of the content within these lines can be included if The ifdef on line 2616 (which closes on line 2622) is basically treated like an exception to that TLDR the ifdef on line 2606 makes a general rule and the ifdefs like the ones on lines 2616 and 2623 make exceptions to that rule in order to be more specific
Contributor
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. I'm picking it up now. There just may be hope for me yet 😄 . Merging |
||||||||||
| [id="installation-configuration-parameters-additional-vsphere_{context}"] | ||||||||||
| == Additional VMware vSphere configuration parameters | ||||||||||
|
|
||||||||||
| Additional VMware vSphere configuration parameters are described in the following table: | ||||||||||
|
|
||||||||||
| .Additional VMware vSphere cluster parameters | ||||||||||
| [cols=".^2l,.^4,.^2",options="header,word-wrap",subs="+quotes,+attributes"] | ||||||||||
| [cols=".^2l,.^3a,.^3",options="header,word-wrap",subs="+quotes,+attributes"] | ||||||||||
| |==== | ||||||||||
| |Parameter|Description|Values | ||||||||||
| ifdef::agent[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| | Describes your account on the cloud platform that hosts your cluster. You can use the parameter to customize the platform. If you provide additional configuration settings for compute and control plane machines in the machine pool, the parameter is not required. You can only specify one vCenter server for your {product-title} cluster. | ||||||||||
| |A dictionary of vSphere configuration objects | ||||||||||
| endif::agent[] | ||||||||||
| ifdef::vsphere[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
|
|
@@ -2634,6 +2641,29 @@ Additional VMware vSphere configuration parameters are described in the followin | |||||||||
| failureDomains: | ||||||||||
| |Establishes the relationships between a region and zone. You define a failure domain by using vCenter objects, such as a `datastore` object. A failure domain defines the vCenter location for {product-title} cluster nodes. | ||||||||||
| |String | ||||||||||
| endif::vsphere[] | ||||||||||
| ifdef::agent[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| failureDomains: | ||||||||||
| |Establishes the relationships between a region and zone. You define a failure domain by using vCenter objects, such as a `datastore` object. A failure domain defines the vCenter location for {product-title} cluster nodes. | ||||||||||
| |An array of failure domain configuration objects. | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| failureDomains: | ||||||||||
| name: | ||||||||||
| |The name of the failure domain. | ||||||||||
| |String | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| failureDomains: | ||||||||||
| server: | ||||||||||
| |The fully qualified domain name (FQDN) of the vCenter server. | ||||||||||
| |An FQDN such as example.com | ||||||||||
| endif::agent[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
|
|
@@ -2642,6 +2672,65 @@ Additional VMware vSphere configuration parameters are described in the followin | |||||||||
| networks: | ||||||||||
| |Lists any network in the vCenter instance that contains the virtual IP addresses and DNS records that you configured. | ||||||||||
| |String | ||||||||||
| ifdef::agent[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| failureDomains: | ||||||||||
| topology: | ||||||||||
| computeCluster: | ||||||||||
| |The path to the vSphere compute cluster. | ||||||||||
| |String | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| failureDomains: | ||||||||||
| topology: | ||||||||||
| datacenter: | ||||||||||
| |Lists and defines the datacenters where {product-title} virtual machines (VMs) operate. | ||||||||||
| The list of datacenters must match the list of datacenters specified in the `vcenters` field. | ||||||||||
| |String | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| failureDomains: | ||||||||||
| topology: | ||||||||||
| datastore: | ||||||||||
| |The path to the vSphere datastore that holds virtual machine files, templates, and ISO images. | ||||||||||
| [IMPORTANT] | ||||||||||
| ==== | ||||||||||
| You can specify the path of any datastore that exists in a datastore cluster. | ||||||||||
| By default, Storage vMotion is automatically enabled for a datastore cluster. | ||||||||||
| Red{nbsp}Hat does not support Storage vMotion, so you must disable Storage vMotion to avoid data loss issues for your {product-title} cluster. | ||||||||||
|
|
||||||||||
| If you must specify VMs across multiple datastores, use a `datastore` object to specify a failure domain in your cluster's `install-config.yaml` configuration file. | ||||||||||
| For more information, see "VMware vSphere region and zone enablement". | ||||||||||
| ==== | ||||||||||
| |String | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| failureDomains: | ||||||||||
| topology: | ||||||||||
| resourcePool: | ||||||||||
| // When this content is added to vSphere docs, the line below should likely say "where the installation program creates the virtual machines". | ||||||||||
| |Optional: The absolute path of an existing resource pool where the user creates the virtual machines, for example, `/<datacenter_name>/host/<cluster_name>/Resources/<resource_pool_name>/<optional_nested_resource_pool_name>`. | ||||||||||
| // Commenting out the line below because it doesn't apply to Agent, but it may be needed when this content is brought into the regular vSphere docs. | ||||||||||
| // If you do not specify a value, resources are installed in the root of the cluster, for example `/example_datacenter/host/example_cluster/Resources`. | ||||||||||
| |String | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| failureDomains: | ||||||||||
| topology: | ||||||||||
| folder: | ||||||||||
| // When this content is added to vSphere docs, the line below should likely say "where the installation program creates the virtual machines", and should be Optional. | ||||||||||
| |The absolute path of an existing folder where the user creates the virtual machines, for example, `/<datacenter_name>/vm/<folder_name>/<subfolder_name>`. | ||||||||||
| // Commenting out the two lines below because they don't apply to Agent, but they may be needed when this content is brought into the regular vSphere docs. | ||||||||||
| // If you do not provide this value, the installation program creates a top-level folder in the datacenter virtual machine folder that is named with the infrastructure ID. | ||||||||||
| // If you are providing the infrastructure for the cluster and you do not want to use the default `StorageClass` object, named `thin`, you can omit the `folder` parameter from the `install-config.yaml` file. | ||||||||||
| |String | ||||||||||
| endif::agent[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
|
|
@@ -2663,6 +2752,7 @@ Additional VMware vSphere configuration parameters are described in the followin | |||||||||
| template: | ||||||||||
| |Specify the absolute path to a pre-existing {op-system-first} image template or virtual machine. The installation program can use the image template or virtual machine to quickly install {op-system} on vSphere hosts. Consider using this parameter as an alternative to uploading an {op-system} image on vSphere hosts. The parameter is available for use only on installer-provisioned infrastructure. | ||||||||||
| |String | ||||||||||
| ifdef::vsphere[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
|
|
@@ -2682,13 +2772,53 @@ Additional VMware vSphere configuration parameters are described in the followin | |||||||||
| vcenters: | ||||||||||
| |Lists any fully-qualified hostname or IP address of a vCenter server. | ||||||||||
| |String | ||||||||||
| endif::vsphere[] | ||||||||||
| ifdef::agent[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| vcenters: | ||||||||||
| |Configures the connection details so that services can communicate with vCenter. | ||||||||||
| Currently, only a single vCenter is supported. | ||||||||||
| |An array of vCenter configuration objects. | ||||||||||
| endif::agent[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| vcenters: | ||||||||||
| datacenters: | ||||||||||
| |Lists and defines the datacenters where {product-title} virtual machines (VMs) operate. The list of datacenters must match the list of datacenters specified in the `failureDomains` field. | ||||||||||
| |String | ||||||||||
| ifdef::agent[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| vcenters: | ||||||||||
| password: | ||||||||||
|
Contributor
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. each vCenter is a separate entry in the vcenters slice. this allows multiple vCenters to be defined potentially(though its not supported at the moment).
Suggested change
Contributor
Author
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. That makes total sense. Each param is depicted this way because the install writers changed the old config format in the reference tables (e.g. For example, for the compute section of the install-config, instead of documenting |
||||||||||
| |The password associated with the vSphere user. | ||||||||||
| |String | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| vcenters: | ||||||||||
| port: | ||||||||||
| |The port number used to communicate with the vCenter server. | ||||||||||
| |Integer | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| vcenters: | ||||||||||
| server: | ||||||||||
| |The fully qualified host name (FQHN) or IP address of the vCenter server. | ||||||||||
| |String | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| vcenters: | ||||||||||
| user: | ||||||||||
| |The username associated with the vSphere user. | ||||||||||
| |String | ||||||||||
| endif::agent[] | ||||||||||
| |==== | ||||||||||
|
|
||||||||||
| [id="deprecated-parameters-vsphere_{context}"] | ||||||||||
|
|
@@ -2702,6 +2832,7 @@ The following table lists each deprecated vSphere configuration parameter: | |||||||||
| [cols=".^2l,.^4,.^2",options="header,word-wrap",subs="+quotes,+attributes"] | ||||||||||
| |==== | ||||||||||
| |Parameter|Description|Values | ||||||||||
| ifdef::vsphere[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
|
|
@@ -2710,6 +2841,7 @@ The following table lists each deprecated vSphere configuration parameter: | |||||||||
|
|
||||||||||
| *Note:* In {product-title} 4.12 and later, the `apiVIP` configuration setting is deprecated. Instead, use a `List` format to enter a value in the `apiVIPs` configuration setting. | ||||||||||
| a|An IP address, for example `128.0.0.1`. | ||||||||||
| endif::vsphere[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
|
|
@@ -2735,6 +2867,8 @@ a|An IP address, for example `128.0.0.1`. | |||||||||
| |Optional. The absolute path of an existing folder where the installation program creates the virtual machines. If you do not provide this value, the installation program creates a folder that is named with the infrastructure ID in the data center virtual machine folder. | ||||||||||
| |String, for example, `/<datacenter_name>/vm/<folder_name>/<subfolder_name>`. | ||||||||||
|
|
||||||||||
| ifdef::vsphere[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
| ingressVIP: | ||||||||||
|
|
@@ -2748,6 +2882,7 @@ a|An IP address, for example `128.0.0.1`. | |||||||||
| network: | ||||||||||
| |The network in the vCenter instance that contains the virtual IP addresses and DNS records that you configured. | ||||||||||
| |String | ||||||||||
| endif::vsphere[] | ||||||||||
|
|
||||||||||
| |platform: | ||||||||||
| vsphere: | ||||||||||
|
|
@@ -2777,6 +2912,7 @@ in vSphere. | |||||||||
| |String | ||||||||||
| |==== | ||||||||||
|
|
||||||||||
| ifdef::vsphere[] | ||||||||||
| [id="installation-configuration-parameters-optional-vsphere_{context}"] | ||||||||||
| == Optional VMware vSphere machine pool configuration parameters | ||||||||||
|
|
||||||||||
|
|
@@ -2819,6 +2955,7 @@ Optional VMware vSphere machine pool configuration parameters are described in t | |||||||||
| |Integer | ||||||||||
| |==== | ||||||||||
| endif::vsphere[] | ||||||||||
| endif::agent,vsphere[] | ||||||||||
|
|
||||||||||
| ifdef::ash[] | ||||||||||
| [id="installation-configuration-parameters-additional-azure-stack-hub_{context}"] | ||||||||||
|
|
||||||||||
Uh oh!
There was an error while loading. Please reload this page.
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 used the following logic to selectively include existing vSphere config parameters in the Agent docs: