<div dir="ltr">Got it.<div><br></div><div>I'll try this method.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Mark Goddard <<a href="mailto:mark@stackhpc.com">mark@stackhpc.com</a>> 於 2019年6月28日 週五 下午4:13寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, 28 Jun 2019 at 02:21, Eddie Yen <<a href="mailto:missile0407@gmail.com" target="_blank">missile0407@gmail.com</a>> wrote:<br>
><br>
> Hi Jason, thanks for your quick reply.<br>
><br>
> I summarized my understanding, correct me if wrong.<br>
> Only I have to do is change the prometheus task files to use stein version's images inside kolla-ansible, then edit the launch command inside templates to stein release.<br>
<br>
You should use globals.yml to set any variables you wish to override.<br>
In your case:<br>
<br>
prometheus_tag: stein<br>
<br>
><br>
> Jason Anderson <<a href="mailto:jasonanderson@uchicago.edu" target="_blank">jasonanderson@uchicago.edu</a>> 於 2019年6月28日 週五 上午8:53寫道:<br>
>><br>
>> Hi Eddie,<br>
>><br>
>> On 6/27/19 7:32 PM, Eddie Yen wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I'm using stable/rocky from git now, but I want to build the prometheus images with latest version since there're few exporters that too previous that can't use most Grafana dashboards in default.<br>
>><br>
>> I already know I have to edit templates in kolla-ansible since the newer exporters has using the different launch commands. But Idk how to set the version because the document didn't say how to override the Dockerfile. Is that OK to change package version inside Dockerfile?<br>
>><br>
>> You can set the "prometheus_tag" variable to point to a different tag. It defaults to the value of "openstack_release", which in your case is probably "rocky". You can set it to "stein" to pull in Stein images for Prometheus, without affecting the versions of other components.<br>
>><br>
>> If you need to custom-build your container images, rather than using the ones pre-built and hosted on Docker Hub, then a different approach might be necessary.<br>
>><br>
>><br>
>> Many thanks,<br>
>> Eddie.<br>
>><br>
>> Cheers,<br>
>> /Jason<br>
</blockquote></div>