Change the check in the inspect script to
look for rules for vxlan.calico instead of cni0
which seems to be the interface that
Calico creates for itself when in VXLAN mode.
Fixes#1712
Signed-off-by: Peter Somogyvari <peter.metz@unarin.com>
* Switch microk8s enable/disable wrappers to Python script
For now, they're just clones of the old bash scripts, with the ability
to handle unix-style flag arguments. Using click however, will allow
expanding the enable scripts to be full click subcommands, instead
of just bash scripts.
* Add flake8 to CI checks
black doesn't catch some things such as unused variables or trailing
spaces in docstrings, so add flake8 to the CI process.
flake8 and black disagree on a few things, and black is probably in the
right, at least according to pep8. So, add a few lint ignores, as in
https://github.com/psf/black/blob/master/docs/compatible_configs.md
* 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 1c28dc6dec112d713f8257219be1ad3eb5424f8e.
* 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>
* Fix path to openssl
Running microk8s on certain distributions such as Centos 7.4, resulted
in failure to execute openssl. This happend because the path to
openssl was not being correctly set within the snap. As a result
either no openssl was found or the worng one was selected leading
to linker relocation errors.
This commit fixes the issue by specifying the full path to openssl.
Co-authored-by: Balbir Thomas <balbir.thomas@canonical.com>
Co-authored-by: Konstantinos <kos.tsakalozos@canonical.com>
* Adding dashboard-proxy command to MicroK8s snap for parity with the Windows and MacOS wrappers
* Fix the build. Go get without building the master on runc and containerd
Co-authored-by: Konstantinos <kos.tsakalozos@canonical.com>