Last active
December 13, 2018 18:34
-
-
Save abhirockzz/75a9a76aa7ac0b9b6ee6f4137db06950 to your computer and use it in GitHub Desktop.
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: kafka-streams-app-deployment | |
spec: | |
selector: | |
matchLabels: | |
app: kafka-streams-app | |
replicas: 2 | |
template: | |
metadata: | |
labels: | |
app: kafka-streams-app | |
spec: | |
containers: | |
- name: kafka-streams-app | |
image: kafka-streams-app | |
imagePullPolicy: Never | |
env: | |
- name: KAFKA_BROKER | |
value: <KAFKA_HOST>:<PORT> | |
- name: POD_IP | |
valueFrom: | |
fieldRef: | |
fieldPath: status.podIP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment