Skip to content

An example project that has ephemeral pods in a kubernetes deployment talk to a kubernetes service which forwards the request to ephemeral server pods.

License

Notifications You must be signed in to change notification settings

monoclex/kubernetes-client-server-example

Repository files navigation

Server -> Client Kubernetes Configuration

This project is a small endeavour into kubernetes configuration, at getting a server setup that clients can connect and make requests too.

Much of the thanks belongs to this article, for helping outline the fundumental concepts of Kubernetes. In addition, Kubernetes documentation was useful for services and for creating deployments.

The way this project is architected is as follows:

Architecture

Ephemeral clients are deployed, which will contact the service http://kubeserver which will get transformed by CoreDNS (kubernetes DNS server) into the IP address of the pod on the server, which the clients then connect to.

This project has a setup script (start.sh) which should work out of the box and deploy the setup, but it may need some tweaking. It should be a good start though, if you're struggling like I was.

About

An example project that has ephemeral pods in a kubernetes deployment talk to a kubernetes service which forwards the request to ephemeral server pods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published