Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudControllerManagerConfig ¶
type CloudControllerManagerConfig struct { // FeatureGates contains information about enabled feature gates. FeatureGates map[string]bool }
CloudControllerManagerConfig contains configuration settings for the cloud-controller-manager.
type ControlPlaneConfig ¶
type ControlPlaneConfig struct { metav1.TypeMeta // CloudControllerManager contains configuration settings for the cloud-controller-manager. CloudControllerManager *CloudControllerManagerConfig `json:"cloudControllerManager,omitempty"` }
ControlPlaneConfig contains configuration settings for the control plane.
type HTTPTokensValue ¶
type HTTPTokensValue string
HTTPTokensValue is a constant for HTTPTokens values.
var ( // HTTPTokensRequired is a constant for requiring the use of tokens to access IMDS. Effectively disables access via // the IMDSv1 endpoints. HTTPTokensRequired HTTPTokensValue = "required" // HTTPTokensOptional that makes the use of tokens for IMDS optional. Effectively allows access via both IMDSv1 and // IMDSv2 endpoints. HTTPTokensOptional HTTPTokensValue = "optional" )
type InfrastructureConfig ¶
type InfrastructureConfig struct { metav1.TypeMeta // EnableECRAccess specifies whether the IAM role policy for the worker nodes shall contain // permissions to access the ECR. // default: true EnableECRAccess *bool `json:"enableECRAccess,omitempty"` // Networks is the AWS specific network configuration (VPC, subnets, etc.) Networks Networks `json:"networks"` }
InfrastructureConfig infrastructure configuration resource
type InstanceMetadataOptions ¶
type InstanceMetadataOptions struct { // HTTPTokens enforces the use of metadata v2 API. HTTPTokens *HTTPTokensValue `json:"httpTokens,omitempty"` // HTTPPutResponseHopLimit is the response hop limit for instance metadata requests. // Valid values are between 1 and 64. HTTPPutResponseHopLimit *int64 `json:"httpPutResponseHopLimit,omitempty"` }
InstanceMetadataOptions contains configuration for controlling access to the metadata API.
type Networks ¶
type Networks struct { // VPC indicates whether to use an existing VPC or create a new one. VPC VPC `json:"vpc"` // Zones belonging to the same region Zones []Zone `json:"zones"` }
Networks holds information about the Kubernetes and infrastructure networks.
type VPC ¶
type VPC struct { // ID is the VPC id. ID *string `json:"id,omitempty"` // CIDR is the VPC CIDR. CIDR *string `json:"cidr,omitempty"` }
VPC contains information about the AWS VPC and some related resources.
type WorkerConfig ¶
type WorkerConfig struct { metav1.TypeMeta `json:",inline"` // InstanceMetadataOptions contains configuration for controlling access to the metadata API. InstanceMetadataOptions *InstanceMetadataOptions `json:"instanceMetadataOptions,omitempty"` }
WorkerConfig contains configuration settings for the worker nodes.
type Zone ¶
type Zone struct { // Name is the name for this zone. Name string `json:"name"` // Internal is the private subnet range to create (used for internal load balancers). Internal string `json:"internal"` // Public is the public subnet range to create (used for bastion and load balancers). Public string `json:"public"` // Workers isis the workers subnet range to create (used for the VMs). Workers string `json:"workers"` }
Zone describes the properties of a zone
Click to show internal directories.
Click to hide internal directories.