model

package
v1.28.4 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 100

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 UseExternalECRCredentialsProvider added in v1.28.0

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

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