apiVersion: cloud.pingcap.com/v1
kind: Provider
metadata:
  labels:
    cloud.pingcap.com/provider-type: eks
  name: eks
spec:
  type: eks
  storageClasses:
    - name: pd-gp3-4000-400
      type: gp3
      iops: 4000
      throughput: 400
    - name: pd-gp3-3000-125
      type: gp3
      iops: 3000
      throughput: 125
    - name: tikv-gp3-4000-400
      type: gp3
      iops: 4000
      throughput: 400
    - name: tikv-gp3-3000-128
      type: gp3
      iops: 3000
      throughput: 128
    - name: tikv-gp3-3000-125
      type: gp3
      iops: 3000
      throughput: 125
    - name: tiflash-gp3-6000-625
      type: gp3
      iops: 6000
      throughput: 625
    - name: index-acceleration
      type: gp3
      iops: 3000
      throughput: 125
    - name: pd-gp2
      type: gp2
    - name: tikv-gp2
      type: gp2
    - name: tiflash-gp2
      type: gp2
  regions:
    - name: us-west-2
      zones:
        - us-west-2a
        - us-west-2b
        - us-west-2c
    - name: us-east-1
      zones:
        - us-east-1a
        - us-east-1b
        - us-east-1c
  instanceTypes:
    - name: c6g.xlarge
      arch: arm64
      cpu: 4
      memory: 8Gi
      regions: ["us-west-2", "us-east-1"]
    - name: c6g.2xlarge
      arch: arm64
      cpu: 8
      memory: 16Gi
      regions: ["us-west-2", "us-east-1"]
    - name: c6g.4xlarge
      arch: arm64
      cpu: 16
      memory: 32Gi
      regions: ["us-west-2", "us-east-1"]
    - name: r6g.2xlarge
      arch: arm64
      cpu: 8
      memory: 64Gi
      regions: ["us-west-2", "us-east-1"]
    - name: r6g.4xlarge
      arch: arm64
      cpu: 16
      memory: 128Gi
      regions: ["us-west-2", "us-east-1"]
    - name: t4g.small
      arch: arm64
      cpu: 2
      memory: 2Gi
      regions: ["us-west-2", "us-east-1"]
    - name: t4g.medium
      arch: arm64
      cpu: 2
      memory: 4Gi
      regions: ["us-west-2", "us-east-1"]
    - name: m6g.large
      arch: arm64
      cpu: 2
      memory: 8Gi
      regions: ["us-west-2", "us-east-1"]
    - name: m6g.xlarge
      arch: arm64
      cpu: 4
      memory: 16Gi
      regions: ["us-west-2", "us-east-1"]
    - name: m6g.2xlarge
      arch: arm64
      cpu: 8
      memory: 32Gi
      regions: ["us-west-2", "us-east-1"]
    - name: m6g.4xlarge
      arch: arm64
      cpu: 16
      memory: 64Gi
      regions: ["us-west-2", "us-east-1"]
    - name: c5.9xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 32
      memory: 72Gi
      minStorage: 1024Gi
      maxStorage: 1024Gi
    - name: r5.2xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 8
      memory: 64Gi
      minStorage: 1024Gi
      maxStorage: 1024Gi
    - name: r5b.2xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 8
      memory: 64Gi
      minStorage: 1024Gi
      maxStorage: 1024Gi
    - name: c5.4xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 16
      memory: 32Gi
    - name: c5.2xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 8
      memory: 16Gi
    - name: c5.xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 4
      memory: 8Gi
    - name: i3.4xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 16
      memory: 122Gi
      localStorageSize: 1900Gi
      minStorage: 1900Gi
      maxStorage: 1900Gi
    - name: i3.2xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 8
      memory: 61Gi
      localStorageSize: 1900Gi
      minStorage: 1900Gi
      maxStorage: 1900Gi
    - name: t3a.small
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 2
      memory: 2Gi
      minStorage: 50Gi
      maxStorage: 50Gi
    - name: t3.medium
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 2
      memory: 4Gi
      minStorage: 0Gi
      maxStorage: 500Gi
    - name: t3a.medium
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 2
      memory: 4Gi
      minStorage: 0Gi
      maxStorage: 500Gi
    - name: m5.large
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 2
      memory: 8Gi
      minStorage: 0Gi
      maxStorage: 2048Gi
    - name: m5.xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 4
      memory: 16Gi
      minStorage: 0Gi
      maxStorage: 2048Gi
    - name: m5.2xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 8
      memory: 32Gi
      minStorage: 0Gi
      maxStorage: 2048Gi
  forProvider:
    apiVersion: eks.infra.pingcap.com/v1alpha1
    aws:
      crossplaneProvider: provider-aws
    eks:
      version: "1.24"
    kind: EKSProviderSpec
