Hi prefect community !
I try to run my flow on a kubernetes cluster that use VPC
So actually i deployed my agent on that cluster, I can see that the flow get pulled but it can not create a pod on the cluster, because the prefect api requests are getting filtered. So my question is which ips should I whitelist to be able to run my flows on that cluster ?
c
Christopher Boyd
02/01/2023, 4:27 PM
Hi Naila,
For the prefect agent, can you share some logs of the agent.log?
Potentially, can you set the environment variable in the deployment spec :
Copy code
- name: PREFECT_LOGGING_LEVEL
value: DEBUG
Agent requests are outbound only, so just to verify that’s even an issue, you can shell into the pod, and test that you can reach it in general:
curl <https://api.prefect.cloud>
Christopher Boyd
02/01/2023, 4:27 PM
What error are you receiving that you think this is a whitelisting issue?
Christopher Boyd
02/01/2023, 4:28 PM
What is the error when creating a pod on the cluster?
n
Naila Chennit
02/07/2023, 8:30 AM
Hi Christopher, there was an issue with my k8 cluster config , putting the right IP fixed it. Thank you 😃
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.