On 20/04/15 09:57 AM, Viet Nguyen wrote:
Matt,
I was the last person who worked on that Docker build for Hawkular-metrics. Yes, it is
obsolete and can be removed.
FYI there's an automated Docker build of Kettle in DockerHub and a continuous
deployment to a Kubernetes cluster
Docker Hub:
https://registry.hub.docker.com/u/hawkular/hawkular/
CI Pipeline:
https://docs.google.com/presentation/d/14zqOHOvXAB4uN7W_fWOub3ZD6txiS_Vp9...
I went through and have the docker images being built using a docker
maven plugin. So during the maven build, you can create the image and
push it out to a registry.
It works great on a local machine, one maven build and I have the docker
images and kubernetes application zip created. But looking at how the
current CI is done, it might not have been the best solution (it would
require the credentials of the docker hub user to be added into the CI
setup somewhere).
It might make more sense to do it the way the current CI is setup with
the kettle builds. Anyone have any preferences?
Viet
----- Original Message -----
From: "Matt Wringe" <mwringe(a)redhat.com>
To: hawkular-dev(a)lists.jboss.org
Sent: Friday, April 17, 2015 3:44:12 PM
Subject: [Hawkular-dev] Hawkular Metrics Openshift Containers
I have a new subproject in Hawkular Metrics which sets up creating
components for Openshift/Fabric8
(
https://github.com/hawkular/hawkular-metrics/pull/200).
There are 3 main parts
Cassandra: creates a custom seed provider to support
ReplicationControllers in Kubernetes, creates a folder/zip archive which
can be used to generate a Docker image. It may make sense to move the
Cassandra parts out to a separate project.
Hawkular Metrics: creates a folder/zip archive which can be used to
generate a Docker image
Kubernetes: pulls everything together into a single kubernetes
application. Can be used to deploy an application zip into fabric8 (via
drag and drop in the web console or via the maven plugin) or deploy all
the components into Openshift via the kubernetes.json configuration file.
The docker images are not created and deployed to a docker registry as
part of the build, it will just create a folder where you can run the
docker build from. None of the maven docker plugins I looked at seemed
to really work properly, so its still a manual process to do the build
(and push to a registry). Its something which needs to be improved.
The Cassandra service currently only supports adding new nodes to a
cluster and not removing them via the ReplicationController. This is due
to the replication factor being set to be 1 by default (which means when
a node is removed, so is the data it contained).
I believe the docker subproject of hawkular metrics is obsolete and can
be removed
(
https://github.com/hawkular/hawkular-metrics/tree/master/docker), but
someone please correct me if I am wrong. It's scripts are referring to
the console which no longer exists as part of the project.
- Matt
_______________________________________________
hawkular-dev mailing list
hawkular-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev
_______________________________________________
hawkular-dev mailing list
hawkular-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev