This page comes from sighupio/distribution: docs/schemas/ekscluster-kfd-v1alpha2.md (v1.36.1). To change it, change the source.
EKSCluster: .spec.infrastructure
This page is part of the EKSCluster schema reference.
.spec.infrastructure
Properties
| Property | Type | Required |
|---|---|---|
| vpc | object | Optional |
| vpn | object | Optional |
.spec.infrastructure.vpc
Properties
| Property | Type | Required |
|---|---|---|
| network | object | Required |
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
| Property | Type | Required |
|---|---|---|
| cidr | string | Required |
| subnetsCidrs | object | Required |
.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])$
.spec.infrastructure.vpc.network.subnetsCidrs
Properties
| Property | Type | Required |
|---|---|---|
| private | array | Required |
| public | array | Required |
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])$
.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])$
.spec.infrastructure.vpn
Properties
| Property | Type | Required |
|---|---|---|
| bucketNamePrefix | string | Optional |
| dhParamsBits | integer | Optional |
| diskSize | integer | Optional |
| iamUserNameOverride | string | Optional |
| instanceType | string | Optional |
| instances | integer | Optional |
| operatorName | string | Optional |
| port | integer | Optional |
| ssh | object | Required |
| vpcId | string | Optional |
| vpnClientsSubnetCidr | string | Required |
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}$
.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
| Property | Type | Required |
|---|---|---|
| allowedFromCidrs | array | Required |
| githubUsersName | array | Required |
| publicKeys | array | Optional |
.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])$
.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})$
.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])$