Skip to main content
Version: 1.35.2

This page comes from sighupio/distribution: docs/schemas/ekscluster-kfd-v1alpha2.md (v1.35.2). To change it, change the source.

EKSCluster: .spec.infrastructure

This page is part of the EKSCluster schema reference.

.spec.infrastructure​

Properties​

PropertyTypeRequired
vpcobjectOptional
vpnobjectOptional

.spec.infrastructure.vpc​

Properties​

PropertyTypeRequired
networkobjectRequired

Description​

Configuration for the VPC that will be created to host the EKS cluster and its related resources. If you already have a VPC that you want to use, leave this section empty and use .spec.kubernetes.vpcId instead.

.spec.infrastructure.vpc.network​

Properties​

PropertyTypeRequired
cidrstringRequired
subnetsCidrsobjectRequired

.spec.infrastructure.vpc.network.cidr​

Description​

The network CIDR for the VPC that will be created

Constraints​

pattern: the string must match the following regular expression:

^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}\/(3[0-2]|[1-2][0-9]|[0-9])$

try pattern

.spec.infrastructure.vpc.network.subnetsCidrs​

Properties​

PropertyTypeRequired
privatearrayRequired
publicarrayRequired

Description​

Network CIDRS configuration for private and public subnets.

.spec.infrastructure.vpc.network.subnetsCidrs.private​

Description​

The network CIDRs for the private subnets, where the nodes, the pods, and the private load balancers will be created

Constraints​

pattern: the string must match the following regular expression:

^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}\/(3[0-2]|[1-2][0-9]|[0-9])$

try pattern

.spec.infrastructure.vpc.network.subnetsCidrs.public​

Description​

The network CIDRs for the public subnets, where the public load balancers and the VPN servers will be created

Constraints​

pattern: the string must match the following regular expression:

^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}\/(3[0-2]|[1-2][0-9]|[0-9])$

try pattern

.spec.infrastructure.vpn​

Properties​

PropertyTypeRequired
bucketNamePrefixstringOptional
dhParamsBitsintegerOptional
diskSizeintegerOptional
iamUserNameOverridestringOptional
instanceTypestringOptional
instancesintegerOptional
operatorNamestringOptional
portintegerOptional
sshobjectRequired
vpcIdstringOptional
vpnClientsSubnetCidrstringRequired

Description​

Configuration for the VPN server instances.

.spec.infrastructure.vpn.bucketNamePrefix​

Description​

This value defines the prefix for the bucket name where the VPN servers will store their state (VPN certificates, users).

.spec.infrastructure.vpn.dhParamsBits​

Description​

The dhParamsBits size used for the creation of the .pem file that will be used in the dh openvpn server.conf file.

.spec.infrastructure.vpn.diskSize​

Description​

The size of the disk in GB for each VPN server. Example: entering 50 will create disks of 50 GB.

.spec.infrastructure.vpn.iamUserNameOverride​

Description​

Overrides IAM user name for the VPN. Default is to use the cluster name.

Constraints​

pattern: the string must match the following regular expression:

^[a-zA-Z0-9+=,.@_-]{1,63}$

try pattern

.spec.infrastructure.vpn.instanceType​

Description​

The type of the AWS EC2 instance for each VPN server. Follows AWS EC2 nomenclature. Example: t3-micro.

.spec.infrastructure.vpn.instances​

Description​

The number of VPN server instances to create, 0 to skip the creation.

.spec.infrastructure.vpn.operatorName​

Description​

The username of the account to create in the bastion's operating system.

.spec.infrastructure.vpn.port​

Description​

The port where each OpenVPN server will listen for connections.

.spec.infrastructure.vpn.ssh​

Properties​

PropertyTypeRequired
allowedFromCidrsarrayRequired
githubUsersNamearrayRequired
publicKeysarrayOptional

.spec.infrastructure.vpn.ssh.allowedFromCidrs​

Description​

The network CIDR enabled in the security group to access the VPN servers (bastions) via SSH. Setting this to 0.0.0.0/0 will allow any source.

Constraints​

pattern: the string must match the following regular expression:

^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}\/(3[0-2]|[1-2][0-9]|[0-9])$

try pattern

.spec.infrastructure.vpn.ssh.githubUsersName​

Description​

List of GitHub usernames from whom get their SSH public key and add as authorized keys of the operatorName user.

Constraints​

minimum number of items: the minimum number of items for this array is: 1

.spec.infrastructure.vpn.ssh.publicKeys​

Description​

NOT IN USE, use githubUsersName instead. This value defines the public keys that will be added to the bastion's operating system.

.spec.infrastructure.vpn.vpcId​

Description​

The ID of the VPC where the VPN server instances will be created, required only if .spec.infrastructure.vpc is omitted.

Constraints​

pattern: the string must match the following regular expression:

^vpc\-([0-9a-f]{8}|[0-9a-f]{17})$

try pattern

.spec.infrastructure.vpn.vpnClientsSubnetCidr​

Description​

The network CIDR that will be used to assign IP addresses to the VPN clients when connected.

Constraints​

pattern: the string must match the following regular expression:

^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}\/(3[0-2]|[1-2][0-9]|[0-9])$

try pattern