Skip to content

Commit

Permalink
Feature: HA (#1208)
Browse files Browse the repository at this point in the history
* First pass on microk8s enable

* Add pie chart to the grafana of prometheus operator

* Revert "Add pie chart to the grafana of prometheus operator"

This reverts commit 1c28dc6.

* Handle distribute an operation across nodes (#1297)

* Handle dqlite and cluster agent ports on HA cluster

* Fix distributed ops on single node cluster (#1320)

* Start dqlite and calico by default

* Do not try to distribute configuration when cluster agent is stopped

* Dqlite without REST interface

* Remove the ha-cluster subcommand from status (#1374)

* Remove the ha-cluster subcommand from status

* fix enabling of dns when running HA. (#1403)

* Fix LXC deployments, umount kubelet when removing microk8s (#1424)

* Stopping control plane on HA (#1406)

* Change ownership of files under the dqlite path (#1429)

* Change ownership of files under the dqlite path

* Address review comments

* Add message in joining (#1452)

* Handle not reachable nodes (#1450)

* Fixes #1448 (#1457)

* microk8s.leave single leader guard (#1462)

* Fix cilium in an ha cluster (#1453)

* dbctl for dqlite backup and restore (#1435)

Co-authored-by: balchua <balchua@yahoo.com>
  • Loading branch information
ktsakalozos and balchua authored Aug 20, 2020
1 parent 8522472 commit 7bb1b25
Show file tree
Hide file tree
Showing 27 changed files with 270,803 additions and 271,315 deletions.
541,078 changes: 269,878 additions & 271,200 deletions build-scripts/patches/dqlite.patch
24 changes: 23 additions & 1 deletion microk8s-resources/actions/common/utils.sh
16 changes: 11 additions & 5 deletions microk8s-resources/actions/disable.cilium.sh
29 changes: 29 additions & 0 deletions microk8s-resources/actions/disable.ha-cluster.sh
6 changes: 6 additions & 0 deletions microk8s-resources/actions/enable.cilium.sh
50 changes: 50 additions & 0 deletions microk8s-resources/actions/enable.ha-cluster.sh
2 changes: 1 addition & 1 deletion microk8s-resources/default-args/containerd-template.toml
7 changes: 3 additions & 4 deletions microk8s-resources/default-args/kube-apiserver
7 changes: 7 additions & 0 deletions microk8s-resources/wrappers/addon-lists.yaml
12 changes: 12 additions & 0 deletions microk8s-resources/wrappers/control-plane-kicker
14 changes: 14 additions & 0 deletions microk8s-resources/wrappers/microk8s-dbctl.wrapper
4 changes: 4 additions & 0 deletions microk8s-resources/wrappers/microk8s-reset.wrapper
31 changes: 21 additions & 10 deletions scripts/cluster/agent.py
70 changes: 65 additions & 5 deletions scripts/cluster/common/utils.py
93 changes: 74 additions & 19 deletions scripts/cluster/distributed_op.py
128 changes: 96 additions & 32 deletions scripts/cluster/join.py
79 changes: 78 additions & 1 deletion scripts/wrappers/common/utils.py
127 changes: 127 additions & 0 deletions scripts/wrappers/control-plane-kicker.py
153 changes: 153 additions & 0 deletions scripts/wrappers/dbctl.py
84 changes: 66 additions & 18 deletions scripts/wrappers/status.py
22 changes: 21 additions & 1 deletion snap/hooks/configure
17 changes: 17 additions & 0 deletions snap/hooks/install
1 change: 1 addition & 0 deletions snap/hooks/remove
21 changes: 21 additions & 0 deletions snap/snapcraft.yaml
12 changes: 11 additions & 1 deletion tests/test-addons.py
17 changes: 6 additions & 11 deletions tests/test-cluster.py
14 changes: 8 additions & 6 deletions upgrade-scripts/002-switch-to-flannel-etcd/commit-master.sh

0 comments on commit 7bb1b25

Please sign in to comment.