[RIC-431] Add Enb | Configuration changes | Some refactoring | K8S yamls
[ric-plt/e2mgr.git] / tools / k8s_svc_nodeports / svc_dbaas.yaml
diff --git a/tools/k8s_svc_nodeports/svc_dbaas.yaml b/tools/k8s_svc_nodeports/svc_dbaas.yaml
new file mode 100644 (file)
index 0000000..d80fa6e
--- /dev/null
@@ -0,0 +1,39 @@
+################################################################################
+#   Copyright (c) 2019 AT&T Intellectual Property.                             #
+#   Copyright (c) 2019 Nokia.                                                  #
+#                                                                              #
+#   Licensed under the Apache License, Version 2.0 (the "License");            #
+#   you may not use this file except in compliance with the License.           #
+#   You may obtain a copy of the License at                                    #
+#                                                                              #
+#       http://www.apache.org/licenses/LICENSE-2.0                             #
+#                                                                              #
+#   Unless required by applicable law or agreed to in writing, software        #
+#   distributed under the License is distributed on an "AS IS" BASIS,          #
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
+#   See the License for the specific language governing permissions and        #
+#   limitations under the License.                                             #
+################################################################################
+#
+apiVersion: v1
+kind: Service
+metadata:
+  name: service-ricplt-dbaas-node-port
+  namespace: ricplt
+  labels:
+    app: ricplt-dbaas
+    chart: dbass-2.0.0
+    release: r4-dbaas
+    heritage: Tiller
+spec:
+  type: NodePort
+  ports:
+    - port: 6379
+      nodePort: 30000
+      protocol: "TCP"
+      targetPort: 6379
+      name: "dbass-node-port"      
+  selector:
+      app: ricplt-dbaas
+      release: r4-dbaas
+