1
0
IaC/terraform/vultr/pvcs.tf

15 lines
286 B
Terraform
Raw Permalink Normal View History

resource "kubernetes_persistent_volume_claim" "ssd" {
metadata {
name = "ssd"
namespace = "default"
}
spec {
access_modes = ["ReadWriteOnce"]
resources {
requests = {
storage = "10Gi"
}
}
storage_class_name = "vultr-block-storage"
}
}