Jenkins + Kubernetes에서 Pod를 시작하지 못하는 경우 "Inbound TCP Agent Protocol/4 (TLS encryption)"이 선택되지 않았는지 확인하십시오.
3505 단어 Jenkinskubernetes
오류 현상
다음과 같이 Jenkins 작업에서 Pod 생성까지 수행되지만,
작업을 실행할 수는 없으며, 포드 생성이 끊임없이 반복됩니다.
Created Pod: default/sample-app-7z8w4-7gqpr
[Normal][default/sample-app-7z8w4-7gqpr][Scheduled] Successfully assigned default/sample-app-7z8w4-7gqpr to caltago
[Normal][default/sample-app-7z8w4-7gqpr][Pulling] Pulling image "sample/app"
[Normal][default/sample-app-7z8w4-7gqpr][Pulled] Successfully pulled image "sample/app"
[Normal][default/sample-app-7z8w4-7gqpr][Created] Created container scrapy
[Normal][default/sample-app-7z8w4-7gqpr][Started] Started container scrapy
[Normal][default/sample-app-7z8w4-7gqpr][Pulled] Container image "jenkins/jnlp-slave:4.0.1-1" already present on machine
[Normal][default/sample-app-7z8w4-7gqpr][Created] Created container jnlp
[Normal][default/sample-app-7z8w4-7gqpr][Started] Started container jnlp
Created Pod: default/sample-app-7z8w4-b0mzh
[Normal][default/sample-app-7z8w4-b0mzh][Scheduled] Successfully assigned default/sample-app-7z8w4-b0mzh to caltago
[Normal][default/sample-app-7z8w4-b0mzh][Pulling] Pulling image "sample/app"
[Normal][default/sample-app-7z8w4-b0mzh][Pulled] Successfully pulled image "sample/app"
[Normal][default/sample-app-7z8w4-b0mzh][Created] Created container scrapy
[Normal][default/sample-app-7z8w4-b0mzh][Started] Started container scrapy
[Normal][default/sample-app-7z8w4-b0mzh][Pulled] Container image "jenkins/jnlp-slave:4.0.1-1" already present on machine
[Normal][default/sample-app-7z8w4-b0mzh][Created] Created container jnlp
[Normal][default/sample-app-7z8w4-b0mzh][Started] Started container jnlp
Created Pod: default/sample-app-7z8w4-08cp2
원인
JenkinsSlave 설정의 "Inbound TCP Agent Protocol/4 (TLS encryption)"가 체크되지 않았기 때문입니다.
(아무래도 Jenkins의 Update로 인계되지 않았던 것 같은?)
kubectl logs
INFO: Server reports protocol JNLP4-connect not supported, skipping
May 05, 2020 6:49:46 AM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: The server rejected the connection: None of the protocols are enabled
java.lang.Exception: The server rejected the connection: None of the protocols are enabled
at hudson.remoting.Engine.onConnectionRejected(Engine.java:825)
at hudson.remoting.Engine.innerRun(Engine.java:767)
at hudson.remoting.Engine.run(Engine.java:518)
오류 발생시 설정 상태
오류 해결 시 설정 상태
Reference
이 문제에 관하여(Jenkins + Kubernetes에서 Pod를 시작하지 못하는 경우 "Inbound TCP Agent Protocol/4 (TLS encryption)"이 선택되지 않았는지 확인하십시오.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/toru2220/items/bbb08a032db7ec3d2c37
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
Created Pod: default/sample-app-7z8w4-7gqpr
[Normal][default/sample-app-7z8w4-7gqpr][Scheduled] Successfully assigned default/sample-app-7z8w4-7gqpr to caltago
[Normal][default/sample-app-7z8w4-7gqpr][Pulling] Pulling image "sample/app"
[Normal][default/sample-app-7z8w4-7gqpr][Pulled] Successfully pulled image "sample/app"
[Normal][default/sample-app-7z8w4-7gqpr][Created] Created container scrapy
[Normal][default/sample-app-7z8w4-7gqpr][Started] Started container scrapy
[Normal][default/sample-app-7z8w4-7gqpr][Pulled] Container image "jenkins/jnlp-slave:4.0.1-1" already present on machine
[Normal][default/sample-app-7z8w4-7gqpr][Created] Created container jnlp
[Normal][default/sample-app-7z8w4-7gqpr][Started] Started container jnlp
Created Pod: default/sample-app-7z8w4-b0mzh
[Normal][default/sample-app-7z8w4-b0mzh][Scheduled] Successfully assigned default/sample-app-7z8w4-b0mzh to caltago
[Normal][default/sample-app-7z8w4-b0mzh][Pulling] Pulling image "sample/app"
[Normal][default/sample-app-7z8w4-b0mzh][Pulled] Successfully pulled image "sample/app"
[Normal][default/sample-app-7z8w4-b0mzh][Created] Created container scrapy
[Normal][default/sample-app-7z8w4-b0mzh][Started] Started container scrapy
[Normal][default/sample-app-7z8w4-b0mzh][Pulled] Container image "jenkins/jnlp-slave:4.0.1-1" already present on machine
[Normal][default/sample-app-7z8w4-b0mzh][Created] Created container jnlp
[Normal][default/sample-app-7z8w4-b0mzh][Started] Started container jnlp
Created Pod: default/sample-app-7z8w4-08cp2
JenkinsSlave 설정의 "Inbound TCP Agent Protocol/4 (TLS encryption)"가 체크되지 않았기 때문입니다.
(아무래도 Jenkins의 Update로 인계되지 않았던 것 같은?)
kubectl logs
INFO: Server reports protocol JNLP4-connect not supported, skipping
May 05, 2020 6:49:46 AM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: The server rejected the connection: None of the protocols are enabled
java.lang.Exception: The server rejected the connection: None of the protocols are enabled
at hudson.remoting.Engine.onConnectionRejected(Engine.java:825)
at hudson.remoting.Engine.innerRun(Engine.java:767)
at hudson.remoting.Engine.run(Engine.java:518)
오류 발생시 설정 상태
오류 해결 시 설정 상태
Reference
이 문제에 관하여(Jenkins + Kubernetes에서 Pod를 시작하지 못하는 경우 "Inbound TCP Agent Protocol/4 (TLS encryption)"이 선택되지 않았는지 확인하십시오.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/toru2220/items/bbb08a032db7ec3d2c37텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)