[Hawkular-dev] deploying HOSA without git cloning repo

Matt Wringe mwringe at redhat.com
Wed Apr 5 14:52:32 EDT 2017


----- Original Message -----
> From: "John Mazzitelli" <mazz at redhat.com>
> To: "Discussions around Hawkular development" <hawkular-dev at lists.jboss.org>
> Sent: Wednesday, 5 April, 2017 11:50:46 AM
> Subject: [Hawkular-dev] deploying HOSA without git cloning repo
> 
> <tl;dr>
> If you want to deploy HOSA, you need only this one command:
>    wget
>    https://raw.githubusercontent.com/hawkular/hawkular-openshift-agent/master/hack/deploy-openshift-agent.sh
>    && sh ./deploy-openshift-agent.sh
> </tl;dr>
> 
> I had a few people ask how to deploy the Hawkular OpenShift Agent, but when I
> tried to explain it, it seemed harder than it should be :)

Official Docs:
https://docs.openshift.org/latest/install_config/cluster_metrics.html#deploying-hawkular-openshift-agent

As handy as it is to use a bash script to deploy things, we don't in the docs for people who are not running on linux.

> For one, I don't want to ask people to git clone the source repo because you
> don't really need to (the docker image is on docker hub so you don't have to
> build anything). You really just need the commands the Makefile performs and
> you need a couple yaml files for the openshift templates. But even that gets
> too confusing ("download these two files, run these commands you see in the
> Makefile").
> 
> So I wrote a small script that does it for you. So if you want to deploy
> HOSA, just grab this script and run it. Should take care of everything:
> 
> https://github.com/hawkular/hawkular-openshift-agent/blob/master/hack/deploy-openshift-agent.sh
> 
> The comments at the top provide additional details.
> 
> You can use wget to pull that file from github and then you can run it. So
> this command should be all you need to deploy an agent:
> 
>    wget
>    https://raw.githubusercontent.com/hawkular/hawkular-openshift-agent/master/hack/deploy-openshift-agent.sh
>    && sh ./deploy-openshift-agent.sh
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
> 


More information about the hawkular-dev mailing list