Skip to content

izaakdale/dinghy-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dinghy-agent

This repo is to be used in conjunction with https://github.com/izaakdale/dinghy-worker.

Dinghy is my attempt to create a distributed key value store using Serf (https://github.com/hashicorp/serf) and Raft (https://github.com/hashicorp/raft) taking inspiration from Kubernetes (k8s) etcd. The aim when starting this project was to gain a deeper understanding of distributed systems in general but also as research into the inner workings of k8s.

Get started

Point your terminal's docker-cli to the Docker Engine inside minikube

eval $(minikube docker-env)

Create the agent container

make docker

You will need to follow the instructions laid out here https://kubernetes.github.io/ingress-nginx/examples/grpc/ for gRPC Ingress. In a nutshell you will need server and client certificates from a trusted source available in the same namespace as the ingress controller. I have created my own CA for use locally named server-creds, as can be seen in the ingress yaml.

make up

This will deploy the deployment, service and ingress for the agent. Once this is done you can continue with deploying the workers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published