-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 optional tags to AWS deployments #729
Comments
@starkers have you seen: https://github.com/kubernetes/kops/blob/master/docs/labels.md I like the idea of applying this to other resources also. There are two types of "other resources":
|
Ahh cool, so for now 'labels' will do most of what I need (thanks) I will have a look at the kubernetes issues to see about the resources it creates. It would be nice to do this at the time of creating the cluster hopefully because I'm planning to put kops in a pipeline (unless something like this already exists?) All this in terms of functionality is utterly trivial but I think it would be a pretty cool thing to tell someone looking at k8s+AWS that they will have full accountability out of the box.. :-) |
You can Alternatively, you can But I think what you're asking for is either cluster-level labels, or a CLI flag on |
Personally I'd like a |
@justinsb |
@hridyeshpant this is interesting.. What error are you getting from cloudLabels? ELB's actually DO support tagging.. so curious what your steps are.. Can you share replication steps please? |
@kris-nova i am not getting any error but tag is not getting apply to ELB
i also put cloudLabels at nodes level , but still no luck. do i need to put cloudLabels in service level? if yes which section i need to put. I tried under spec but getting error . |
i tried to put cloudLabels at cluster level
|
I just tried to add cloudLabels, run update, but my ELBs are still not tagged. Is it implemented yet? What is the status of this issue? FYI https://github.com/kubernetes/kubernetes/pull/45932/files :) |
The cloudLabels is really in the realm of ec2 host labels.. for changing tags in an ELB the AWS provider seems to now have the ability for you to tag ELBs (https://github.com/kubernetes/kubernetes/blob/master/pkg/cloudprovider/providers/aws/aws.go#L138) I actually tried that today but never got round to checking if it worked (to be honest I've not checked when it was even added to kubernetes so it may require you have a more current version of k8s also) Hope this helps anyway |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I would like to add additional tags to a k8s cluster that are used at an organisational level for tracking resources..
Examples would be:
owner: starkers
environment: develop
project: awesome
Currently this can be done by modifying the cluster after kops has deployed but then I can no longer run kops again because it would undo the tags.
Initially I think this is essential on ec2 instances but if these can also applied to the ELB and other resources it would be very handy
The text was updated successfully, but these errors were encountered: