Newer
Older
apiVersion: eks.aws.crossplane.io/v1alpha1
kind: NodeGroup
metadata:
name: nodegroup-{{ .Release.Name }}
labels:
provider: aws
cluster: eks
chart: {{ .Chart.Name }}
spec:
forProvider:
region: {{ .Values.global.cluster_location }}
clusterNameSelector:
matchLabels:
provider: aws
cluster: eks
chart: {{ .Chart.Name }}
nodeRoleSelector:
matchLabels:
provider: aws
cluster: eks
chart: {{ .Chart.Name }}
type: ec2
subnetSelector:
matchLabels:
type: subnet
access: private
scalingConfig:
# minSize: {{ .Values.global.node_count }}
desiredSize: {{ .Values.global.node_count }}
# maxSize: {{ .Values.global.node_count }}
diskSize: 30
instanceTypes:
- {{ .Values.global.node_size }}
# remoteAccess:
# ec2SSHKey: {{ .Values.sshkey }}
tags:
Name: {{ .Chart.Name }}