I am writing an automated test that will run everytime a cluster is created. As part of this test, I need to read the content of a file inside a pod and verify a specific string exists or not. How can I achieve this?
Currently we are using Gem Train Kubernetes. It is capable of verifying that the pod exists or not. However, how can I verify the content inside a file in this pod?
If there is another tool or test suite that I can use, I don't mind using that. I just need some pointers. Is this possible via inspec?
Aucun commentaire:
Enregistrer un commentaire