зеркало из https://github.com/Azure/ARO-RP.git
Optional platform settings that need to be present for updateClusterData
This commit is contained in:
Родитель
a30a30294c
Коммит
9dfb629f16
48
vendor/github.com/openshift/installer/pkg/types/azure/machinepool.go
сгенерированный
поставляемый
48
vendor/github.com/openshift/installer/pkg/types/azure/machinepool.go
сгенерированный
поставляемый
|
@ -24,6 +24,25 @@ type MachinePool struct {
|
|||
//
|
||||
// +optional
|
||||
OSDisk `json:"osDisk"`
|
||||
|
||||
// ultraSSDCapability defines if the instance should use Ultra SSD disks.
|
||||
//
|
||||
// +optional
|
||||
// +kubebuilder:validation:Enum=Enabled;Disabled
|
||||
UltraSSDCapability string `json:"ultraSSDCapability,omitempty"`
|
||||
|
||||
// VMNetworkingType specifies whether to enable accelerated networking.
|
||||
// Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, greatly improving its
|
||||
// networking performance.
|
||||
// eg. values: "Accelerated", "Basic"
|
||||
//
|
||||
// +kubebuilder:validation:Enum="Accelerated"; "Basic"
|
||||
// +optional
|
||||
VMNetworkingType string `json:"vmNetworkingType,omitempty"`
|
||||
|
||||
// OSImage defines the image to use for the OS.
|
||||
// +optional
|
||||
OSImage OSImage `json:"osImage,omitempty"`
|
||||
}
|
||||
|
||||
// OSDisk defines the disk for machines on Azure.
|
||||
|
@ -43,6 +62,23 @@ type OSDisk struct {
|
|||
// DiskEncryptionSetID is a resource ID of disk encryption set
|
||||
// +optional
|
||||
DiskEncryptionSetID string `json:"diskEncryptionSetId,omitempty"`
|
||||
|
||||
// DiskEncryptionSet defines a disk encryption set.
|
||||
//
|
||||
// +optional
|
||||
*DiskEncryptionSet `json:"diskEncryptionSet,omitempty"`
|
||||
}
|
||||
|
||||
// DiskEncryptionSet defines the configuration for a disk encryption set.
|
||||
type DiskEncryptionSet struct {
|
||||
// SubscriptionID defines the Azure subscription the disk encryption
|
||||
// set is in.
|
||||
SubscriptionID string `json:"subscriptionId,omitempty"`
|
||||
// ResourceGroup defines the Azure resource group used by the disk
|
||||
// encryption set.
|
||||
ResourceGroup string `json:"resourceGroup"`
|
||||
// Name is the name of the disk encryption set.
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
// DefaultDiskType holds the default Azure disk type used by the VMs.
|
||||
|
@ -78,3 +114,15 @@ func (a *MachinePool) Set(required *MachinePool) {
|
|||
a.OSDisk.DiskEncryptionSetID = required.OSDisk.DiskEncryptionSetID
|
||||
}
|
||||
}
|
||||
|
||||
// OSImage is the image to use for the OS of a machine.
|
||||
type OSImage struct {
|
||||
// Publisher is the publisher of the image.
|
||||
Publisher string `json:"publisher"`
|
||||
// Offer is the offer of the image.
|
||||
Offer string `json:"offer"`
|
||||
// SKU is the SKU of the image.
|
||||
SKU string `json:"sku"`
|
||||
// Version is the version of the image.
|
||||
Version string `json:"version"`
|
||||
}
|
||||
|
|
|
@ -154,6 +154,25 @@ type InstallConfig struct {
|
|||
// BootstrapInPlace is the configuration for installing a single node
|
||||
// with bootstrap in place installation.
|
||||
BootstrapInPlace *BootstrapInPlace `json:"bootstrapInPlace,omitempty"`
|
||||
|
||||
// Capabilities configures the installation of optional core cluster components.
|
||||
// +optional
|
||||
Capabilities *Capabilities `json:"capabilities,omitempty"`
|
||||
}
|
||||
|
||||
// Capabilities selects the managed set of optional, core cluster components.
|
||||
type Capabilities struct {
|
||||
// baselineCapabilitySet selects an initial set of
|
||||
// optional capabilities to enable, which can be extended via
|
||||
// additionalEnabledCapabilities. The default is vCurrent.
|
||||
// +optional
|
||||
BaselineCapabilitySet string `json:"baselineCapabilitySet,omitempty"`
|
||||
|
||||
// additionalEnabledCapabilities extends the set of managed
|
||||
// capabilities beyond the baseline defined in
|
||||
// baselineCapabilitySet. The default is an empty set.
|
||||
// +optional
|
||||
AdditionalEnabledCapabilities []string `json:"additionalEnabledCapabilities,omitempty"`
|
||||
}
|
||||
|
||||
// ClusterDomain returns the DNS domain that all records for a cluster must belong to.
|
||||
|
|
Загрузка…
Ссылка в новой задаче