A few Rancher questions

Hello,

I have been playing with rancher-stable and I have a few miscellaneous questions.

  1. Is it possible to get the equivalent of “docker run --init” when starting a container from the GUI? (This option runs the app with ‘tini’ as pid 1). I couldn’t see it, but maybe I’ve overlooked something.

  2. Is it possible to see resource utilisation graphs for an entire host, as opposed to resource utilisation of individual containers? Again, I couldn’t find it.

    Also: the container resource graphs show I/O disk utilisation in “Mbps”. Is that true, or should it really say “MBps”?

  3. There is some documentation about upgrades at http://rancher.com/docs/rancher/v1.6/en/cattle/upgrading/

    Do these upgrades preserve the data from the previous container, using --volumes-from? Or are the upgraded containers “fresh” apart from any volumes you’ve explicitly mounted into them?

    That is, I’m wondering if rancher’s container upgrade process is similar to that suggested for upgrading rancher itself: http://rancher.com/docs/rancher/v1.6/en/upgrading/#single-container

  4. in the GUI, if I go to “Infrastructure > Storage” it just says “No storage drivers”. However if I ssh into the host, “docker volume ls” shows local docker volumes.

    In the GUI I can see local volumes attached to a container, if I navigate to the individual container first. But as far as I can tell, I can’t browse local volumes, or look for things like orphan volumes. I guess that makes sense if Rancher’s concept of a ‘volume’ is something cluster-wide, as opposed to docker’s concept of a (local) volume which is local to the host.

    Have I understood this correctly? For example, if I want to tidy up unused volumes, am I best using commands like “docker volume prune” directly on the host itself?

I did browse the Storage drivers in the catalog, but it seems they are mainly Netapp, Amazon and NFS.

Many thanks,

Brian.