1
0
mirror of https://github.com/ubuntu/microk8s.git synced 2021-05-23 02:23:41 +03:00

81 Commits

Author SHA1 Message Date
Konstantinos Tsakalozos
272b562734 Try snapctl instead of systemctl (#1170)
Co-authored-by: Joe Borg <joseph.borg@canonical.com>
2020-05-05 07:42:21 +03:00
Konstantinos Tsakalozos
2bdc1b843e First pass on switch-to-dqlite (#1131) 2020-05-01 12:56:53 +03:00
Konstantinos Tsakalozos
18f0fa0c36 Refresh certs command (#1159)
* Refresh certs command

* Add refresh-certs to the definitions

Co-authored-by: Joe Borg <joseph.borg@canonical.com>
2020-04-29 09:44:18 +03:00
balchua
60c2d01792 TTL based bootstrap token (#1094) 2020-04-25 17:40:36 +03:00
Konstantinos Tsakalozos
ad29db5564 Script to transition to calico cni (#1119)
* 2PC skeleton

* Switch to calico cni
2020-04-21 11:53:14 +03:00
Konstantinos Tsakalozos
395bc12671 Cluster agent configuring dqlite (#1108) 2020-04-16 11:49:18 +03:00
Joe Borg
575d4159df Pass through subcommands as if there were called directly (#1057) 2020-03-25 09:54:07 +02:00
Konstantinos Tsakalozos
00222cf8cc Keep the existing interface in microk8s.status (#1042)
With this PR we maintain the old CLI interface and out put for microk8s.status and microk8s.status --yaml.

We introduce a --format argument with which you can select a human readable pretty output format (that includes the addon descriptions) or select the new yaml format with yaml

Fixes: #1041 and eclipse/che#16408
2020-03-20 21:06:31 +02:00
balchua
46a805536f Make microk8s.status addons more readable (#876) 2020-03-19 13:53:23 +02:00
Joe Borg
f77eb17d72 Reduce certificate expiry time (#970)
* Move certs to 365 days validity
2020-03-10 14:11:04 +02:00
Konstantinos Tsakalozos
013ea296d1 Improve token management (#1006) 2020-03-05 12:56:52 +02:00
George Apostolopoulos
c0013c3352 snap_path variable should be where variable points (#963) 2020-02-17 17:17:47 +02:00
Konstantinos Tsakalozos
8b6c80c6a6 Get iptable chain rules when inspecting (#857) 2019-12-11 17:32:34 +02:00
Konstantinos Tsakalozos
09e5469f99 Correct the group and username of nodes (#836) 2019-11-29 17:49:34 +02:00
Alexandros Soumplis
16ba1f258d cgroups v1 check (#829)
* Extra checks for Fedora as since Fedora 31 Cgroups v1 support is not enabled and Docker does not support Cgroups v2 yet
2019-11-29 13:03:49 +02:00
Konstantinos Tsakalozos
9e32317d4d Fix file permissions during clustering (#811) 2019-11-18 06:45:01 -08:00
Konstantinos Tsakalozos
045d859840 Handle proxy override for kubeproxy (#807)
* Handle proxy override for kubeproxy

* Set_args to also add argument
2019-11-15 10:23:43 -08:00
Simon Trigona
0d8b14a336 Create flanneld config file with using SNAP_DATA env variables (#797)
* Create flanneld config file with using SNAP_DATA env variables as to not
break during snap upgrades.

* Handle upgrade of clustered flannel

* Remove old config before adding it again
2019-11-13 15:35:36 -08:00
Konstantinos Tsakalozos
9dde3ac98d Handle iptable forward rules (#768) 2019-11-01 15:28:00 +02:00
Shashi Ranjan
3bbd173a0e Added exception handling in setting addons state. (#751) 2019-10-25 15:23:19 +03:00
Shashi Ranjan
9688566bc4 Few fixes in the docs. (#750) 2019-10-23 14:13:50 +03:00
Konstantinos Tsakalozos
fd5f8d2fcf Set LD_LIBRARY_PATH before calling python3 (#703)
* Force the snap included SSL to be used in join

In newer versions of Ubuntu like 19.04 a new version of ssl
has been distributed. This caused issues with the python version
included inside the snap (see issue #669). Therefore, now
the compatible ssl included within the snap is now used.
2019-10-04 16:55:25 +03:00
Konstantinos Tsakalozos
ed7520100f In inspect skip ufw check if binary not present (#668) 2019-09-24 18:05:44 +03:00
Konstantinos Tsakalozos
36f79886a0 Clustering (#529) 2019-09-12 13:39:42 +03:00
Konstantinos Tsakalozos
1fe1249802 Re-instroducing network stats in the inspect script (#622) 2019-09-02 11:27:20 +03:00
Konstantinos Tsakalozos
8173dce318 Harden MicroK8s (#590)
* Remove the insecure 8080 port
* Change permissions to certs and credentials
* Move etcd to a port and use certs to access it
2019-08-19 13:00:54 +03:00
George Apostolopoulos
f62149ced5 Update Inspection Script (#576)
* Stores memory, disk, distribution, uptime, vm information. Checks for SELinux and docker installation and prints warnings. Stores kubernetes info about pv and pvc.
2019-08-16 10:33:08 +03:00
TheNotary
4dcb1f45bf adds command to make iptables -P FORWARD ACCEPT save (#462)
* adds command to make iptables -P FORWARD ACCEPT save
* adds note about persistent IP Table changes in inspect
2019-05-10 09:01:49 +03:00
Konstantinos Tsakalozos
c0ddf15547 Fixes in inspect. Kubectl use secure configurable kubeconfig. 2019-03-12 16:36:29 +02:00
Adam Israel
3c05ec8e7d Add a default limit to journalctl (#161)
Add a default limit of 100,000 entries when dumping the journal for a
service.
2018-11-03 22:45:50 +02:00
Konstantinos Tsakalozos
3ef85d0c06 Adding the inspect command (#104) 2018-09-12 09:48:07 +03:00