Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

etcdadm scripts should be written to files at render phase, not up #580

Closed
redbaron opened this issue Apr 24, 2017 · 8 comments
Closed

etcdadm scripts should be written to files at render phase, not up #580

redbaron opened this issue Apr 24, 2017 · 8 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Milestone

Comments

@redbaron
Copy link
Contributor

right now etcdadm script is embedded in kube-aws binary and "materializes" itself only when we run "kube-aws up/update" which makes it harder to track full kluster config in git

@mumoshu
Copy link
Contributor

mumoshu commented Apr 24, 2017

@redbaron Thanks for the feedback 👍
Yes, it should be. It was even in the "remaining issues" list in the original PR which introduced etcdadm.

How about scripts/ directory to store scripts like etcdadm?
Any preference on the naming of the directory?

@mumoshu mumoshu added this to the v0.9.6 milestone Apr 24, 2017
@redbaron
Copy link
Contributor Author

why scripts is everything else is in write_files?

@mumoshu
Copy link
Contributor

mumoshu commented Apr 24, 2017

@redbaron My intention was to ensure users place only scripts inside the directory. The same as credentials for /etc/kubernetes/ssl.

Would you like to embed etcdadm directly into cloud-config-etcd like:

  - path: /opt/bin/etcdadm
    content: |
      // the content of etcdadm here

or anything else?

@redbaron
Copy link
Contributor Author

either way works for me. scripts is more convenient, but probably would require more work

@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 Apr 21, 2019
@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

@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 May 21, 2019
@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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

4 participants