Mexson Fernandes

    Mexson Fernandes

    1 year ago
    Hello everyone. I am Helm based deployment of Prefect. Setup is done with k8s agent for job propagation. I am confused for about how to go and load the files inside the platform. I see it supports Gitlab storage. But is there a way to sync the code to Prefect with CI?
    Kevin Kho

    Kevin Kho

    1 year ago
    Hey @Mexson Fernandes, are you asking how to get files to Prefect? You won’t see files here in the UI. You
    register
    a flow, and then it shows up here. The Flow would specify that the storage used is Gitlab storage. When the flow runs, it would retrieve it from the Gitlab storage and then run it. Syncing the code to Prefect means that you would use the CI to register the flows that live in Python scripts once there is a change. It would be a matter of using the Prefect CLI commands to register
    prefect register …
    . Maybe this thread has links that can help you.
    Mexson Fernandes

    Mexson Fernandes

    1 year ago
    oka with this I can create Gitlab CI to register the flow.
    this means I need RBAC for CI tool to manage flows
    Kevin Kho

    Kevin Kho

    1 year ago
    You need to authenticate the CI tool yep.
    Mexson Fernandes

    Mexson Fernandes

    1 year ago
    how can I enable RBAC in k8s ?
    options are disabled
    Kevin Kho

    Kevin Kho

    1 year ago
    RBAC is a Cloud feature
    Mexson Fernandes

    Mexson Fernandes

    1 year ago
    oka. So I cannot grab the token also ? API token to run something
    Kevin Kho

    Kevin Kho

    1 year ago
    If you use Server, no authentication is required.
    Mexson Fernandes

    Mexson Fernandes

    1 year ago
    yeah