-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skaffold dev
doesn't work correctly with charts that use CRD
#9583
Comments
@edmondop I think the reason is in the |
I tried to use "{{ .IMAGE_TAG_datafusion_ray}}" Error: INSTALLATION FAILED: YAML parse error on ray-cluster/templates/raycluster-cluster.yaml: error converting YAML to JSON: yaml: line 25: mapping values are not allowed in this context
|
show your yaml |
apiVersion: skaffold/v4beta11
kind: Config
metadata:
name: datafusion-ray-pipeline
build:
artifacts:
- image: apache/datafusion-ray
docker:
dockerfile: k8s/Dockerfile
buildArgs:
CARGO_HOME: /usr/local/cargo
cacheFrom:
- ghcr.io/apache/datafusion-ray:latest
context: ../..
local:
useBuildkit: true
deploy:
helm:
releases:
- name: kuberay-operator
repo: "https://ray-project.github.io/kuberay-helm/"
remoteChart: kuberay-operator
namespace: default
version: "1.1.0"
- name: raycluster
repo: "https://ray-project.github.io/kuberay-helm/"
remoteChart: ray-cluster
namespace: default
version: "1.1.0"
setValues:
image.repository: "apache/datafusion-ray"
imagePullPolicy: Always
setValueTemplates:
image.tag: "{{.IMAGE_TAG_datafusion_ray}}"
kubectl: {} |
What do you get if you try |
I am trying to use Skaffold to install two helm charts on a Kubernetes cluster: the ray operator, and a ray cluster. The ray cluster is a CRD that needs to use the custom tag of the image that Skaffold built. This is my yml
what happens is the following:
Information
Skaffold version v2.13.2
Steps to reproduce the behavior
The repository is https://github.com/edmondop/datafusion-ray/tree/skaffold-experiment , the files can be found in
k8s
folderThe text was updated successfully, but these errors were encountered: