Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Extend K8S and RIC installation instructions
[it/dep.git]
/
ric-aux
/
80-Auxiliary-Functions
/
helm
/
message-router
/
charts
/
message-router-kafka
/
templates
/
statefulset.yaml
diff --git
a/ric-aux/80-Auxiliary-Functions/helm/message-router/charts/message-router-kafka/templates/statefulset.yaml
b/ric-aux/80-Auxiliary-Functions/helm/message-router/charts/message-router-kafka/templates/statefulset.yaml
index
0e38ed5
..
547177c
100644
(file)
--- a/
ric-aux/80-Auxiliary-Functions/helm/message-router/charts/message-router-kafka/templates/statefulset.yaml
+++ b/
ric-aux/80-Auxiliary-Functions/helm/message-router/charts/message-router-kafka/templates/statefulset.yaml
@@
-16,7
+16,7
@@
################################################################################
################################################################################
-apiVersion: apps/v1
beta1
+apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ include "common.fullname" . }}
kind: StatefulSet
metadata:
name: {{ include "common.fullname" . }}
@@
-29,6
+29,10
@@
metadata:
spec:
serviceName: {{ .Values.service.name }}
replicas: {{ .Values.replicaCount }}
spec:
serviceName: {{ .Values.service.name }}
replicas: {{ .Values.replicaCount }}
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
+ release: {{ .Release.Name }}
podManagementPolicy: Parallel
template:
metadata:
podManagementPolicy: Parallel
template:
metadata:
@@
-131,6
+135,8
@@
spec:
value: "{{ .Values.replicaCount }}"
- name: KAFKA_NUM_PARTITIONS
value: "{{ .Values.defaultpartitions }}"
value: "{{ .Values.replicaCount }}"
- name: KAFKA_NUM_PARTITIONS
value: "{{ .Values.defaultpartitions }}"
+ - name: KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS
+ value: "60000"
volumeMounts:
- mountPath: /etc/localtime
name: localtime
volumeMounts:
- mountPath: /etc/localtime
name: localtime
@@
-176,4
+182,4
@@
spec:
heritage: "{{ .Release.Service }}"
{{ end }}
imagePullSecrets:
heritage: "{{ .Release.Service }}"
{{ end }}
imagePullSecrets:
- - name: "{{ include "common.namespace" . }}-docker-registry-key"
+ - name: "docker-reg-cred"
\ No newline at end of file