model

package
v1.30.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 104

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindSubnet

func FindSubnet(c *kops.Cluster, subnetName string) *kops.ClusterSubnetSpec

FindSubnet returns the subnet with the specified name, or returns nil

func FindZonesForInstanceGroup

func FindZonesForInstanceGroup(c *kops.Cluster, ig *kops.InstanceGroup) ([]string, error)

FindZonesForInstanceGroup computes the zones for an instance group, which are the zones directly declared in the InstanceGroup, or the subnet zones

func UseChallengeCallback added in v1.27.0

func UseChallengeCallback(cloudProvider kops.CloudProviderID) bool

UseChallengeCallback is true if we should use a callback challenge during node provisioning with kops-controller.

func UseCiliumEtcd added in v1.19.0

func UseCiliumEtcd(cluster *kops.Cluster) bool

UseCiliumEtcd is true if we are using the Cilium etcd cluster.

func UseExternalKubeletCredentialProvider added in v1.29.0

func UseExternalKubeletCredentialProvider(k8sVersion semver.Version, cloudProvider kops.CloudProviderID) bool

Configures a Kubelet Credential Provider if Kubernetes is newer than a specific version

func UseKopsControllerForNodeConfig added in v1.26.0

func UseKopsControllerForNodeConfig(cluster *kops.Cluster) bool

UseKopsControllerForNodeConfig checks if nodeup should use kops-controller to get nodeup.Config.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL