Thanks for keeping this updated Jamie. Sorry for my lack of response,
this has been on my list for a long time but other stuff keeps coming
up. I am not able to devote time to testing this any time in the next
week.

I'll do my best to describe testing steps in case you want to give it a
go, but if not, I'm hopeful I can give it a shot in a couple weeks.

A full test of this will require a live Kubernetes cluster. I suspect
the easiest way will be to deploy a cluster with Juju:

$ juju deploy kubernetes-core

Note there is a kubelet snap installed on kubernetes-worker/0 already,
but it is classically confined.

Update snapd on kubernetes-worker/0 to include the kubernetes-support
interface.

Build the strictly confined kubelet snap:

$ git clone https://github.com/juju-solutions/release.git --branch 
gkk/confined-kubelet
$ cd release/snap
$ make KUBE_VERSION=v1.6.1 kubelet
$ ls build

Use `juju scp` to copy the snap over, `juju ssh` in, and install it.

Run e2e tests against it:

$ juju deploy kubernetes-e2e
$ juju relate kubernetes-e2e easyrsa
$ juju relate kubernetes-e2e kubernetes-master

Once kubernetes-e2e is "Ready to test":

$ juju run-action kubernetes-e2e/0 test

Wait for the action to finish, check the output, and grab the .log file
that it produces.

Back to kubernetes-worker/0, check `journalctl -u snap.kubelet.daemon`
for errors.

Again, apologies for my lack of response and I will do my best to try
these steps in a couple weeks or so.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1664638

Title:
  Need an interface for kubernetes

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1664638/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to