numalogic icon indicating copy to clipboard operation
numalogic copied to clipboard

pipeline examples/multi_udf/numa-pl.yaml in main branch does not conform to the pipeline CRD

Open gopaljayanthi opened this issue 1 year ago • 2 comments

Describe the bug pipeline examples/multi_udf/numa-pl.yaml in main branch has .spec.edges[3].conditions is wrong, it has keyIn field where as the CRD requires tags field To Reproduce

  1. git clone https://github.com/numaproj/numalogic.git
  2. cd numalogic
  3. kubectl apply -f examples/multi_udf/numa-pl.yaml

Expected behavior pipeline should be created

Screenshots k apply -f https://raw.githubusercontent.com/numaproj/numalogic/main/examples/multi_udf/numa-pl.yaml deployment.apps/mlflow-sqlite created service/mlflow-service created Error from server (BadRequest): error when creating "https://raw.githubusercontent.com/numaproj/numalogic/main/examples/multi_udf/numa-pl.yaml": Pipeline in version "v1alpha1" cannot be handled as a Pipeline: strict decoding error: unknown field "spec.edges[3].conditions.keyIn", unknown field "spec.edges[4].conditions.keyIn"

Environment (please complete the following information):

  • Kubernetes:v1.29.2
  • Numaflow: quay.io/numaproj/numaflow:v1.2.1
  • Numalogic: [e.g. v0.2.0]
  • Numaflow-python: [e.g. v0.1.1]

Additional context using docker-dektop on windows 10 with ubuntu 18.04 vm as the kubernetes


Message from the maintainers:

Impacted by this bug? Give it a 👍. We often sort issues this way to know what to prioritize.

gopaljayanthi avatar Jun 17 '24 10:06 gopaljayanthi

Hi @gopaljayanthi thanks for bringing this on our attention. Will test and update it soon.

ab93 avatar Jun 18 '24 02:06 ab93

I am facing diffrent issue when i tried applying numa-pl.yaml.

Error from server (BadRequest): error when creating "https://raw.githubusercontent.com/numaproj/numalogic/main/examples/multi_udf/numa-pl.yaml": admission webhook "webh
ook.numaflow.numaproj.io" denied the request: invalid vertex "train", UDF must have to and from edges

naveenkumarsp avatar Jul 06 '24 18:07 naveenkumarsp