Created
September 14, 2021 17:28
-
-
Save linkdd/cf3bad1d2333180413d996b552e20546 to your computer and use it in GitHub Desktop.
Example of headless Service for libcluster (Elixir)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-elixir-app-svc-headless | |
namespace: default | |
labels: | |
app.kubernetes.io/name: my-elixir-app | |
app.kubernetes.io/instance: myapp-svc-headless | |
spec: | |
type: ClusterIP | |
clusterIP: None | |
ports: | |
- port: 4369 | |
targetPort: epmd | |
protocol: TCP | |
name: epmd | |
selector: | |
app.kubernetes.io/name: my-elixir-app | |
app.kubernetes.io/instance: myapp-node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment