Study. uk . com
  1. Home
  2. All questions
  3. Question 830

CKA study material · question 830 of 1000

kubectl get volumesnapshots returns "the server doesn't have a resource type". What is missing?

  1. A VolumeSnapshotClass marked as default
  2. The snapshot CRDs, which are not part of the core API
  3. RBAC permission on the snapshot.storage.k8s.io group
  4. A CSI driver with the snapshot capability
Show the answer

Answer: B. The snapshot CRDs, which are not part of the core API

VolumeSnapshot, VolumeSnapshotContent and VolumeSnapshotClass are custom resources whose CRDs the distribution must install; without them the types do not exist at all.

Source: Volume Snapshots (Kubernetes) — Introduction

Challenge yourself on this topic → Study as cards