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

doc: op guide for install, uninstall etcd operator #855

Merged
merged 1 commit into from
Mar 3, 2017

Conversation

hongchaodeng
Copy link
Member

@hongchaodeng hongchaodeng commented Mar 3, 2017

fix #735
[skip ci]

@hongchaodeng
Copy link
Member Author

Once kubernetes supports deployment hook (kubernetes/kubernetes#14512), we can make use of that as well.

README.md Outdated
@@ -50,6 +50,11 @@ NAME DESCRIPTION VERSION(S)
cluster.etcd.coreos.com Managed etcd clusters v1beta1
```

When deleting etcd operator deployment, delete its leader election endpoint as well:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i do not think this is a good place. it is not discoverable.

Probably it is time for us to create the initial op-guide with our first section:

  • uninstall etcd operator

we mention how to delete the operator, how to remove the endpoint, and tell users they also need to manually remove all etcd clusters managed by etcd operator manually (or remove all the TPRs before delete the operator.).

@hongchaodeng hongchaodeng changed the title doc: update README.md to delete LE endpoint doc: op guide for install, uninstall etcd operator Mar 3, 2017
@hongchaodeng
Copy link
Member Author

fixed

$ kubectl delete endpoints etcd-operator
```

Note that the etcd clusters managed by etcd operator will **NOT** be deleted if the operator fails or is uninstalled.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removes the fail part.

```

Note that the etcd clusters managed by etcd operator will **NOT** be deleted if the operator fails or is uninstalled.
This is an intentional design to prevent accidental operator failure from killing all the etcd clusters.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this to the top under uninstall.

@hongchaodeng
Copy link
Member Author

fixed

@xiang90
Copy link
Collaborator

xiang90 commented Mar 3, 2017

LGTM

@hongchaodeng hongchaodeng merged commit 1d27eeb into coreos:master Mar 3, 2017
@hongchaodeng hongchaodeng deleted the d branch March 3, 2017 20:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"etcd-operator" endpoint is left after operator is deleted
2 participants