-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdeployment.yaml
43 lines (43 loc) · 1.19 KB
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
apiVersion: apps/v1
kind: "Deployment"
metadata:
name: "klyfft"
labels:
app: "klyfft"
spec:
replicas: 1
selector:
matchLabels:
app: "klyfft"
template:
metadata:
labels:
app: "klyfft"
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- "klyfft"
topologyKey: "kubernetes.io/hostname"
containers:
- name: klyfft
image: gcr.io/cloud-private-dev/gamussa/klyfft:latest
env:
- name: JAVA_TOOL_OPTIONS
value: -DLOGLEVEL=INFO
- name: MAPBOX_ACCESS_TOKEN
value: ##_REPLACE_ME_###
- name: BOOTSTRAP_SERVERS
value: kafka:9071
- name: SASL_JAAS_CONFIG
value: org.apache.kafka.common.security.plain.PlainLoginModule required username="test" password="test123";
- name: SASL_MECHANISM
value: PLAIN
- name: SECURITY_PROTOCOL
value: SASL_PLAINTEXT