Prefect agent that is deployed on gke cluster when...
# ask-community
a
Prefect agent that is deployed on gke cluster when deploying server using helm chart and the prefect agent that we deploy on kuberntes using this commnad
Copy code
prefect agent kubernetes install -k API_KEY | kubectl apply --namespace=my-namespace -f -
are they both the same, like i have one deployed with prefect server on gke but i need to use prefect cloud so is one agent enough for both server and cloud or i have to deploy seperate one for cloud?
a
@Aqib Fayyaz you would need a separate agent for both Server and Cloud because an agent can only talk to one API at a time. So one Kubernetes agent can either talk to api.prefect.io (for Cloud) or to your Server Apollo endpoint
a
got it thank you!!