onosproject / helmit

Go framework for end-to-end verification of Helm applications on Kubernetes
5 stars 11 forks source link

Explanations on helmit bench and helmit sim commands. #46

Open askquestions opened 3 years ago

askquestions commented 3 years ago

I am new to helmit and to running micro-onos tests using helnit. Now, I could run several basic helmit commands without errors. However, I need more helps on understanding the operations performed by the benchmark or simulation commands. For example, I could run helmit bench or helm sim commands as follows.

helmit bench ./examples/benchmark/cmd --suite atomix --benchmark BenchmarkMapPut --context examples/charts --duration 5m

helmit sim ./examples/simulation/cmd --context examples/charts --duration 5m --set atomix-raft.clusters=3 --set atomix-raft.partitions=9 --set atomix-raft.backend.replicas=3

The above commands just run forever without terminating even of a duration has been set. I also tried to see the pods or services produced by the above commands by using kubectl get pods and kubectl get svc. Nothing related to the helmit commands has been displayed in the kubectl output.

I also want to know the way of seeing the logs produced by the operations of the above helmit commands.

What is the difference of helmit bench and helmit sim?

Thanks for the helps in advance.

iravkr commented 6 months ago

I am also new to helmit. How are you able to run it? Can you guide me?

I am new to helmit and to running micro-onos tests using helnit. Now, I could run several basic helmit commands without errors. However, I need more helps on understanding the operations performed by the benchmark or simulation commands. For example, I could run helmit bench or helm sim commands as follows.

helmit bench ./examples/benchmark/cmd --suite atomix --benchmark BenchmarkMapPut --context examples/charts --duration 5m

helmit sim ./examples/simulation/cmd --context examples/charts --duration 5m --set atomix-raft.clusters=3 --set atomix-raft.partitions=9 --set atomix-raft.backend.replicas=3

The above commands just run forever without terminating even of a duration has been set. I also tried to see the pods or services produced by the above commands by using kubectl get pods and kubectl get svc. Nothing related to the helmit commands has been displayed in the kubectl output.

I also want to know the way of seeing the logs produced by the operations of the above helmit commands.

What is the difference of helmit bench and helmit sim?

Thanks for the helps in advance.

¸