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

Kops should be able to add annotations #3344

Closed
lucascollino opened this issue Sep 5, 2017 · 13 comments
Closed

Kops should be able to add annotations #3344

lucascollino opened this issue Sep 5, 2017 · 13 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@lucascollino
Copy link

lucascollino commented Sep 5, 2017

Hi, similar to #742 I need to add annotations to nodes (from the instance group yaml) for managing the update-operator, in the same way labels are.

Something equivalent to this, but with annotations:

spec:
  nodeLabels:
    kubernetes.io/role: node

Maybe it's already in place or planned, but didn't find it in the docs nor the code.

Thanks!

@chrislovecnm
Copy link
Contributor

We are able to add node and cloud tags, I am not certain how this functionality differs.

You have to use yaml to maintain your clusters or edit the cluster. Here is an example https://github.com/kubernetes/kops/blob/master/tests/integration/complex/in-v1alpha2.yaml

Also the instance group documentation provides examples.

@greg-jaunt
Copy link

greg-jaunt commented Sep 15, 2017

The example above is already possible, but the needed feature is the equivalent of the above for annotations:

apiVersion: kops/v1alpha2
kind: InstanceGroup
spec:
  nodeAnnotations:
    somekey: somevalue

Would automatically add "somekey:somevalue" to the metadata.annotation map on every launched node in that instance group.

@Z3r0Sum
Copy link

Z3r0Sum commented Dec 1, 2017

@greg-jaunt nvm - you said it's needed, my fault.

@fejta-bot
Copy link

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.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 1, 2018
@fejta-bot
Copy link

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.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Mar 31, 2018
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@adammw
Copy link
Contributor

adammw commented Oct 31, 2018

/reopen

Annotations are often required for various daemonsets running on the nodes for configuration, for example the eniConfig annotation is required for the AWS CNI plugin: aws/amazon-vpc-cni-k8s#165

@k8s-ci-robot
Copy link
Contributor

@adammw: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen

Annotations are often required for various daemonsets running on the nodes for configuration, for example the eniConfig annotation is required for the AWS CNI plugin: aws/amazon-vpc-cni-k8s#165

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@lucascollino
Copy link
Author

/reopen

for @adammw comment

@k8s-ci-robot
Copy link
Contributor

@lucascollino: Reopening this issue.

In response to this:

/reopen

for @adammw comment

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot reopened this Oct 31, 2018
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@semoac
Copy link

semoac commented Jul 30, 2019

This will be awesome to automatize thing like routeReflector on calico.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

8 participants