[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[atomic-devel] nss-kubernetes for service resolution



Unless you have DNS configured in kubernetes, software running in
container pods need to manually check environment variables in order to
talk with a kubernetes service.

This makes it possible to do that resolution automatically via glibc
nsswitch:

https://github.com/stefwalter/nss-kubernetes

Here's an example of guestbook that uses this:

https://github.com/stefwalter/cockpit/blob/01509004bec3134317dd4344e04bd77e5ff32114/pkg/kubernetes/examples/k8s-guestbook-app.json

Stef

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]