Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS clusters: check if gp3 or gp2 is used for new clusters default StorageClass #2905

Closed
consideRatio opened this issue Aug 1, 2023 · 2 comments

Comments

@consideRatio
Copy link
Contributor

If we create a new AWS cluster (using the latest eksctl CLI!), I'd like us to inspect if we get a default StorageClass of gp2 or gp3. It seems gp3 is cheaper without a drawback, so we should probably look to get it as the default.

@yuvipanda
Copy link
Member

I created the GHG cluster just now, and gp2 is the default.

apiVersion: v1
items:
- apiVersion: storage.k8s.io/v1
  kind: StorageClass
  metadata:
    annotations:
      kubectl.kubernetes.io/last-applied-configuration: |
        {"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{"storageclass.kubernetes.io/is-default-class":"true"},"name":"gp2"},"parameters":{"fsType":"ext4","type":"gp2"},"provisioner":"kubernetes.io/aws-ebs","volumeBindingMode":"WaitForFirstConsumer"}
      storageclass.kubernetes.io/is-default-class: "true"
    creationTimestamp: "2023-08-01T03:43:50Z"
    name: gp2
    resourceVersion: "289"
    uid: d38c2360-7d52-42fc-b008-e24089226258
  parameters:
    fsType: ext4
    type: gp2
  provisioner: kubernetes.io/aws-ebs
  reclaimPolicy: Delete
  volumeBindingMode: WaitForFirstConsumer
- apiVersion: storage.k8s.io/v1
  kind: StorageClass
  metadata:
    annotations:
      meta.helm.sh/release-name: support
      meta.helm.sh/release-namespace: support
    creationTimestamp: "2023-08-01T04:14:22Z"
    labels:
      app.kubernetes.io/managed-by: Helm
    name: ssd
    resourceVersion: "5997"
    uid: 30c73159-3b83-49b0-a210-c938bba580c4
  parameters:
    type: pd-ssd
  provisioner: kubernetes.io/gce-pd
  reclaimPolicy: Delete
  volumeBindingMode: Immediate
kind: List
metadata:
  resourceVersion: ""

@consideRatio
Copy link
Contributor Author

With #4769, we get gp3 in new k8s clusters going onwards, so I'll go for a close here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Needs Shaping / Refinement
Development

No branches or pull requests

2 participants