{"id":136,"date":"2021-05-28T05:47:08","date_gmt":"2021-05-28T12:47:08","guid":{"rendered":"https:\/\/andylittle.us\/?page_id=136"},"modified":"2021-05-28T05:47:08","modified_gmt":"2021-05-28T12:47:08","slug":"awx-install-on-pi4-with-microk8s","status":"publish","type":"page","link":"https:\/\/andylittle.us\/?page_id=136","title":{"rendered":"AWX install on PI4 with microk8s"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@raspberrypi4-1:~# apt update &amp;&amp; apt upgrade -y\nroot@raspberrypi4-1:~# apt install snapd\nroot@raspberrypi4-1:~# systemctl enable --now snapd.socket\nroot@raspberrypi4-1:~# adduser pikube\nroot@raspberrypi4-1:~# usermod -a -G sudo pikube\nroot@raspberrypi4-1:~# su - pikube\n### add cgroup_enable=memory cgroup_memory=1 to the line in \/boot\/cmdline.txt\npikube@raspberrypi4-1:~ $ sudo vi \/boot\/cmdline.txt\npikube@raspberrypi4-1:~ $ sudo snap install microk8s --classic\npikube@raspberrypi4-1:~ $ alias kubectl='microk8s kubectl'\npikube@raspberrypi4-1:~ $ sudo usermod -a -G microk8s pikube\npikube@raspberrypi4-1:~ $ sudo chown -f -R pikube ~\/.kub\n\npikube@raspberrypi4-1:~ $ microk8s start\nStarted.\n\npikube@raspberrypi4-1:~ $ microk8s enable dns:192.168.1.1\nEnabling DNS\nApplying manifest\nserviceaccount\/coredns created\nconfigmap\/coredns created\ndeployment.apps\/coredns created\nservice\/kube-dns created\nclusterrole.rbac.authorization.k8s.io\/coredns created\nclusterrolebinding.rbac.authorization.k8s.io\/coredns created\nRestarting kubelet\nDNS is enabled\n\npikube@raspberrypi4-1:~ $ microk8s enable storage\n\n\n\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-136","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/pages\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andylittle.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=136"}],"version-history":[{"count":1,"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/pages\/136\/revisions"}],"predecessor-version":[{"id":137,"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/pages\/136\/revisions\/137"}],"wp:attachment":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}