Comments (4)
In your config/prod.exs
, can you try changing:
kubernetes_selector: "tier=phishx-tier"
to
kubernetes_selector: "app=phishx-app"
Also what does the output of this command show?
kubectl get endpoints
from libcluster.
I think it worked, but I'm not sure.
How to start a pod with "console" as argument? If I try to change from "foreground" it crash.
I'm using "kubectl attach $POD" to see output. Is there any other command to gain access to IEX? (To test node connectivity, etc.)
NAME ENDPOINTS AGE
phishx 172.17.0.4:4000,172.17.0.5:4000,172.17.0.6:4000 4m
from libcluster.
I haven’t explored kubectl attach”. Generally during my development process I have Docker images built such a way that,containers do sleep to infinity. And then I start app in Kubernetes and then I go into containers via bash and launch application manually and see if it works as expected. Once that process is working I create Docker images to use either console or foreground options to start containers.
from libcluster.
You should start via foreground
, and then use kubectl exec -it some-pod -- /bin/bash
to connect to the pod and run bash. From there you can use bin/myapp remote_console
to pop open IEx and interact with the running node. You can also use Erlang's ssh
module to support ssh clients which connect directly to the Erlang shell, but personally I would use the first of my suggestions.
from libcluster.
Related Issues (20)
- crypto:block_encrypt/4 is removed in OTP 24 HOT 3
- Question: how to subscribe to events from the Kubernetes DNS strategy? HOT 1
- Gossip error with OTP-24 and libcluster 3.3.0 HOT 13
- Unable to get libcluster to connect over Kubernetes :pods :ip
- A proposal of enhancement to the epmd strategy HOT 5
- Nodes no longer connecting after upgrade to 3.3.0 HOT 2
- Spam of warn messages making logs hard to read HOT 5
- Tag for 3.3.1 on Github HOT 2
- Q: Connect a non release pod to a cluster of releases using Strategy.Kubernetes with mod IP and pod lookup
- Failed to connect using the Cluster.Strategy.Kubernetes strategy HOT 6
- Issue with StatefulSet Rolling Update Strategy HOT 10
- Gossip strategy fails with Erlang 25.1 HOT 8
- Libcluster unable to connect when new deploy happens k8s HOT 2
- :erpc.multicast/4 not working with Cluster.Strategy.Gossip strategy HOT 1
- Default config for Gossip strategy fails in 3.3.2 HOT 4
- DNS Poll - max stable Cluster Size = max DNS Entry Response Count HOT 1
- Accept a list of node_basenames for the DNSPoll strategy HOT 1
- Kubernetes Strategy OTP 26 Incompatibility HOT 1
- Changelogs and Tags
- self signed certs fail in otp 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcluster.