I have cache ephemeral storage defined as below, however I get the following warning
Warning FailedScheduling 108s default-scheduler 0/15 nodes are available: 15 persistentvolumeclaim "sas-cas-server-default-controller-cas-cache-vsan0" not found.
apiVersion: builtin
kind: PatchTransformer
metadata:
name: cas-cache-hostpath
patch: |-
- op: add
path: /spec/controllerTemplate/spec/volumes/-
value:
name: cas-cache-vsan0
ephemeral:
volumeClaimTemplate:
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "standard"
resources:
requests:
storage: 930Gi
- op: add
path: /spec/controllerTemplate/spec/containers/0/volumeMounts/-
value:
name: cas-cache-vsan0
mountPath: /cas/cache-vsan0 # # mountPath is the path inside the pod that CAS will reference
- op: add
path: /spec/controllerTemplate/spec/containers/0/env/-
value:
name: CASENV_CAS_DISK_CACHE
value: "/cas/cache-vsan0" # # This has to match the value that is inside the pod
I am trying to create ephemeral generic volume for cas disc cache.However when I try to change something is cas configuration, it cannot find the ephemeral volume.