dlstreamer / pipeline-server

Home of Intel(R) Deep Learning Streamer Pipeline Server (formerly Video Analytics Serving)
BSD 3-Clause "New" or "Revised" License
126 stars 50 forks source link

Kubernetes deployment fails if no_proxy contains * #105

Closed whbruce closed 1 year ago

whbruce commented 2 years ago

If deployment will fails as follows:

$ pipeline-server-worker/deploy.sh
Adding proxy settings to /home/whbruce/dlstreamer-pipeline-server/samples/kubernetes/pipeline-server-worker/pipeline-server.yaml
Using /home/whbruce/dlstreamer-pipeline-server/samples/kubernetes/pipeline-server-worker/pipeline-server.yaml to deploy pipeline server
error: error parsing /home/whbruce/dlstreamer-pipeline-server/samples/kubernetes/pipeline-server-worker/pipeline-server.yaml: error converting YAML to JSON: yaml: line 31: did not find expected alphabetic or numeric character 

You likely have a * in your no_proxy setting which cases the follwing entry in pipeline-server.yaml

        - name: no_proxy
          value: *.mycorp.com,127.0.0.1,localhost 

To fix remove * from no_proxy environment variable and re-build and re-deploy.

whbruce commented 1 year ago

Fixed in 2022.2.0 (v1.0)