Created
July 6, 2020 21:00
-
-
Save felipeneuwald/c0e9051914ff55def254666c68a853ac to your computer and use it in GitHub Desktop.
the-billion-message-rabbitmq: 005-Service.yaml
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: | |
namespace: rabbitmq | |
name: rabbitmq | |
spec: | |
type: NodePort | |
ports: | |
- name: rabbitmq | |
protocol: TCP | |
port: 5672 | |
targetPort: rabbitmq | |
nodePort: 30672 | |
- name: rabbitmq-ui | |
protocol: TCP | |
port: 15672 | |
targetPort: rabbitmq-ui | |
nodePort: 31672 | |
selector: | |
app: rabbitmq | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment