[stork-users] [EXTERNAL] Re: Stork for kea container monitoring

Slawek Figiel slawek at isc.org
Wed Jul 10 10:16:42 UTC 2024


Yu,

 > My understanding is current kea docker is based upon Alpine Linux, 
but I don’t see any stork software for that version, only for Debian and 
RHEL.

You are right. I forgot that we haven't published the Alpine packages 
yet. We are blocked by the technical issues with fpm - tool that we use 
to build packages. It has poor support for APK, and the output packages 
are not accepted by CloudSmith.

We plan to handle this situation and migrate to another solution for 
building packages. You can track the progress at 
https://gitlab.isc.org/isc-projects/stork/-/issues/1114 and 
https://gitlab.isc.org/isc-projects/stork/-/issues/863 .
We discussed your problem at a recent team meeting. I hope it will be 
ready soon, but there are no guarantees.

Today, you have two options: You can build the Stork agent for Alpine on 
your own. It is not hard, but you need to do it on a machine with an 
Alpine system because Stork must be linked with libc-musl on Alpine, so 
you cannot use a binary linked with standard libc. You don't need to 
build the package; the executable only should be enough for your needs.
Alternatively, I can share with you the Alpine package built by our CI 
environment if you like.

 > Another question I have is that I found I had to pull the repo from 
gitlab to target machine and then run a script. After that I can see 
those images locally. But why Stork doesn’t just have all those images 
in some registry and we can just use docker pull to get them. Isn’t it 
more convenient? Or you want to give us the freedom to create a local 
registry?

Kea images are published in the CloudSmith Docker registry. You don't 
need to build them on your own. See 
https://gitlab.isc.org/isc-projects/kea-docker#using-official-kea-images-on-cloudsmith 
.

Regards,
Slawek

On 08/07/2024 15:48, Xiao, Yu (CCI-Atlanta) wrote:
> Hi Slawek,
> 
> Thank you for your prompt response and information! I am new to docker, 
> can you tell me more about how to extend the official Kea Docker image 
> and install the Stork agent inside it? My understanding is current kea 
> docker is based upon Alpine Linux, but I don’t see any stork software 
> for that version, only for Debian and RHEL.
> 
> Best Regards,
> 
> Yu
> 
> *From: *Stork-users <stork-users-bounces at lists.isc.org> on behalf of 
> Slawek Figiel <slawek at isc.org>
> *Date: *Monday, July 8, 2024 at 4:39 AM
> *To: *stork-users at lists.isc.org <stork-users at lists.isc.org>
> *Subject: *[EXTERNAL] Re: [stork-users] Stork for kea container monitoring
> 
> Hello Yu!
> 
> If you would like to set up Kea with Stork in Docker, you need to extend
> the official Kea Docker image and install the Stork agent inside it. You
> should also prepare a second container with the Stork server.
> 
> Unfortunately, there is no official guide yet on how to do it. We plan
> to write one and provide Docker images with Kea and Stork together in
> the near but undetermined future. I can try to help you if you have any
> questions.
> 
> You need to do two things to add Kea hooks to the Kea Docker image:
> 
> 1. Mount the hook files as volumes or extend the Docker image and copy
> them. The location can be any.
> 2. Modify the Kea configuration and provide the path to the hook under
> the `hooks-libraries` node. See
> 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%7C1304f4cf294045466c3e08dc9f298188%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638560247838502278%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=MFhAl%2FaHFlTJ36sWj6Wstz41y9J1XAv8rJkwqBWEVvE%3D&reserved=0 <https://kea.readthedocs.io/en/latest/arm/hooks.html#configuring-hook-libraries>
> .
> 
> Regards,
> Slawek
> 
> On 05/07/2024 16:12, Xiao, Yu (CCI-Atlanta) wrote:
>> Hi experts,
>> 
>> I want to use Stork to monitor my kea service which is running in some 
>> docker containers. My understanding is that we need to install Stork 
>> clients inside of those kea docker containers. But I don’t see how this 
>> part in the docker-kea document or Stork document, some indeed mentioned 
>> how to import Hooks. Can you provide some suggestions? Kea experts 
>> suggested me ask in this mailer as well maybe more Stork experts have 
>> considered this use and can answer my question.
>> 
>> Best Regards,
>> 
>> Yu
>> 
>> 
> -- 
> Stork-users mailing list
> Stork-users at lists.isc.org
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fstork-users&data=05%7C02%7Cyu.xiao%40cox.com%7C1304f4cf294045466c3e08dc9f298188%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638560247838510790%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=4KqQrSl7mdS2VeC7QrSy%2Bfvu77HchLNb%2FrX9wGijoGw%3D&reserved=0 <https://lists.isc.org/mailman/listinfo/stork-users>
> 


More information about the Stork-users mailing list