-
Notifications
You must be signed in to change notification settings - Fork 180
Kube annotations for Deis applications #545
Comments
Is this something that cannot be handled through |
i think he wants to add few annotations to the apps so that he can filter using k8s api and show different statistics/details of his CI flow. |
Right, so my issue with a new |
I wasn't aware of config actually. Was pointed towards K8S Annotations when I asked about storing arbitrary data :) It looks like environment variables would work for me. Unless anyone else has any reason for k8s annotations in their app I see no reason to keep this issue. |
Sounds good. Let's close this out for now then :) |
Actually I have one thought about annotations. myapp: {
pipeline: "myapp"
}
myapp-staging: {
pipeline: "myapp"
}
myapp-pr-1: {
pipeline: "myapp"
} When I create a pipeline for an application it triggers a rebuild because of new config. The rebuild isn't required and there's no way to stop that. |
In order to use kube2iam you need to add an annotation to your Pods with the desired IAM role. Now this can be achieved by Being able to set an annotation on a deployment (and thus on pods) would be extremely helpful. It would allow the use of kube2iam to selectively add AWS IAM roles to apps and to enable certain k8s alpha features, e.g. Node Affinity/Anti-Affinity. |
TL;DR: K8S Annotations for attaching arbitrary metadata to applications for attaching/retrieving from Deis API
So I'm creating Heroku-style pipelines using the Atlassian stack. We have JIRA issues created like
FE-1231
and then create pull-requests and commits with the issue number prefixed:Branch: FE-1231-footer-styling
Commit: FE-1231 fix(footer): improve the styling to not glitch
I've got webhooks making POST requests to an Express middleware for creating applications in the Pull-Request lifecycle like:
PR Opened:
deis apps:create myproject-pr-1 --remote myproject-pr-1
PR Declined:
deis apps:destroy --app myproject-pr-1 --confirm myproject-pr-1
PR Updated:
git push myproject-pr-1 origin/myproject-pr-1
Once my middleware server is fully working, I want to create 3-lane UI for showing the Pull-requests in their lifecycle by using the Deis API.
Column 1: List of PR applications
Column 2: Staging [deploy to Production]
Column 3: Production
When I create these 3 columns of cards, it would be nice to present additional data such as the
At the moment, I can only attach tags, and that complains that there aren't any Nodes to match against. I'll have to use kubectl for the time being to attach them, but guessing I need to retrieve them via the k8s API as well
The text was updated successfully, but these errors were encountered: