Hello , I am working on setting up a scalable environment on a kubernetes cluster. I am following the steps suggested by LINE.
I have my Jenkins running outside the cluster and while spinning up the pods , it fails saying
While doing this i am stuck at an error snapshot as below.
Can someone help around this?
volumes:
- emptyDir:
medium: “”
name: “workspace-volume”
Running on k6node-7hdfz-tf4c1 in /home/jenkins/agent/workspace/test-pipeline
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Stage-1)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
io.fabric8.kubernetes.client.http.WebSocketHandshakeException
at io.fabric8.kubernetes.client.okhttp.OkHttpWebSocketImpl$BuilderImpl$1.onFailure(OkHttpWebSocketImpl.java:66)
Caused by: java.net.ProtocolException: Expected HTTP 101 response but was ‘400 Bad Request’
at okhttp3.internal.ws.RealWebSocket.checkResponse(RealWebSocket.java:229)
at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:196)
… 5 more
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch 0
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
java.net.ProtocolException: Expected HTTP 101 response but was ‘400 Bad Request’