Fixing StatefulSet configuration for [stable/hadoop] (#18559)

Signed-off-by: Alex Tawse <atawse@uk.imshealth.com>
This commit is contained in:
Alex Tawse
2019-12-27 09:29:39 -08:00
committed by Kubernetes Prow Robot
parent e54d688da0
commit c70a166263
5 changed files with 25 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models.
name: hadoop
version: 1.1.1
version: 1.1.2
appVersion: 2.9.0
home: https://hadoop.apache.org/
sources:
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ include "hadoop.fullname" . }}-hdfs-dn
@@ -12,6 +12,11 @@ metadata:
spec:
serviceName: {{ include "hadoop.fullname" . }}-hdfs-dn
replicas: {{ .Values.hdfs.dataNode.replicas }}
selector:
matchLabels:
app: {{ include "hadoop.name" . }}
release: {{ .Release.Name }}
component: hdfs-dn
template:
metadata:
labels:
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ include "hadoop.fullname" . }}-hdfs-nn
@@ -12,6 +12,11 @@ metadata:
spec:
serviceName: {{ include "hadoop.fullname" . }}-hdfs-nn
replicas: 1
selector:
matchLabels:
app: {{ include "hadoop.name" . }}
release: {{ .Release.Name }}
component: hdfs-nn
template:
metadata:
labels:
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ include "hadoop.fullname" . }}-yarn-nm
@@ -12,6 +12,11 @@ metadata:
spec:
serviceName: {{ include "hadoop.fullname" . }}-yarn-nm
replicas: {{ .Values.yarn.nodeManager.replicas }}
selector:
matchLabels:
app: {{ include "hadoop.name" . }}
release: {{ .Release.Name }}
component: yarn-nm
{{- if .Values.yarn.nodeManager.parallelCreate }}
podManagementPolicy: Parallel
{{- end }}
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ include "hadoop.fullname" . }}-yarn-rm
@@ -12,6 +12,11 @@ metadata:
spec:
serviceName: {{ include "hadoop.fullname" . }}-yarn-rm
replicas: 1
selector:
matchLabels:
app: {{ include "hadoop.name" . }}
release: {{ .Release.Name }}
component: yarn-rm
template:
metadata:
labels: