Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnKnownHostException in Jenkins and job failed at kuberneted deployment stage #132

Open
AnilKumarP003 opened this issue Jun 18, 2020 · 1 comment

Comments

@AnilKumarP003
Copy link

I am getting below error in Jenkins while deploying to kubernetes cluster:

ERROR: ERROR: java.lang.RuntimeException: io.kubernetes.client.openapi.ApiException: java.net.UnknownHostException: **.azmk8s.io: Name or service not known
hudson.remoting.ProxyException: java.lang.RuntimeException: io.kubernetes.client.openapi.ApiException: java.net.UnknownHostException:

Tried to deploy with below jenkins pipeline snippet:

kubernetesDeploy(
configs: 'deploymentFile.yaml',
kubeconfigId: 'Kubeconfig',
enableConfigSubstitution: true
)
Please suggest

@sofiabobadilla
Copy link

similar problem here.
Can you shared what worked for you at the time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants