hauks96

hauks96

Hello everyone,

I created a deployment tutorial for Phoenix applications with Kubernetes (microk8s) a few months back with the goal of simplifying the lifecycle. It was meant to be implemented at the company I work for but in the startup world we live in, temporary implementations tend to stick, and the approach was never implemented.

It took quite some effort, and instead of letting it rot away in a dead repository I decided to share the implementation here as I found the topic to be quite under-documented on the internet. I have no mentionable experience with elixir or phoenix itself but I think the approach could be useful to others.

The implementation was integrated in a gitlab repository that is now publlic Phoenix Kubernetes integrations. Some of the documentation might be lacking since we ultimately canceled the integration, however the whole shebang is implemented around a default template phoenix app, and filling in the gaps should not be too hard.

Showing Posts 1 to 3

hauks96

hauks96 OP

I could also set up a simpler version of the kubernetes deployment if people are interested and just want to see how the k8s work with the phoenix app. This one is made for deploying to multiple environments by the use of environment variables and bash scripts.

pdgonzalez872

pdgonzalez872

@hauks96 the more content we have on this stuff the better! Please do! Thanks!

hauks96

hauks96 OP

Had some time recently to set up something much simpler and easier to follow than previously.

We’ve been running a similar setup in production over the past year now and It’s been an absolute pleasure to maintain. Give this project a look if you need some ideas on moving your deployments to kubernetes, you probably wont regret it!

— All posts loaded —

Where Next? Top

Trending in Guides/Tuts Top

c4lliope
# ~/src/livebook/.iex.exs System.cmd("xdg-open", [ LivebookWeb.Endpoint.access_url() ] ) Because Livebook requires a unique passcode on ...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews