<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:"\@PMingLiU";
panose-1:2 1 6 1 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Slawek,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thank you very much for your detailed explanation! Regarding to your response, I have some further questions:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">“ You can build the Stork agent for Alpine on
<br>
your own. It is not hard, but you need to do it on a machine with an <br>
Alpine system because Stork must be linked with libc-musl on Alpine, so <br>
you cannot use a binary linked with standard libc. You don't need to <br>
build the package; the executable only should be enough for your needs.”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Yu: Can you please explain the general steps on this? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><br>
“Alternatively, I can share with you the Alpine package built by our CI <br>
environment if you like.”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><br>
</span><span style="font-size:11.0pt">Yu: Yes, please! I can use it for my lab for now and wait to figure out how to do the above procedures or the formal release.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Yu<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Slawek Figiel <slawek@isc.org><br>
<b>Date: </b>Wednesday, July 10, 2024 at 6:16</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span><span style="font-size:12.0pt;color:black">AM<br>
<b>To: </b>Xiao, Yu (CCI-Atlanta) <yu.xiao@cox.com>, stork-users@lists.isc.org <stork-users@lists.isc.org><br>
<b>Subject: </b>Re: [EXTERNAL] Re: [stork-users] Stork for kea container monitoring<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Yu,<br>
<br>
> My understanding is current kea docker is based upon Alpine Linux, <br>
but I don’t see any stork software for that version, only for Debian and <br>
RHEL.<br>
<br>
You are right. I forgot that we haven't published the Alpine packages <br>
yet. We are blocked by the technical issues with fpm - tool that we use <br>
to build packages. It has poor support for APK, and the output packages <br>
are not accepted by CloudSmith.<br>
<br>
We plan to handle this situation and migrate to another solution for <br>
building packages. You can track the progress at <br>
<a href="https://gitlab.isc.org/isc-projects/stork/-/issues/1114">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.isc.org%2Fisc-projects%2Fstork%2F-%2Fissues%2F1114&data=05%7C02%7Cyu.xiao%40cox.com%7Cb13e261150574416346d08dca0c96994%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638562034126462874%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=bGnznEltGDd5Mx86JhvU0PuK0TTdGU5xuEVbbhiGHYk%3D&reserved=0</a>
and <br>
<a href="https://gitlab.isc.org/isc-projects/stork/-/issues/863">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.isc.org%2Fisc-projects%2Fstork%2F-%2Fissues%2F863&data=05%7C02%7Cyu.xiao%40cox.com%7Cb13e261150574416346d08dca0c96994%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638562034126471084%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=S%2F6910Cf1S8DbXpnAJR7aVX6wX4Jtem6kf6b8oJ9EXs%3D&reserved=0</a>
.<br>
We discussed your problem at a recent team meeting. I hope it will be <br>
ready soon, but there are no guarantees.<br>
<br>
Today, you have two options: You can build the Stork agent for Alpine on <br>
your own. It is not hard, but you need to do it on a machine with an <br>
Alpine system because Stork must be linked with libc-musl on Alpine, so <br>
you cannot use a binary linked with standard libc. You don't need to <br>
build the package; the executable only should be enough for your needs.<br>
Alternatively, I can share with you the Alpine package built by our CI <br>
environment if you like.<br>
<br>
> Another question I have is that I found I had to pull the repo from <br>
gitlab to target machine and then run a script. After that I can see <br>
those images locally. But why Stork doesn’t just have all those images <br>
in some registry and we can just use docker pull to get them. Isn’t it <br>
more convenient? Or you want to give us the freedom to create a local <br>
registry?<br>
<br>
Kea images are published in the CloudSmith Docker registry. You don't <br>
need to build them on your own. See <br>
<a href="https://gitlab.isc.org/isc-projects/kea-docker#using-official-kea-images-on-cloudsmith">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.isc.org%2Fisc-projects%2Fkea-docker%23using-official-kea-images-on-cloudsmith&data=05%7C02%7Cyu.xiao%40cox.com%7Cb13e261150574416346d08dca0c96994%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638562034126476921%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=voK17Ad%2FH%2FsZ6QyHBpQz2xJ5GMVN9Gz1Ap%2Fr4LeJ1Zg%3D&reserved=0</a>
<br>
.<br>
<br>
Regards,<br>
Slawek<br>
<br>
On 08/07/2024 15:48, Xiao, Yu (CCI-Atlanta) wrote:<br>
> Hi Slawek,<br>
> <br>
> Thank you for your prompt response and information! I am new to docker, <br>
> can you tell me more about how to extend the official Kea Docker image <br>
> and install the Stork agent inside it? My understanding is current kea <br>
> docker is based upon Alpine Linux, but I don’t see any stork software <br>
> for that version, only for Debian and RHEL.<br>
> <br>
> Best Regards,<br>
> <br>
> Yu<br>
> <br>
> *From: *Stork-users <stork-users-bounces@lists.isc.org> on behalf of <br>
> Slawek Figiel <slawek@isc.org><br>
> *Date: *Monday, July 8, 2024 at 4:39</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:11.0pt">AM<br>
> *To: *stork-users@lists.isc.org <stork-users@lists.isc.org><br>
> *Subject: *[EXTERNAL] Re: [stork-users] Stork for kea container monitoring<br>
> <br>
> Hello Yu!<br>
> <br>
> If you would like to set up Kea with Stork in Docker, you need to extend<br>
> the official Kea Docker image and install the Stork agent inside it. You<br>
> should also prepare a second container with the Stork server.<br>
> <br>
> Unfortunately, there is no official guide yet on how to do it. We plan<br>
> to write one and provide Docker images with Kea and Stork together in<br>
> the near but undetermined future. I can try to help you if you have any<br>
> questions.<br>
> <br>
> You need to do two things to add Kea hooks to the Kea Docker image:<br>
> <br>
> 1. Mount the hook files as volumes or extend the Docker image and copy<br>
> them. The location can be any.<br>
> 2. Modify the Kea configuration and provide the path to the hook under<br>
> the `hooks-libraries` node. See<br>
> <a href="https://kea.readthedocs.io/en/latest/arm/hooks.html#configuring-hook-libraries">
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkea.readthedocs.io%2Fen%2Flatest%2Farm%2Fhooks.html%23configuring-hook-libraries&data=05%7C02%7Cyu.xiao%40cox.com%7Cb13e261150574416346d08dca0c96994%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638562034126481582%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=m%2BnUEoExkLOPilpJF55M%2FFdoAWjcE3asptiX4QWO2P0%3D&reserved=0</a>
<<a href="https://kea.readthedocs.io/en/latest/arm/hooks.html#configuring-hook-libraries">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkea.readthedocs.io%2Fen%2Flatest%2Farm%2Fhooks.html%23configuring-hook-libraries&data=05%7C02%7Cyu.xiao%40cox.com%7Cb13e261150574416346d08dca0c96994%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638562034126485954%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=m0cu8YWApgkLI0pCwoCcXQ1YE8lNBCTrDgp9w0Lrmpw%3D&reserved=0</a>><br>
> .<br>
> <br>
> Regards,<br>
> Slawek<br>
> <br>
> On 05/07/2024 16:12, Xiao, Yu (CCI-Atlanta) wrote:<br>
>> Hi experts,<br>
>> <br>
>> I want to use Stork to monitor my kea service which is running in some <br>
>> docker containers. My understanding is that we need to install Stork <br>
>> clients inside of those kea docker containers. But I don’t see how this <br>
>> part in the docker-kea document or Stork document, some indeed mentioned <br>
>> how to import Hooks. Can you provide some suggestions? Kea experts <br>
>> suggested me ask in this mailer as well maybe more Stork experts have <br>
>> considered this use and can answer my question.<br>
>> <br>
>> Best Regards,<br>
>> <br>
>> Yu<br>
>> <br>
>> <br>
> -- <br>
> Stork-users mailing list<br>
> Stork-users@lists.isc.org<br>
> <a href="https://lists.isc.org/mailman/listinfo/stork-users">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fstork-users&data=05%7C02%7Cyu.xiao%40cox.com%7Cb13e261150574416346d08dca0c96994%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638562034126490051%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=kK8u%2Bs7aeMABI3xxhFus4%2FBo9GP5PRc%2FeFPuoCkdGb8%3D&reserved=0</a>
<<a href="https://lists.isc.org/mailman/listinfo/stork-users">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fstork-users&data=05%7C02%7Cyu.xiao%40cox.com%7Cb13e261150574416346d08dca0c96994%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638562034126493865%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Pg3D5gcvpPuUvvVD8oNiad3l90I1bC8yQAsFN24Cg68%3D&reserved=0</a>><br>
> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>