jenkinsci / kubernetes-cd-plugin

A Jenkins plugin to deploy to Kubernetes cluster
MIT License
140 stars 72 forks source link

Unable to find property 'startupProbe' on class: io.kubernetes.client.openapi.models.V1Container #140

Open zkl94 opened 4 years ago

zkl94 commented 4 years ago

Hi,

When I try to create a deployment YAML with startupProbe in its containers and deploy the YAML file with this plugin, Jenkins build gives me below error:

Unable to find property 'startupProbe' on class: io.kubernetes.client.openapi.models.V1Container

It looks like the latest version of the plugin is still using kubernetes-client java library 7.0.0, which misses startupProbe V1Container.md https://github.com/kubernetes-client/java/blob/client-java-parent-7.0.0/kubernetes/docs/V1Container.md

Is there any plan to upgrade the kubenetes-client java library dependency to the latest version (or newer version)?

MaxDobbelstein commented 3 years ago

Hi

I am facing the same problem, is this going to be resolved anytime soon?

mario-huang commented 3 years ago

same problem

chenrizhi commented 2 years ago

same problem

zkl94 commented 2 years ago

It looks like this this plugin is not in active development anymore. I have been using https://plugins.jenkins.io/kubernetes-cli/ for over a year now and we have zero issues with it. Also, we are planning to move to https://github.com/jenkinsci/kubernetes-plugin. Hope this helps.