Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultNamespace default namespace for Karpenter DefaultNamespace = "karpenter" // DefaultServiceAccountName is the name of the service account which is needed for Karpenter DefaultServiceAccountName = "karpenter" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartInstaller ¶
type ChartInstaller interface {
Install(ctx context.Context, serviceAccountRoleARN string, instanceProfileName string) error
}
ChartInstaller defines a functionality to install Karpenter.
type Installer ¶
type Installer struct {
Options
}
Installer implements the Karpenter installer functionality.
func NewKarpenterInstaller ¶
NewKarpenterInstaller creates a new installer to configure and add Karpenter to a cluster.
type Options ¶
type Options struct { HelmInstaller providers.HelmInstaller Namespace string ClusterConfig *api.ClusterConfig }
Options contains values which Karpenter uses to configure the installation.
Click to show internal directories.
Click to hide internal directories.