Tweak node selector on mcord-cdn-remote chart
Change-Id: Ia15e80f02b26b11b6a882ba557fbd4586ab5c10a
diff --git a/mcord/mcord-cdn-remote/templates/remote-vlc.yaml b/mcord/mcord-cdn-remote/templates/remote-vlc.yaml
index 508f5a6..ed7afec 100644
--- a/mcord/mcord-cdn-remote/templates/remote-vlc.yaml
+++ b/mcord/mcord-cdn-remote/templates/remote-vlc.yaml
@@ -54,7 +54,7 @@
hostNetwork: true
terminationGracePeriodSeconds: 1
nodeSelector:
- kubernetes.io/hostname: {{ .Values.node_selector }}
+ kubernetes.io/hostname: {{ .Values.cdn_node_selector }}
containers:
- name: streaming
image: {{ .Values.remote_vlc.images.remote_vlc_image }}
diff --git a/mcord/mcord-cdn-remote/templates/wowza.yaml b/mcord/mcord-cdn-remote/templates/wowza.yaml
index f405551..414cb13 100644
--- a/mcord/mcord-cdn-remote/templates/wowza.yaml
+++ b/mcord/mcord-cdn-remote/templates/wowza.yaml
@@ -56,7 +56,7 @@
imagePullSecrets:
- name: nexus-docker-secret
nodeSelector:
- kubernetes.io/hostname: {{ .Values.node_selector }}
+ kubernetes.io/hostname: {{ .Values.cdn_node_selector }}
initContainers:
- name: "wowza-init"
image: {{ .Values.wowza.images.wowza_image }}
diff --git a/mcord/mcord-cdn-remote/values.yaml b/mcord/mcord-cdn-remote/values.yaml
index 9084b5c..dea2aca 100644
--- a/mcord/mcord-cdn-remote/values.yaml
+++ b/mcord/mcord-cdn-remote/values.yaml
@@ -14,13 +14,13 @@
# limitations under the License.
namespace: wowz
-node_selector: node1
+cdn_node_selector: node2
wowza_hostname: "wowza"
remote_vlc_hostname: "remote-vlc"
wowza:
images:
- wowza_image: "wowzamedia/wowza-streaming-engine-linux"
+ wowza_image: "woojoong/wowza:latest"
ports:
rtmp: 1935
streammanager: 8086