# \#kubernetes

**URL:** https://forum.elixirforum.com/tag/kubernetes/683.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [KubernetesProbes - liveness/readiness probes for Phoenix, built on OTP's shutdown sequence](https://forum.elixirforum.com/t/kubernetesprobes-liveness-readiness-probes-for-phoenix-built-on-otps-shutdown-sequence/76440)

<div class="topic-metadata">

**Author:** [@roeland](https://forum.elixirforum.com/u/roeland)\
**Replies:** 0\
**Last updated:** [August 24, 2026, 1:17am UTC](https://forum.elixirforum.com/t/kubernetesprobes-liveness-readiness-probes-for-phoenix-built-on-otps-shutdown-sequence/76440 "2026-08-24T01:17:37Z")

</div>

We built this at Pandosearch to replace an older library of ours, traffic\_drain\_plug, after a review turned up a handful of real bugs in it. We also realised it was ~260 lines wrapping graceful\_stop to reimplement machin…

---

## [Production Phoenix LiveView on cloud-agnostic Kubernetes](https://forum.elixirforum.com/t/production-phoenix-liveview-on-cloud-agnostic-kubernetes/58988)

<div class="topic-metadata">

**Author:** [@MarthinL](https://forum.elixirforum.com/u/MarthinL)\
**Replies:** 30\
**Last updated:** [July 5, 2025, 12:53pm UTC](https://forum.elixirforum.com/t/production-phoenix-liveview-on-cloud-agnostic-kubernetes/58988 "2025-07-05T12:53:37Z")

</div>

For context, my quest was and remains to design, implement and self-host a new live-view app in such a way that whether it grows slowly or rapidly I can scale both horizontally and vertically using whatever cloud or bare…

---

## [ClusterHelper - Library map role of nodes to node's name for building a dynamic Elixir cluster on K8s](https://forum.elixirforum.com/t/clusterhelper-library-map-role-of-nodes-to-nodes-name-for-building-a-dynamic-elixir-cluster-on-k8s/70107)

<div class="topic-metadata">

**Author:** [@manhvu](https://forum.elixirforum.com/u/manhvu)\
**Replies:** 0\
**Last updated:** [March 24, 2025, 6:20am UTC](https://forum.elixirforum.com/t/clusterhelper-library-map-role-of-nodes-to-nodes-name-for-building-a-dynamic-elixir-cluster-on-k8s/70107 "2025-03-24T06:20:42Z")

</div>

ClusterHelper work like a registry for mapping a role(or Id if needed) to node name of Elixir for call rpc or do other things inside cluster. The library is built on top of :syn lib. Roles of each node will be synced & …

---

## [Phoenix can't resolve DNS inside AKS pod](https://forum.elixirforum.com/t/phoenix-cant-resolve-dns-inside-aks-pod/69804)

<div class="topic-metadata">

**Author:** [@MaxDac](https://forum.elixirforum.com/u/MaxDac)\
**Replies:** 0\
**Last updated:** [March 6, 2025, 7:42pm UTC](https://forum.elixirforum.com/t/phoenix-cant-resolve-dns-inside-aks-pod/69804 "2025-03-06T19:42:29Z")

</div>

I’m having an odd problem with DNS resolution on a Kubernetes pod container with a Phoenix app. Azure deployment configuration I am trying to deploy a Phoenix app using a Postgres DB on Kubernetes on Azure: The Kubern…

---

## [Infrastructure as code deployment options in 2024?](https://forum.elixirforum.com/t/infrastructure-as-code-deployment-options-in-2024/60523)

<div class="topic-metadata">

**Author:** [@jeffdeville](https://forum.elixirforum.com/u/jeffdeville)\
**Replies:** 33\
**Last updated:** [March 22, 2024, 9:52pm UTC](https://forum.elixirforum.com/t/infrastructure-as-code-deployment-options-in-2024/60523 "2024-03-22T21:52:00Z")

</div>

Curious what people think about where to host moderately complicated applications these days. (To scope that, I’ve got 2 multi-tenant phoenix apis, 3 postgres db servers, 2 small independent little services, rabbitmq, an…

---

## [Kubegen - Generate resource based Kubernetes clients](https://forum.elixirforum.com/t/kubegen-generate-resource-based-kubernetes-clients/62592)

<div class="topic-metadata">

**Author:** [@mruoss](https://forum.elixirforum.com/u/mruoss)\
**Replies:** 1\
**Last updated:** [December 13, 2024, 9:04pm UTC](https://forum.elixirforum.com/t/kubegen-generate-resource-based-kubernetes-clients/62592 "2024-12-13T21:04:22Z")

</div>

Kubegen generates Kubernetes clients in the form of resource based client modules directly into your project. I have been co-maintaining the k8s library for some time now and while it is very dynamic and mighty, I alway…

---

## [Podcast: Thinking Elixir 230 - Hot k8s Takes and Self-Hosting](https://forum.elixirforum.com/t/podcast-thinking-elixir-230-hot-k8s-takes-and-self-hosting/67702)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [November 26, 2024, 12:55pm UTC](https://forum.elixirforum.com/t/podcast-thinking-elixir-230-hot-k8s-takes-and-self-hosting/67702 "2024-11-26T12:55:12Z")

</div>

Episode 230 of Thinking Elixir. News includes episodes now available on YouTube, Parker Selbert’s experience transitioning an app from the cloud to self-hosted, Gleam v1.6.0 release with context-aware features, José Vali…

---

## [Using Phoenix socket / LiveView in a horizontally scaled application](https://forum.elixirforum.com/t/using-phoenix-socket-liveview-in-a-horizontally-scaled-application/67064)

<div class="topic-metadata">

**Author:** [@acrolink](https://forum.elixirforum.com/u/acrolink)\
**Replies:** 8\
**Last updated:** [November 1, 2024, 1:53pm UTC](https://forum.elixirforum.com/t/using-phoenix-socket-liveview-in-a-horizontally-scaled-application/67064 "2024-11-01T13:53:33Z")

</div>

Hi, I am developing a chat-bot using Phoenix and LiveView. My question, as the application gets more users, I will have to scale it up by adding more machines (using Kubernetes, AWS Elastic Beanstalk, AWS ECS etc). Woul…

---

## [How to connect nodes in Kubernetes before application startup?](https://forum.elixirforum.com/t/how-to-connect-nodes-in-kubernetes-before-application-startup/65877)

<div class="topic-metadata">

**Author:** [@janp](https://forum.elixirforum.com/u/janp)\
**Replies:** 2\
**Last updated:** [September 5, 2024, 7:29am UTC](https://forum.elixirforum.com/t/how-to-connect-nodes-in-kubernetes-before-application-startup/65877 "2024-09-05T07:29:10Z")

</div>

I am wondering whether it is possible to use distributed Erlang plus libcluster in kubernetes? :thinking: I tried it with the following setup: StatefulSet (with 3 replicas) example@example-0.example-headless.default.…

---

## [Flame\_k8s\_backend - a FLAME Backend for Kubernetes](https://forum.elixirforum.com/t/flame-k8s-backend-a-flame-backend-for-kubernetes/60346)

<div class="topic-metadata">

**Author:** [@mruoss](https://forum.elixirforum.com/u/mruoss)\
**Replies:** 24\
**Last updated:** [August 13, 2024, 7:41pm UTC](https://forum.elixirforum.com/t/flame-k8s-backend-a-flame-backend-for-kubernetes/60346 "2024-08-13T19:41:57Z")

</div>

I’m working on the FLAME Backend for Kubernetes. In my current PR, I’d like to allow for better control over the runner pod manifest. The current approach basically offers 2 ways of controlling the runner pod manifest. …

---

## [LiveView failed to connect to the server in a staging environment](https://forum.elixirforum.com/t/liveview-failed-to-connect-to-the-server-in-a-staging-environment/63702)

<div class="topic-metadata">

**Author:** [@DaAnalyst](https://forum.elixirforum.com/u/DaAnalyst)\
**Replies:** 0\
**Last updated:** [May 21, 2024, 3:07pm UTC](https://forum.elixirforum.com/t/liveview-failed-to-connect-to-the-server-in-a-staging-environment/63702 "2024-05-21T15:07:06Z")

</div>

We have recently deployed to a staging environment (AWS, Kubernetes) and at one point while manually testing the app, there occurred an issue that I’ve never experienced before or after. Namely, after playing a while wi…

---

## [Metrics for triggering HPA on Kubernetes deployment](https://forum.elixirforum.com/t/metrics-for-triggering-hpa-on-kubernetes-deployment/60800)

<div class="topic-metadata">

**Author:** [@aloukissas](https://forum.elixirforum.com/u/aloukissas)\
**Replies:** 0\
**Last updated:** [January 5, 2024, 8:52pm UTC](https://forum.elixirforum.com/t/metrics-for-triggering-hpa-on-kubernetes-deployment/60800 "2024-01-05T20:52:21Z")

</div>

For those who deploy your Phoenix app on Kubernetes: what metric(s) are you using to trigger horizontal pod autoscaling? In my case where most of the traffic is serving GraphQL requests, it looks like memory is a good pr…

---

## [Creating a cluster with libcluster and Kubernetes](https://forum.elixirforum.com/t/creating-a-cluster-with-libcluster-and-kubernetes/60544)

<div class="topic-metadata">

**Author:** [@julismz](https://forum.elixirforum.com/u/julismz)\
**Replies:** 2\
**Last updated:** [January 3, 2024, 5:47pm UTC](https://forum.elixirforum.com/t/creating-a-cluster-with-libcluster-and-kubernetes/60544 "2024-01-03T17:47:16Z")

</div>

I’m having problems creating a cluster with libcluster and K8S… The error I’m having is: \`\[warning\] \[libcluster:k8s\] unable to connect to :"foo@10.244.2.106": not part of network These are my kubernetes configs: apiV…

---

## [KinoK8sTerm - A Livebook Smart Cell rendering a terminal to connect to a Kubernetes Pod](https://forum.elixirforum.com/t/kinok8sterm-a-livebook-smart-cell-rendering-a-terminal-to-connect-to-a-kubernetes-pod/52676)

<div class="topic-metadata">

**Author:** [@mruoss](https://forum.elixirforum.com/u/mruoss)\
**Replies:** 3\
**Last updated:** [November 14, 2023, 7:41am UTC](https://forum.elixirforum.com/t/kinok8sterm-a-livebook-smart-cell-rendering-a-terminal-to-connect-to-a-kubernetes-pod/52676 "2023-11-14T07:41:19Z")

</div>

kino\_k8s is a Kino/Smart Cell using kubereq to perform operations on your Kubernetes Cluster. It even lets you connect into a running Pod and run a shell - using Xterm.js for rendering the web terminal.

---

## [Phoenix/Elixir app on K8S resources](https://forum.elixirforum.com/t/phoenix-elixir-app-on-k8s-resources/58933)

<div class="topic-metadata">

**Author:** [@xgeek116](https://forum.elixirforum.com/u/xgeek116)\
**Replies:** 0\
**Last updated:** [October 12, 2023, 2:35pm UTC](https://forum.elixirforum.com/t/phoenix-elixir-app-on-k8s-resources/58933 "2023-10-12T14:35:25Z")

</div>

Hello, I’m deploying my applications on K8S, and I think they consume many resources, this is how I define them in my deployment.yaml file : resources: requests: memory: "256Mi" …

---

## [Kubernetes deployments of Phoenix apps](https://forum.elixirforum.com/t/kubernetes-deployments-of-phoenix-apps/48684)

<div class="topic-metadata">

**Author:** [@hauks96](https://forum.elixirforum.com/u/hauks96)\
**Replies:** 3\
**Last updated:** [September 29, 2023, 3:30pm UTC](https://forum.elixirforum.com/t/kubernetes-deployments-of-phoenix-apps/48684 "2023-09-29T15:30:25Z")

</div>

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 …

---

## [Kompost - A Kubernetes Operator written in Elixir](https://forum.elixirforum.com/t/kompost-a-kubernetes-operator-written-in-elixir/57108)

<div class="topic-metadata">

**Author:** [@mruoss](https://forum.elixirforum.com/u/mruoss)\
**Replies:** 0\
**Last updated:** [July 17, 2023, 6:29pm UTC](https://forum.elixirforum.com/t/kompost-a-kubernetes-operator-written-in-elixir/57108 "2023-07-17T18:29:34Z")

</div>

TL;DR I’ve build Kompost, a Kubernetes Operator written in Elixir. Kompost is meant to be a “fertiliser” for development teams running their services/application in Kubernetes. It gives them the ability to manage certain…

---

## [Performance of Erlang/Elixir in Docker/Kubernetes](https://forum.elixirforum.com/t/performance-of-erlang-elixir-in-docker-kubernetes/21493)

<div class="topic-metadata">

**Author:** [@ellispritchard](https://forum.elixirforum.com/u/ellispritchard)\
**Replies:** 24\
**Last updated:** [September 28, 2022, 11:27am UTC](https://forum.elixirforum.com/t/performance-of-erlang-elixir-in-docker-kubernetes/21493 "2022-09-28T11:27:46Z")

</div>

Has anyone else observed throttling of Erlang or Elixir processes running in Kubernetes (or other Docker orchestration platforms)? I’ve observed this in production a while ago (on a system I no longer have access to), b…

---

## [When should one think of Kubernetes like scaling up and down?](https://forum.elixirforum.com/t/when-should-one-think-of-kubernetes-like-scaling-up-and-down/44638)

<div class="topic-metadata">

**Author:** [@TwistingTwists](https://forum.elixirforum.com/u/TwistingTwists)\
**Replies:** 3\
**Last updated:** [December 27, 2021, 7:54am UTC](https://forum.elixirforum.com/t/when-should-one-think-of-kubernetes-like-scaling-up-and-down/44638 "2021-12-27T07:54:46Z")

</div>

I read this post : https://forum.elixirforum.com/t/is-an-app-with-3000-microservices-a-fit-for-elixir-otp-over-kubernetes-grpc My takeway = I don’t need my elixir / phoenix app to scale (via kubernetes) until I hit a li…

---

## [Kubernetes and the Erlang VM: orchestration on the large and the small, by José Valim](https://forum.elixirforum.com/t/kubernetes-and-the-erlang-vm-orchestration-on-the-large-and-the-small-by-jose-valim/25786)

<div class="topic-metadata">

**Author:** [@pillaiindu](https://forum.elixirforum.com/u/pillaiindu)\
**Replies:** 21\
**Last updated:** [April 26, 2021, 12:56am UTC](https://forum.elixirforum.com/t/kubernetes-and-the-erlang-vm-orchestration-on-the-large-and-the-small-by-jose-valim/25786 "2021-04-26T00:56:02Z")

</div>

Our very handsome and humble José Valim (@josevalim) just published Kubernetes and the Erlang VM: orchestration on the large and the small. It’s a very nice read, and I’m sure you guys will love it. After reading this…

---

## [How to handle I global processes in blue-green deployments](https://forum.elixirforum.com/t/how-to-handle-i-global-processes-in-blue-green-deployments/39124)

<div class="topic-metadata">

**Author:** [@askasp](https://forum.elixirforum.com/u/askasp)\
**Replies:** 0\
**Last updated:** [April 21, 2021, 10:50am UTC](https://forum.elixirforum.com/t/how-to-handle-i-global-processes-in-blue-green-deployments/39124 "2021-04-21T10:50:22Z")

</div>

I have a global process in an elixir cluster. It subscribes to EventStore, and it is global as I do not want the event to be received by multiple nodes. However, we are considering using blue-green deployments in the …

---

## [Migrations not being run/detected on a deployed mix release](https://forum.elixirforum.com/t/migrations-not-being-run-detected-on-a-deployed-mix-release/38680)

<div class="topic-metadata">

**Author:** [@terenceponce](https://forum.elixirforum.com/u/terenceponce)\
**Replies:** 3\
**Last updated:** [April 5, 2021, 3:03am UTC](https://forum.elixirforum.com/t/migrations-not-being-run-detected-on-a-deployed-mix-release/38680 "2021-04-05T03:03:06Z")

</div>

I’m running a Phoenix app on a Kubernetes cluster (through Digital Ocean) and I was able to deploy my app with minimal issues for the most part. However, for some reason, calling Ecto.Migrator keeps saying “migrations a…

---

## [Deploy script no longer working without python](https://forum.elixirforum.com/t/deploy-script-no-longer-working-without-python/33544)

<div class="topic-metadata">

**Author:** [@sobojack](https://forum.elixirforum.com/u/sobojack)\
**Replies:** 4\
**Last updated:** [August 5, 2020, 1:26pm UTC](https://forum.elixirforum.com/t/deploy-script-no-longer-working-without-python/33544 "2020-08-05T13:26:01Z")

</div>

I have a Phoenix app that I am deploy to Kuberenetes. My deploy script was working fine then all of a sudden it started erroring out asking for python. I tried adding adp add python but that did not help. I am using bi…

---

## [Performance issue when running in Kubernetes](https://forum.elixirforum.com/t/performance-issue-when-running-in-kubernetes/31239)

<div class="topic-metadata">

**Author:** [@Kalaww](https://forum.elixirforum.com/u/Kalaww)\
**Replies:** 13\
**Last updated:** [May 6, 2020, 10:46pm UTC](https://forum.elixirforum.com/t/performance-issue-when-running-in-kubernetes/31239 "2020-05-06T22:46:07Z")

</div>

Hello, I have performance issue when running my elixir app in kubernetes. I have a function that do a query to cassandra and them decode the result. The average execution time of the query is around 2ms and 1ms for deco…

---

## [Kubernetes + libcluster help (GKE)](https://forum.elixirforum.com/t/kubernetes-libcluster-help-gke/18946)

<div class="topic-metadata">

**Author:** [@9mm](https://forum.elixirforum.com/u/9mm)\
**Replies:** 8\
**Last updated:** [May 2, 2020, 2:21pm UTC](https://forum.elixirforum.com/t/kubernetes-libcluster-help-gke/18946 "2020-05-02T14:21:57Z")

</div>

Hi, I want to get my Elixir app to run with libcluster on Google Kubernetes Engine. I found a similar article that’s somewhat related. This article talks about how to create a “headless service” that returns all the p…

---

## [Kubernetes: How do you prefer your multinode releases?](https://forum.elixirforum.com/t/kubernetes-how-do-you-prefer-your-multinode-releases/30392)

<div class="topic-metadata">

**Author:** [@hpopp](https://forum.elixirforum.com/u/hpopp)\
**Replies:** 0\
**Last updated:** [April 6, 2020, 7:40am UTC](https://forum.elixirforum.com/t/kubernetes-how-do-you-prefer-your-multinode-releases/30392 "2020-04-06T07:40:44Z")

</div>

How are you deploying your releases when containers need to connect to each other? poll Taking a poll because I’m curious how the community handles this. Currently at Codedge we use exclusively deployments, linking cont…

---

## [Elixir/Phoenix Channel based chat application](https://forum.elixirforum.com/t/elixir-phoenix-channel-based-chat-application/29984)

<div class="topic-metadata">

**Author:** [@meraj\_enigma](https://forum.elixirforum.com/u/meraj_enigma)\
**Replies:** 8\
**Last updated:** [March 26, 2020, 7:27pm UTC](https://forum.elixirforum.com/t/elixir-phoenix-channel-based-chat-application/29984 "2020-03-26T19:27:06Z")

</div>

Hello, I am currently investigating into writing a real time chat application in Elixir/Phoenix. I have a few queries before I jump into choosing a particular technology. Please see and answer my below queries - Is W…

---

## [HTTPS with Phoenix, Ecto and Absinthe on GCP's GKE](https://forum.elixirforum.com/t/https-with-phoenix-ecto-and-absinthe-on-gcps-gke/29945)

<div class="topic-metadata">

**Author:** [@tjdam](https://forum.elixirforum.com/u/tjdam)\
**Replies:** 4\
**Last updated:** [March 22, 2020, 3:51am UTC](https://forum.elixirforum.com/t/https-with-phoenix-ecto-and-absinthe-on-gcps-gke/29945 "2020-03-22T03:51:06Z")

</div>

This may not be the right forum to ask this as the question might not be strictly Elixir related, but since I have no clue, here it goes: I just deployed an OTP release on Google Kubernetes Engine which is a Phoenix app…

---

## [Update distributed stateful elixir apps in kubernetes](https://forum.elixirforum.com/t/update-distributed-stateful-elixir-apps-in-kubernetes/19644)

<div class="topic-metadata">

**Author:** [@alvises](https://forum.elixirforum.com/u/alvises)\
**Replies:** 24\
**Last updated:** [January 24, 2020, 8:56am UTC](https://forum.elixirforum.com/t/update-distributed-stateful-elixir-apps-in-kubernetes/19644 "2020-01-24T08:56:51Z")

</div>

I’ve read different threads in the forum about elixir and docker, like Elixir applications in Docker containers?, and I opened this thread to open a discussion about a specific case which is still a bit unsolved to me: u…

---

## [How to scale Elixir and how does it compare to something like Golang and Kubernetes?](https://forum.elixirforum.com/t/how-to-scale-elixir-and-how-does-it-compare-to-something-like-golang-and-kubernetes/27888)

<div class="topic-metadata">

**Author:** [@Jeykey](https://forum.elixirforum.com/u/Jeykey)\
**Replies:** 5\
**Last updated:** [December 30, 2019, 11:32pm UTC](https://forum.elixirforum.com/t/how-to-scale-elixir-and-how-does-it-compare-to-something-like-golang-and-kubernetes/27888 "2019-12-30T23:32:47Z")

</div>

I always hear people talking about how efficient and scalable Elixir and Phoenix are, but I cant find any real tutorials on how to do it? As far as I can tell I need all instances to be in one application in order for ch…

[Next page](https://forum.elixirforum.com/tag/kubernetes/683.md?match_all_tags=true&page=1&tags%5B%5D=kubernetes)
