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

Move dqlite in its own systemd process #2542

Merged
merged 4 commits into from
Aug 27, 2021
Merged

Conversation

ktsakalozos
Copy link
Member

Moving dqlite in its own separate process.

The benefits:

  • improved visibility, separate logs
  • improve stability, crashes in kubelite will not stop dqlite
  • reduce upstream patching

This PR touches the following:

  • in snapcraft.yaml
    • new k8s-dqlite daemon with k8s-dqlite and k8s-dqlite-env for configuring it
    • compile the k8s-dqlite project
  • inspection script updated
  • remove the k8s patches for dqlite
  • adding a small patch for kubectl get clusterstatuses that is failing when etcd ep is a socket
  • join.py and agent.py updated to handle the new service during cluster formation
  • dbctl updated with the right socket path
  • upgrade scripts updated to handle the new service when transitioning to/from a etcd/dqlite setup

@ktsakalozos ktsakalozos merged commit 9f7f8e5 into master Aug 27, 2021
@ktsakalozos ktsakalozos deleted the MK-18-split-dqlite branch August 27, 2021 10:29
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.

1 participant