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

Add label version in deployment specification for compatibility with istio #2705

Open
msvticket opened this issue Jan 16, 2019 · 18 comments
Open

Comments

@msvticket
Copy link
Member

msvticket commented Jan 16, 2019

Jenkins-X already has integrations with Istio and it seems like there are more to come. It would then make sense to improve compability with Istio.

Looking at https://istio.io/docs/setup/kubernetes/spec-requirements/ I find that the helm charts of the build packs differ from the Istio requirements by lacking a version label in the deployment specifications.

So I propose adding the label version to pod template of the deployments in the build packs.

Fixes would be done in https://github.com/jenkins-x/jx3-pipeline-catalog/tree/master/packs

@ccojocar
Copy link
Contributor

@msvticket are you refereeing to build pods? Which kind of installation are you running classic or serverless?

@ccojocar ccojocar added area/istio kind/enhancement An enhancement of an existing feature priority/backlog labels Jan 16, 2019
@msvticket
Copy link
Member Author

No, not build pods. Build packs. Taking maven as an example the labels app and version are missing from the deployment here https://github.com/jenkins-x-buildpacks/jenkins-x-kubernetes/blob/master/packs/maven/charts/templates/deployment.yaml

I'm not running serverless, but I don't think that matters.

@ccojocar
Copy link
Contributor

@msvticket
Copy link
Member Author

Right. The headline in the istio document was misleading: "Deployments with app and version labels". But it really is the pods that should have the labels. I'll reword this story.

I think it would be useful to have the label app on the deployment as well, but that isn't istio related.

@msvticket msvticket changed the title Add labels app and version on deployments for compatibility with istio Add label version in deployment specification for compatibility with istio Jan 17, 2019
@jenkins-x-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale

@msvticket
Copy link
Member Author

/remove-lifecycle stale

@jenkins-x-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale

@msvticket
Copy link
Member Author

/remove-lifecycle stale

@jenkins-x-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale

@msvticket
Copy link
Member Author

/remove-lifecycle stale

@jenkins-x-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale

@jenkins-x-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle rotten

@msvticket
Copy link
Member Author

/remove-lifecycle rotten

@jenkins-x-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale

@jenkins-x-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://jenkins-x.io/community.
/lifecycle rotten

@msvticket
Copy link
Member Author

/remove-lifecycle rotten

@tomhobson
Copy link
Member

This is cool. Again we could put this forward to GSOC as I said in your previous issue. If there's still interest and this isn't fixed, let's do it!

@msvticket
Copy link
Member Author

I still think it would be worthwhile.

It's a small fix in all the deployments defined in jx3-pipeline-catalog.

@msvticket msvticket added the good first issue Good for newcomers label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants