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

rf: ZENKO-758 rename replication pods #194

Merged

Conversation

jonathan-gramain
Copy link
Contributor

Add "replication" to pod names to avoid confusions, and change
"producer" and "consumer" to more meaningful names.

New pod names:

  • backbeat-producer -> backbeat-replication-populator
  • backbeat-consumer -> backbeat-replication-data-processor
  • backbeat-status -> backbeat-replication-status-processor

If there's a risk it does not fit anymore in DNS name limit (63 char?)
we can consider shortening names, but ideally (to me) they would be as
self-descriptive as they can get.

Add "replication" to pod names to avoid confusions, and change
"producer" and "consumer" to more meaningful names.

New pod names:

- backbeat-producer -> backbeat-replication-populator
- backbeat-consumer -> backbeat-replication-data-processor
- backbeat-status -> backbeat-replication-status-processor

If there's a risk it does not fit anymore in DNS name limit (63 char?)
we can consider shortening names, but ideally (to me) they would be as
self-descriptive as they can get.
Copy link
Contributor

@ssalaues ssalaues left a comment

Choose a reason for hiding this comment

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

Like Jonathan said, it brings us closer to the 63 char limit of DNS but even with the default names, using zenko as the release name, we would get "zenko-backbeat-replication-data-processor" which is 42 chars (the perfect amount of chars) and gives us some buffer room. Worth it for the sake of more meaningful names.

@jonathan-gramain
Copy link
Contributor Author

Maybe the pod instance hash also counts in the name length? But anyway it should still leave some legroom.

@ssalaues
Copy link
Contributor

@jonathan-gramain Typically just the service name is used for communication which doesn't have the hashes but yeah even still gives us some room.

@ssalaues ssalaues merged commit f27437d into master Jul 19, 2018
@ssalaues ssalaues deleted the improvement/ZENKO-758-renameBackbeatReplicationPods branch July 19, 2018 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants