You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of Kubernetes 1.23, deployments can have generic ephemeral volumes by using volumeClaimTemplate.
Currently it does not appear to be possible to configure this within either a kubernetes_pod_v1 or kubernetes_deployment_v1 resource. Both resources should ephemeral volumes like this available.
@BBBmau The linked issue #2183 only seems to resolve ephemeral volumes for pod spec. I don't believe it will work for deployments still. Also possibly stateful sets, cronjobs/jobs, etc.
Could you please re-open this issue if it's not fixed for those, too?
@BBBmau The linked issue #2183 only seems to resolve ephemeral volumes for pod spec. I don't believe it will work for deployments still. Also possibly stateful sets, cronjobs/jobs, etc.
Could you please re-open this issue if it's not fixed for those, too?
The PodSpec within a deployment, statefulset, job, daemonset etc is the same object, and the code for PodSpec isn't duplicated everywhere a PodSpec is used, so it should fix it everywhere.
Description
As of Kubernetes 1.23, deployments can have generic ephemeral volumes by using volumeClaimTemplate.
Currently it does not appear to be possible to configure this within either a
kubernetes_pod_v1
orkubernetes_deployment_v1
resource. Both resources should ephemeral volumes like this available.Potential Terraform Configuration
This example is just for a pod resource, as per the example from the kubernetes documentation
References
Kubernetes ephemeral volumes documentation: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes
Community Note
The text was updated successfully, but these errors were encountered: