diff options
author | Michael O'Brien <frank.obrien@amdocs.com> | 2018-06-25 13:59:31 -0400 |
---|---|---|
committer | Michael O'Brien <frank.obrien@amdocs.com> | 2018-07-10 23:45:29 -0400 |
commit | 9eee6ac9daa5b82946b4f7c7eaa817ae3e1f4cab (patch) | |
tree | c92bf95da779589a1162044b4f77a51876fccb7b /reference/logging-kubernetes/logdemo/templates | |
parent | 9aaa8f39949d7dc3d66888797951a20a7bced145 (diff) |
logging library use and k8s
Change-Id: I264f6dd5270543a216612c50fd5806458e0e806a
Issue-ID: LOG-135
Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
Diffstat (limited to 'reference/logging-kubernetes/logdemo/templates')
-rw-r--r-- | reference/logging-kubernetes/logdemo/templates/all-services.yaml | 10 | ||||
-rw-r--r-- | reference/logging-kubernetes/logdemo/templates/log-mock-service-deployment.yaml (renamed from reference/logging-kubernetes/logdemo/templates/log-mock-demo-deployment.yaml) | 22 |
2 files changed, 16 insertions, 16 deletions
diff --git a/reference/logging-kubernetes/logdemo/templates/all-services.yaml b/reference/logging-kubernetes/logdemo/templates/all-services.yaml index 9e4f694..dc57183 100644 --- a/reference/logging-kubernetes/logdemo/templates/all-services.yaml +++ b/reference/logging-kubernetes/logdemo/templates/all-services.yaml @@ -2,13 +2,13 @@ apiVersion: v1 kind: Service metadata: labels: - app: logdemo - name: logdemo - namespace: "{{ .Values.nsPrefix }}-logdemo" + app: logservice + name: logservice + namespace: "{{ .Values.nsPrefix }}-logservice" spec: ports: - port: 8080 - nodePort: {{ .Values.nodePortPrefix }}99 + nodePort: {{ .Values.nodePortPrefix }}98 selector: - app: logdemo + app: logservice type: NodePort diff --git a/reference/logging-kubernetes/logdemo/templates/log-mock-demo-deployment.yaml b/reference/logging-kubernetes/logdemo/templates/log-mock-service-deployment.yaml index afd513e..92bcbe8 100644 --- a/reference/logging-kubernetes/logdemo/templates/log-mock-demo-deployment.yaml +++ b/reference/logging-kubernetes/logdemo/templates/log-mock-service-deployment.yaml @@ -1,28 +1,28 @@ -#{{ if not .Values.disableLogdemoLogdemo }} +#{{ if not .Values.disableLogserviceLogservice }} apiVersion: extensions/v1beta1 kind: Deployment metadata: - name: logdemo - namespace: "{{ .Values.nsPrefix }}-logdemo" + name: logservice + namespace: "{{ .Values.nsPrefix }}-logservice" spec: selector: matchLabels: - app: logdemo + app: logservice template: metadata: labels: - app: logdemo - name: logdemo + app: logservice + name: logservice spec: containers: - - image: {{ .Values.image.logdemo }} + - image: {{ .Values.image.logservice }} imagePullPolicy: {{ .Values.pullPolicy }} - name: logdemo + name: logservice volumeMounts: - name: localtime mountPath: /etc/localtime readOnly: true - - name: logdemo-eteshare + - name: logservice-eteshare mountPath: /share ports: - containerPort: 8080 @@ -35,9 +35,9 @@ spec: - name: localtime hostPath: path: /etc/localtime - - name: logdemo-eteshare + - name: logservice-eteshare hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/logdemo/eteshare + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/logservice/eteshare imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" #{{ end }} |