eks

package
v0.75.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCluster

func NewCluster(e aws.Environment, name string, opts ...Option) (*kubecomp.Cluster, error)

func Run

func Run(ctx *pulumi.Context) error

func RunWithEnv added in v0.75.0

func RunWithEnv(ctx *pulumi.Context, awsEnv resourcesAws.Environment, env *environments.Kubernetes, params *RunParams) error

RunWithEnv deploys an EKS environment using a provided env and params, enabling reuse between provisioners and direct Pulumi runs.

Types

type Option

type Option = func(*Params) error

func WithBottlerocketNodeGroup

func WithBottlerocketNodeGroup() Option

func WithLinuxARMNodeGroup

func WithLinuxARMNodeGroup() Option

func WithLinuxNodeGroup

func WithLinuxNodeGroup() Option

func WithUseAL2023Nodes

func WithUseAL2023Nodes() Option

func WithWindowsNodeGroup

func WithWindowsNodeGroup() Option

type Params

type Params struct {
	LinuxNodeGroup        bool
	LinuxARMNodeGroup     bool
	BottleRocketNodeGroup bool
	WindowsNodeGroup      bool
	UseAL2023Nodes        bool
}

func NewParams

func NewParams(options ...Option) (*Params, error)

type RunOption added in v0.75.0

type RunOption = func(*RunParams) error

func WithAgentOptions added in v0.75.0

func WithAgentOptions(opts ...kubernetesagentparams.Option) RunOption

WithAgentOptions adds options to the agent

func WithAwsEnv added in v0.75.0

func WithAwsEnv(env *aws.Environment) RunOption

WithAwsEnv asks the provisioner to use the given environment, it is created otherwise

func WithCiliumOptions added in v0.75.0

func WithCiliumOptions(opts ...cilium.Option) RunOption

WithCiliumOptions adds a cilium installation option

func WithDeployArgoRollout added in v0.75.0

func WithDeployArgoRollout() RunOption

func WithDeployDogstatsd added in v0.75.0

func WithDeployDogstatsd() RunOption

WithDeployDogstatsd deploy standalone dogstatd

func WithDeployTestWorkload added in v0.75.0

func WithDeployTestWorkload() RunOption

WithDeployTestWorkload deploy a test workload

func WithEC2VMOptions added in v0.75.0

func WithEC2VMOptions(opts ...ec2.VMOption) RunOption

WithEC2VMOptions adds options to the EC2 VM

func WithEKSOptions added in v0.75.0

func WithEKSOptions(opts ...Option) RunOption

WithEKSOptions adds options to the EKS cluster

func WithExtraConfigParams added in v0.75.0

func WithExtraConfigParams(configMap runner.ConfigMap) RunOption

WithExtraConfigParams adds extra config parameters to the environment

func WithFakeIntakeOptions added in v0.75.0

func WithFakeIntakeOptions(opts ...fakeintake.Option) RunOption

WithFakeIntakeOptions adds options to the fake intake

func WithName added in v0.75.0

func WithName(name string) RunOption

WithName sets the name of the provisioner

func WithOperator added in v0.75.0

func WithOperator() RunOption

WithOperator Deploys the Datadog Operator

func WithOperatorDDAOptions added in v0.75.0

func WithOperatorDDAOptions(opts ...agentwithoperatorparams.Option) RunOption

WithOperatorDDAOptions Configures the DatadogAgent custom resource

func WithOperatorOptions added in v0.75.0

func WithOperatorOptions(opts ...operatorparams.Option) RunOption

WithOperatorOptions Configures the Datadog Operator

func WithWorkloadApp added in v0.75.0

func WithWorkloadApp(appFunc kubecomp.WorkloadAppFunc) RunOption

WithWorkloadApp adds a workload app to the environment

func WithoutAgent added in v0.75.0

func WithoutAgent() RunOption

WithoutAgent removes the agent

func WithoutDDA added in v0.75.0

func WithoutDDA() RunOption

WithoutDDA removes the DatadogAgent custom resource

func WithoutFakeIntake added in v0.75.0

func WithoutFakeIntake() RunOption

WithoutFakeIntake removes the fake intake

type RunParams added in v0.75.0

type RunParams struct {
	Name string
	// contains filtered or unexported fields
}

RunParams collects high-level scenario parameters for the EKS scenario.

func GetRunParams added in v0.75.0

func GetRunParams(opts ...RunOption) *RunParams

func ParamsFromEnvironment added in v0.75.0

func ParamsFromEnvironment(e aws.Environment) *RunParams

ParamsFromEnvironment maps the Cloud environment ConfigMap to EKS scenario parameters.

Jump to

Keyboard shortcuts

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