Documentation ¶
Index ¶
- func GenerateClusterAssets(installConfig *installconfig.InstallConfig, clusterID *installconfig.ClusterID) (*capiutils.GenerateClusterAssetsOutput, error)
- type CloudProviderConfig
- type ClusterCSIDriverConfig
- type MultipleStandardLoadBalancerConfiguration
- type MultipleStandardLoadBalancerConfigurationSpec
- type MultipleStandardLoadBalancerConfigurationStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateClusterAssets ¶ added in v0.9.153
func GenerateClusterAssets(installConfig *installconfig.InstallConfig, clusterID *installconfig.ClusterID) (*capiutils.GenerateClusterAssetsOutput, error)
GenerateClusterAssets generates the manifests for the cluster-api.
Types ¶
type CloudProviderConfig ¶
type CloudProviderConfig struct { CloudName azure.CloudEnvironment TenantID string SubscriptionID string ResourceGroupName string GroupLocation string ResourcePrefix string NetworkResourceGroupName string NetworkSecurityGroupName string VirtualNetworkName string SubnetName string ResourceManagerEndpoint string ARO bool }
CloudProviderConfig is the azure cloud provider config
func (CloudProviderConfig) JSON ¶
func (params CloudProviderConfig) JSON() (string, error)
JSON generates the cloud provider json config for the azure platform. managed resource names are matching the convention defined by capz
type ClusterCSIDriverConfig ¶
type ClusterCSIDriverConfig struct { SubscriptionID string ResourceGroupName string DiskEncryptionSetName string }
ClusterCSIDriverConfig is the Azure config for the cluster CSI driver.
func (ClusterCSIDriverConfig) YAML ¶
func (params ClusterCSIDriverConfig) YAML() ([]byte, error)
YAML generates the cluster CSI driver config for the Azure platform.
type MultipleStandardLoadBalancerConfiguration ¶ added in v0.9.153
type MultipleStandardLoadBalancerConfiguration struct { // Name of the public load balancer. There will be an internal load balancer // created if needed, and the name will be `<name>-internal`. The internal lb // shares the same configurations as the external one. The internal lbs // are not needed to be included in `MultipleStandardLoadBalancerConfigurations`. // There must be a name of "<clustername>" in the load balancer configuration list. Name string `json:"name" yaml:"name"` MultipleStandardLoadBalancerConfigurationSpec MultipleStandardLoadBalancerConfigurationStatus }
MultipleStandardLoadBalancerConfiguration stores the properties regarding multiple standard load balancers.
type MultipleStandardLoadBalancerConfigurationSpec ¶ added in v0.9.153
type MultipleStandardLoadBalancerConfigurationSpec struct { // This load balancer can have services placed on it. Defaults to true, // can be set to false to drain and eventually remove a load balancer. // This only affects services that will be using the LB. For services // that is currently using the LB, they will not be affected. AllowServicePlacement *bool `json:"allowServicePlacement" yaml:"allowServicePlacement"` // A string value that must specify the name of an existing vmSet. // All nodes in the given vmSet will always be added to this load balancer. // A vmSet can only be the primary vmSet for a single load balancer. PrimaryVMSet string `json:"primaryVMSet" yaml:"primaryVMSet"` // Services that must match this selector can be placed on this load balancer. If not supplied, // services with any labels can be created on the load balancer. ServiceLabelSelector *metav1.LabelSelector `json:"serviceLabelSelector" yaml:"serviceLabelSelector"` // Services created in namespaces with the supplied label will be allowed to select that load balancer. // If not supplied, services created in any namespaces can be created on that load balancer. ServiceNamespaceSelector *metav1.LabelSelector `json:"serviceNamespaceSelector" yaml:"serviceNamespaceSelector"` // Nodes matching this selector will be preferentially added to the load balancers that // they match selectors for. NodeSelector does not override primaryAgentPool for node allocation. NodeSelector *metav1.LabelSelector `json:"nodeSelector" yaml:"nodeSelector"` }
MultipleStandardLoadBalancerConfigurationSpec stores the properties regarding multiple standard load balancers.
type MultipleStandardLoadBalancerConfigurationStatus ¶ added in v0.9.153
type MultipleStandardLoadBalancerConfigurationStatus struct { // ActiveServices stores the services that are supposed to use the load balancer. ActiveServices sets.Set[string] `json:"activeServices" yaml:"activeServices"` // ActiveNodes stores the nodes that are supposed to be in the load balancer. // It will be used in EnsureHostsInPool to make sure the given ones are in the backend pool. ActiveNodes sets.Set[string] `json:"activeNodes" yaml:"activeNodes"` }
MultipleStandardLoadBalancerConfigurationStatus stores the properties regarding multiple standard load balancers.