[Python] Airflow Idempotency and PyVmomi

Discussão em 'Python' iniciado por Stack, Fevereiro 20, 2025.

  1. Stack

    Stack Membro Participativo

    I want to create a workflow that automates a virutal machine. First start the VM, run a few processes, upload / download some files and finally shut down the VM.

    I need each VM action to be in a separate task. How should I manage the PyVmomi connection, should I instantiate a new connection in every task?

    My main concern is too many connections that are opening and closing fast.

    Continue reading...

Compartilhe esta Página