Skip to content

Commit a164419

Browse files
authored
Merge pull request #31 from Gradiant/bugfix-25
Set opentsdb as deployment instead of statefulset
2 parents 1d70c48 + 57b6ef2 commit a164419

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

charts/opentsdb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ maintainers:
1313
1414
name: cgiraldo
1515
name: opentsdb
16-
version: 0.1.4
16+
version: 0.1.5
1717
keywords:
1818
- hadoop
1919
- hbase

charts/opentsdb/templates/opentsdb-statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: apps/v1
2-
kind: StatefulSet
2+
kind: Deployment
33
metadata:
44
name: {{ include "opentsdb.fullname" . }}
55
labels:
@@ -10,7 +10,6 @@ spec:
1010
matchLabels:
1111
app.kubernetes.io/name: {{ include "opentsdb.name" . }}
1212
app.kubernetes.io/instance: {{ .Release.Name | quote }}
13-
serviceName: {{ include "opentsdb.fullname" . }}
1413
replicas: {{ default 1 .Values.daemons }}
1514
template:
1615
metadata:
@@ -77,6 +76,7 @@ spec:
7776
volumeMounts:
7877
- name: opentsdb-config
7978
mountPath: /etc/opentsdb
79+
terminationGracePeriodSeconds: 60
8080
volumes:
8181
- name: opentsdb-init
8282
configMap:

0 commit comments

Comments
 (0)