Kubernetes and Elixir Part 3

In part one of this series I linked to an article on how to integrate Elixir with Kubernetes.

The steps so far:

  • – Create an elixir application
  • – Use slipway to create the Dockerfile
  • – Build the Dockerfile (and possibly test locally)

The next steps involve getting the docker image to a registry that Kubernetes can see.
One this has happened we need to create a kubernetes deployment.

This can be performed via kubectl apply see: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/

Presumably there is an equivalent using Helm see https://helm.sh/docs/intro/

Once we have a basic application running in K8S the trick is to cluster it correctly, but that is a later article.

Using and abusing Docker Registry and Minikube: https://minikube.sigs.k8s.io/docs/handbook/registry/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s