Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Elixir, Kubernetes, and minikube
Miguel Cobá
Miguel Cobá

Posted on • Originally published atblog.miguelcoba.com

     

Elixir, Kubernetes, and minikube

A couple of weeks ago I presented my talk:

Elixir, Kubernetes, and minikube

in the Elixir Meetup #5 organized by the fine people on curiosum.com.

This talk is based on chapter 4 of my book"Deploying Elixir: Advanced Topics".

If you haven't gotten the book, this is an excellent way to see what the book is about.

Watch the recorded talk here:

About

I'mMiguel Cobá. I write about Elixir, Elm, Software Development, and eBook writing.

Top comments(9)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
michaeltharrington profile image
Michael Tharrington
I'm a friendly, non-dev, cisgender guy from NC who enjoys playing music/making noise, hiking, eating veggies, and hanging out with my best friend/wife + our 3 kitties + 1 greyhound.
  • Email
  • Location
    North Carolina
  • Education
    BFA in Creative Writing
  • Pronouns
    he/him
  • Work
    Senior Community Manager at DEV
  • Joined

Heyo,

Would you please consider embedding your video here instead of just linking to it? This way folks can see your content and discuss things on DEV without having to navigate elsewhere.

You might not have realized, but DEV actually allows folks to embed YouTube & Vimeo videos via Liquid Tags. For instance, writing:

{% embed https://www.youtube.com/watch?v=dQw4w9WgXcQ %}

Creates:

By the way, here's a link to theeditor guide where you can see other liquid tags and formatting options.

Hope this is helpful! 🙂

CollapseExpand
 
miguelcoba profile image
Miguel Cobá
I write about Elixir, Elm, and eBook writing.
  • Location
    Barcelona, Spain
  • Joined

Nice to know. Going to change it. Thanks Michael

CollapseExpand
 
miguelcoba profile image
Miguel Cobá
I write about Elixir, Elm, and eBook writing.
  • Location
    Barcelona, Spain
  • Joined

Changed it. Much better now. :)

Thread Thread
 
michaeltharrington profile image
Michael Tharrington
I'm a friendly, non-dev, cisgender guy from NC who enjoys playing music/making noise, hiking, eating veggies, and hanging out with my best friend/wife + our 3 kitties + 1 greyhound.
  • Email
  • Location
    North Carolina
  • Education
    BFA in Creative Writing
  • Pronouns
    he/him
  • Work
    Senior Community Manager at DEV
  • Joined

Awesome! No probs at all, happy to help!

CollapseExpand
 
ndrean profile image
NDREAN
  • Joined

A quick question. You don't make any use of the Erlang cookie. How is it so?

CollapseExpand
 
miguelcoba profile image
Miguel Cobá
I write about Elixir, Elm, and eBook writing.
  • Location
    Barcelona, Spain
  • Joined

It is because of the libcluster strategy used. That doesn't require any cookie to connect nodes among themselves. It uses DNS to get a list of server names and then connect them to form a cluster.

CollapseExpand
 
ndrean profile image
NDREAN
  • Joined

Ok! Thanks. On the use case of "native clusters", I understand that Channels need a native cluster to work. But if you don't "natively clusterize" you Elixir-Phoenix app, would you need to add a WS server and configure the Ingress for WS? Please feel free to redirect to some doc. Many thanks

Thread Thread
 
miguelcoba profile image
Miguel Cobá
I write about Elixir, Elm, and eBook writing.
  • Location
    Barcelona, Spain
  • Joined

Channels should work just the same no matter how the cluster was created, either by cookies, or using a libcluster strategy.
About the Ingress for WS, I don't really know the answer. I might learn about it and write a future article on it.
Thanks for the topic idea :D

Thread Thread
 
ndrean profile image
NDREAN
  • Joined

I meant "native" by an Erlang cluster, in opposition of the k8 cluster. So I wondered how to make WS work between pods of a Phoenix app if you don't Erlang-clusterize (<=> "native" in my mind), and just have the k8 network.

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

I write about Elixir, Elm, and eBook writing.
  • Location
    Barcelona, Spain
  • Joined

More fromMiguel Cobá

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp