Skip to content

Conversation

@rmannibucau
Copy link
Contributor

Basic skeletons for K8s.

Idea will be to deploy bookkeeper and herddb in k8s in a custom managed fashion.

This PR is not complete and require the configuration of the link between both systems but gives some pointers about what is needed.

- name: replication-worker
image: apache/bookkeeper:latest
command: [ "/bin/bash", "/opt/bookkeeper/entrypoint.sh" ]
args: ["/opt/bookkeeper/bin/bookkeeper", "autorecovery"]
Copy link
Contributor

Choose a reason for hiding this comment

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

this file is not needed for demo purposes,
this is a daemon that replicates data in case of lost bookies

if we want to make things simple you can drop this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The templates are not for demo purposes but aims at giving a skeleton for real deployments IMHO.
For demo it is ok to use a plain ServerMain, no?

Copy link
Contributor

Choose a reason for hiding this comment

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

You are right, it should be better to have it.

We are not using autorecovery in production, as we usually have a small set of bookies and we are running autorecovery only manually and when needed (like when you lose definitively a machine)

so okay to keep this file now
thanks

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.

2 participants