Skip to content

IMMORTALxJO/k8s-gethostbyname-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gethostbyname Caching in Kubernetes

This repo outlines several approaches to implement caching for the gethostbyname function within Kubernetes environments.

Approaches

  • Description: Wrap the gethostbyname function with caching behavior by utilizing a library that is preloaded inside a container via LD_PRELOAD.
  • Description: Implement a global DNS cache. Inside the container, a library preloaded with LD_PRELOAD facilitates communication with the global DNS cache through a Unix socket.

About

DNS cache inside every k8s pod

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published