D
D
Denis2019-05-20 11:45:55
Python
Denis, 2019-05-20 11:45:55

How to write an autotest to check if folders exist on remote machines?

A Kubernetes cluster has been deployed, there are 3 machines. Master node and 2 work nodes, using ansible
from the master node, Kubernetes is installed on work, you need to write an autotest to check if the kuber is installed. I assumed that you could just check for folders in directories. In fact, you need to write an autotest that will check for the presence of folders in the directory. I'm just new to testing, tell me how it should look like, and what is needed for this, libraries, frameworks or something else.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
chupasaurus, 2019-05-20
@cicada3301

Pull the Kubernetes API for a node in the list of live ones.

Y
Yuri Yarosh, 2019-08-23
@voidnugget

In general, there is Terratest Inspec Kitchen (for perverts) ServerSpec (for rail guides) Bats (for oldfags).
Sort of like this
. Usually I myself use TerraTest / Bats / Inspec ... Chef's crafts from the evil one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question