Last active
October 25, 2018 20:20
-
-
Save erangaeb/45a0be1275022c86021b3eca619f71d9 to your computer and use it in GitHub Desktop.
kafka service kunernetes
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: kaf1 | |
spec: | |
type: LoadBalancer | |
externalIPs: | |
- 172.31.25.198 | |
ports: | |
- name: port-9092 | |
port: 9092 | |
protocol: TCP | |
selector: | |
app: kafka1 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: kaf2 | |
spec: | |
type: LoadBalancer | |
externalIPs: | |
- 172.31.26.5 | |
ports: | |
- name: port-9092 | |
port: 9092 | |
protocol: TCP | |
selector: | |
app: kafka2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment