File tree Expand file tree Collapse file tree 5 files changed +4
-17
lines changed Expand file tree Collapse file tree 5 files changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,13 @@ HDFS `datanodes` running inside a kubernetes cluster. See the other chart for
18
18
$ kubectl label node YOUR-MASTER-NAME hdfs-datanode-exclude=yes
19
19
```
20
20
21
- 2 . Optionally, find the domain name of your k8s cluster that become part of
22
- pod and service host names. Default is ` cluster.local ` . See ` values.yaml `
23
- for additional parameters to change. You can add them below in ` --set ` ,
24
- as comma-separated entries.
25
-
26
- 3 . Launch this helm chart, ` hdfs-datanode-k8s ` .
21
+ 2 . Launch this helm chart, ` hdfs-datanode-k8s ` .
27
22
28
23
```
29
24
$ helm install -n my-hdfs-datanode hdfs-datanode-k8s
30
25
```
31
26
32
- 4 . Confirm the daemons are launched.
27
+ 3 . Confirm the daemons are launched.
33
28
34
29
```
35
30
$ kubectl get pods | grep hdfs-datanode-
Original file line number Diff line number Diff line change 70
70
# This works only with /etc/resolv.conf mounted from the config map.
71
71
# K8s version 1.6 will fix this, per https://github.com/kubernetes/kubernetes/pull/29378.
72
72
- name : CORE_CONF_fs_defaultFS
73
- value : hdfs://hdfs-namenode-0.hdfs-namenode.default.svc.{{ .Values.clusterDomain }} :8020
73
+ value : hdfs://hdfs-namenode-0.hdfs-namenode.default.svc.cluster.local :8020
74
74
livenessProbe :
75
75
initialDelaySeconds : 30
76
76
httpGet :
Original file line number Diff line number Diff line change 15
15
16
16
# Default values for template variables.
17
17
18
- # Set this to the domain name of your cluster that become part of POD and service
19
- # host names.
20
- clusterDomain : cluster.local
21
-
22
18
# A list of the local disk directories on cluster nodes that will contain the datanode
23
19
# blocks. These paths will be mounted to the datanode as K8s HostPath volumes.
24
20
# In a command line, the list should be enclosed in '{' and '}'.
Original file line number Diff line number Diff line change @@ -22,6 +22,6 @@ metadata:
22
22
name : hdfs-resolv-conf
23
23
data :
24
24
resolv.conf : |
25
- search default.svc.{{ .Values.clusterDomain }} svc.{{ .Values.clusterDomain }} {{ .Values.clusterDomain }} {{ .Values.hostNetworkDomains }}
25
+ search default.svc.cluster.local svc.cluster.local cluster.local {{ .Values.hostNetworkDomains }}
26
26
nameserver {{ .Values.clusterDnsIP }}
27
27
options ndots:5
Original file line number Diff line number Diff line change @@ -25,7 +25,3 @@ clusterDnsIP: 10.96.0.10
25
25
# If there are multiple names, then put them inside the quote separted by
26
26
# spaces.
27
27
hostNetworkDomains : " "
28
-
29
- # Set this to the domain name of your cluster that becomes part of POD and service
30
- # host names.
31
- clusterDomain : cluster.local
You can’t perform that action at this time.
0 commit comments