Skip to content

validation port forwards to pod not svc #379

@willr3

Description

@willr3

I was manually running the bash commands from the validate_model and I think there is an inconsistency in Wait for the model to answer successfully

https://github.com/openshift-psap/topsail/blob/main/projects/kserve/roles/kserve_validate_model/tasks/validate_model.yaml#L46

This appears to be exposing a port that exists on the pod but the port forwarding is targeting the svc. I do not see an existing variable for the pod name but I believe the line should be

      oc port-forward po/{{ pod_name_goes_here }}-predictor 8080:8033 -n {{ kserve_validate_model_namespace }} &

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions