Create a CTE-CSI protected Persistent Storage Claim by deploying an Application/Staging pod
To create a CTE-CSI protected Persistent Storage Claim by deploying an application pod:
-
Create the yaml file to deploy a pod and protect the contents of the Persistent Volume.
-
Deploy the pod, type:
kubectl apply -f cte-csi-demo.yaml
After the pod is successfully deployed and it running, you can see the client registered in K8s client.
-
To check the status of the pod, type:
root@ip-172-30-1-55:~# kubectl get all
After the pod is successfully deployed and running, you can see the clients registered in the Kubernetes client.
-
Login to the pod and check if the files are encrypted:
root@ip-172-30-1-55:# kubectl exec -it cte-csi-demo /bin/bash
-
Check the same file on the Server side: