-
Notifications
You must be signed in to change notification settings - Fork 834
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
ci-cd demo uses old jenkins and kubectl fails on newer k8s #505
Comments
We could also try to add the github plugin via the chart to avoid installing it manually: https://github.com/helm/charts/blob/master/stable/jenkins/values.yaml#L138 |
We may also be able to get the jenkins to use local identity store out of the box too (rather than having to set that manually). I think that's a choice of realm in jenkins terminology. See https://github.com/helm/charts/blob/master/stable/jenkins/values.yaml#L21 and https://github.com/jenkins-x/cloud-environments/blob/4010385ead7bc7a1816cb6d0fb540878dd888f78/env-minishift/myvalues.yaml#L56 A way to find the configuration might be to make the changes in the UI and find what has changed in the config.xml file |
Actually turns out the kubectl binary needing updating was in the seldon-deployer image. But updating jenkins chart allows us to specify plugins and simplify the demo setup a bit. |
Fixed. |
The kubectl binary available to the jenkins image used in https://github.com/SeldonIO/seldon-core/tree/master/examples/cicd-argocd is old now. The result on a newer k8s now is that you get this error when the job for building images tries to use kubectl:
I saw this and added a line to print the
kubectl version
, which output:So the issue is https://stackoverflow.com/a/55581050/9705485
I think we need to update the jenkins being used
Might have to make changes like https://github.com/SeldonIO/seldon-core/pull/506/files#diff-b0f64032faabe39ddbcfd9a55b142519R14 for jenkins (that one is argocd)
The text was updated successfully, but these errors were encountered: