Creating a CTE for Kubernetes Claim Against the PVC
Note
For the next step, you must have your PV and PVC already deployed.
-
Create the following YAML file: cte-csi-claim.yaml
-
To deploy the
cte-csi-claim.yaml
script, type:
Your suggested change has been received. Thank you.
Note
For the next step, you must have your PV and PVC already deployed.
Create the following YAML file: cte-csi-claim.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: cte-claim
annotations:
# The following must match your CTE Kubernetes Policy name.
csi.cte.cpl.thalesgroup.com/policy: policy_1
# NFS source persistent volume claim
csi.cte.cpl.thalesgroup.com/source_pvc: nfs-test-claim
spec:
storageClassName: <CHANGE to the storageclass name that you deployed. For example: e.g. csi-test-sc>
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Ki
To deploy the cte-csi-claim.yaml
script, type:
kubectl apply -f cte-claim.yaml
Thank you! Your suggestion has been submitted.
https://thales.na.market.dpondemand.io/docs/dpod/services/kmo….