I want to deploy spark plugin in the Flyte backend...
# ask-the-community
o
I want to deploy spark plugin in the Flyte backend. Step 1: I have stared a Flyte demo cluster by flytectl demo start Step 2: Install spark operator Step 3: Create “values-override.yaml” file and upgrade the Flyte helm
Copy code
helm upgrade flyte flyteorg/flyte-core -f <https://raw.githubusercontent.com/flyteorg/flyte/master/charts/flyte-core/values-sandbox.yaml> -f values-override.yaml -n flyte
In step 3. I get the following error
Copy code
Error: failed to download "flyteorg/flyte-core"
After checking, the flyte-core not installed after running the “flytectl demo start” command, and I not found the flyte-core repository in flyteorg. The flyte-core have still in use or has it been dropped?
k
@Oliver Nguyen please use
flytectl sandbox start
-> sandbox instead of demo
👍 1
sandbox actually is a replica of full k8s
and hence you should be able to do it
demo is more lightweight
cc @Marc Paquette clarification in doc
👍 1
o
Thanks Ketan
oh no. i have started the cluster with sandbox. and there 's still an old fault.
k
failed to download?
cc @Yuvraj do you know
o
The flyte-core repository not found on Flyte project github. Is this the root cause?
k
sorry a little late for me. cc @Samhita Alla / @Kevin Su can either of you rhelp
s
Can you try running
helm dep update
in the cloned flyte repository’s
flyte/charts/flyte-core
directory?
o
Is it like that? nothing else happens @Samhita Alla
s
You need not run
helm upgrade
in
flyte
repo. Can you run
helm install -n flyte -f <https://raw.githubusercontent.com/flyteorg/flyte/master/charts/flyte-core/values-sandbox.yaml> --create-namespace flyte flyte/flyte-core
in the
flyte
repo?
@Yuvraj, Oliver’s still seeing
Error: failed to download "flyteorg/flyte-core"
. How should this error be resolved?
y
@Oliver Nguyen Please run
helm repo add flyteorg <https://flyte.org/flyte>
before helm
repo update
&
upgrade
o
There is another error. Do I need use "helm upgrade --install" command instead of "helm upgrade"?
y
it’s docs issue, Please run
Copy code
helm upgrade flyte-core flyteorg/flyte-core -f <https://raw.githubusercontent.com/flyteorg/flyte/master/charts/flyte-core/values-sandbox.yaml> -f values-override.yaml -n flyte
❤️ 1
o
Thanks Yuvraj. I have successfully upgrade Helm
🙌 3
k
Cc @Marc Paquette docs issue
👀 1
162 Views