https://prefect.io logo
Title
m

Michal Luščon

09/27/2022, 11:48 AM
Hi, is there any official way how to install 2.x server on Kubernetes? It seems to me that the helm from prefect-server deploys 1.x with latest docker images.
1
o

Oliver Mannion

09/27/2022, 12:29 PM
c

Christopher Boyd

09/27/2022, 12:36 PM
Hi Michal , there are a number of discourse resources , and YouTube videos tackling this topic depending on your preference for deploying and configuring. The helm repo linked is one way if you are using helm , along with:
m

Michal Luščon

09/27/2022, 1:13 PM
@Oliver Mannion, yes I am aware of this chart. Unfortunately, it seems that it has not been published in prefecthq repo.
~/p/s/s/k/prefect-update ❯❯❯ helm search repo prefecthq
NAME                            CHART VERSION   APP VERSION     DESCRIPTION                      
prefecthq/prefect-server        2022.09.23      2022.09.23      Prefect Server application bundle
Would like to know whether this chart https://github.com/PrefectHQ/server/tree/master/helm/prefect-server is deprecated now.
As the orion chart contains only orion-server and db, am I expected to deploy workers manualy outside of helm?
c

Christopher Boyd

09/27/2022, 1:32 PM
Michal, I’m not sure your ask here - are you looking for the agent, or the prefect server ?
The old one is for v1, the new one linked in prefect-helm is for v2 . They are both official
Is there an issue you face with using the new one ?
To elaborate a little bit more: prefect-server is 1.x prefect-orion is 2.x The repo that you listed (prefect-server) is for 1.x, The prefect-helm listed is for 2.x, and contains charts for both prefect-orion and the agents. If I understand the source of confusion, it’s that we have two locations for helm charts - I can take that feedback back to the team and determine what the most appropriate course is there
👀 1
m

Michal Luščon

09/27/2022, 2:34 PM
Thank you for your clarification. I think that the main source of my confusion stems from the fact that there is no prefect-orion avaiable in prefecthq helm repository.
~ ❯❯❯ helm pull prefecthq/prefect-orion
Error: chart "prefect-orion" matching  not found in prefecthq index. (try 'helm repo update'): no chart name found
As for the 2.x agent, I have to apologize as I really overlooked it in git.
Also there is a bit of confusion in prefect-server 1x helm. Since the docker images version are not pinned to 1.x but by default set to latest, this chart currently installs combination of 1.x server and 2.x worker. I will issue a bug report for this.
c

Christopher Boyd

09/27/2022, 2:44 PM
Gotcha , yea that makes sense , and definitely an issue when trying to deploy server on 1 with latest tags
I think there is a modified prefect1-latest, I’d have to double check