pcp
[Top] [All Lists]

Re: pcp updates: Makepkgs --with-containers and associated build infrast

To: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Subject: Re: pcp updates: Makepkgs --with-containers and associated build infrastructure
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Fri, 26 Jun 2015 14:48:20 -0400
Cc: Nathan Scott <nathans@xxxxxxxxxx>, pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <558CEC67.5040809@xxxxxxxxxx>
References: <5583C0EC.7040501@xxxxxxxxxx> <391355230.23163232.1434956942961.JavaMail.zimbra@xxxxxxxxxx> <558A51A3.7050806@xxxxxxxxxx> <y0mlhf7i6mw.fsf@xxxxxxxx> <558CEC67.5040809@xxxxxxxxxx>
User-agent: Mutt/1.4.2.2i
Hi, Mark -


> [...] Later, if newer PCP packages are released for the same version
> of Fedora, end-users can docker exec into a container of that image
> and upgrade PCP and/or whatever other packages. That can also enable
> non-default PMDAs and make configuration changes, etc.

(Or permanentish configuration changes could be expressed by end-users
as new container images (COPYing over /etc/pcp files in the
Dockerfile).)


> [...]
> >     docker run pcp-collector /etc/rc.d/rc_pmie
> >     docker run pcp-collector /etc/rc.d/rc_pmlogger
> >
> >One image, two containers running different software.
> 
> that would work, but it's kind of at odds with the RUN label and
> layering concepts used by atomic where container images are inexpensive
> snapshots of a base image, each with it's own RUN label [...]

Sure, the atomic labels function here like shell scripts creating
docker command line options.  (Docker per se doesn't have that
ability.)  So are we targeting atomic?


> [...]  Perhaps we should be thinking of PCP services as "the
> application" to be run in one container, much as you
> suggested. i.e. a 'collector' container image for the pmcd, pmlogger
> and pmie services, and a 'monitor' container image for the
> monitoring tools.  [...]

Or container(image)s as deployment scenarios: local collection only
(pmcd), local default pcp ops (pmcd + pmlogger + pmie), central
monitoring (-> pmmgr), web rendering (-> pmwebd) etc.


> sorry for waffling on so much, but we need to get this nailed down
> asap.

(Well, perhaps not ... random Dockerfiles are not in that high demand,
even if blessed by a project.  They are by design easy to build for
site-specific needs.  My guess is that others might use the pcp
build/container files as a model to emulate or get educated by, not
for actual deployment.)


- FChE

<Prev in Thread] Current Thread [Next in Thread>