aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes')
-rwxr-xr-xkubernetes/oneclick/vfc.sh17
-rw-r--r--kubernetes/vfc/Chart.yaml4
-rwxr-xr-xkubernetes/vfc/templates/all-services.yaml218
-rwxr-xr-xkubernetes/vfc/templates/vfc-catalog-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-emsdriver-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-gvnfmdriver-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-hwvnfmdriver-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-jujudriver-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-nslcm-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-resmgr-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-vnflcm-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-vnfmgr-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-vnfres-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-workflow-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-ztesdncdriver-deployment.yaml34
-rwxr-xr-xkubernetes/vfc/templates/vfc-ztevmanagerdriver-deployment.yaml34
-rw-r--r--kubernetes/vfc/values.yaml68
17 files changed, 749 insertions, 0 deletions
diff --git a/kubernetes/oneclick/vfc.sh b/kubernetes/oneclick/vfc.sh
new file mode 100755
index 0000000000..0199a2a31b
--- /dev/null
+++ b/kubernetes/oneclick/vfc.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+KUBECTL_CMD="kubectl --namespace $1-$2 $3 -f ../$2"
+
+printf "vfc....\n"
+$KUBECTL_CMD/vfc-catalog-deployment.yaml
+$KUBECTL_CMD/vfc-emsdriver-deployment.yaml
+$KUBECTL_CMD/vfc-gvnfmdriver-deployment.yaml
+$KUBECTL_CMD/vfc-hwvnfmdriver-deployment.yaml
+$KUBECTL_CMD/vfc-jujudriver-deployment.yaml
+$KUBECTL_CMD/vfc-nslcm-deployment.yaml
+$KUBECTL_CMD/vfc-resmgr-deployment.yaml
+$KUBECTL_CMD/vfc-vnflcm-deployment.yaml
+$KUBECTL_CMD/vfc-vnfmgr-deployment.yaml
+$KUBECTL_CMD/vfc-vnfres-deployment.yaml
+$KUBECTL_CMD/vfc-workflow-deployment.yaml
+$KUBECTL_CMD/vfc-ztesdncdriver-deployment.yaml
+$KUBECTL_CMD/vfc-ztevmanagerdriver-deployment.yaml
diff --git a/kubernetes/vfc/Chart.yaml b/kubernetes/vfc/Chart.yaml
new file mode 100644
index 0000000000..b4988d868f
--- /dev/null
+++ b/kubernetes/vfc/Chart.yaml
@@ -0,0 +1,4 @@
+apiVersion: v1
+description: A Helm chart for Kubernetes
+name: vfc
+version: 0.1.0
diff --git a/kubernetes/vfc/templates/all-services.yaml b/kubernetes/vfc/templates/all-services.yaml
new file mode 100755
index 0000000000..9a6f6f25a9
--- /dev/null
+++ b/kubernetes/vfc/templates/all-services.yaml
@@ -0,0 +1,218 @@
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-nslcm
+ name: vfc-nslcm
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-nslcm
+ port: {{.Values.nslcm.port}}
+ nodePort: {{.Values.nslcm.nodePort}}
+ selector:
+ app: vfc-nslcm
+ type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-resmgr
+ name: vfc-resmgr
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-resmgr
+ port: {{.Values.resmgr.port}}
+ nodePort: {{.Values.resmgr.nodePort}}
+ selector:
+ app: vfc-resmgr
+ type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-gvnfmdriver
+ name: vfc-gvnfmdriver
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-gvnfmdriver
+ port: {{.Values.gvnfmdriver.port}}
+ nodePort: {{.Values.gvnfmdriver.nodePort}}
+ selector:
+ app: vfc-gvnfmdriver
+ type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-ztevmanagerdriver
+ name: vfc-ztevmanagerdriver
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-ztevmanagerdriver
+ port: {{.Values.ztevmanagerdriver.port}}
+ nodePort: {{.Values.ztevmanagerdriver.nodePort}}
+ selector:
+ app: vfc-ztevmanagerdriver
+ type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-hwvnfmdriver
+ name: vfc-hwvnfmdriver
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-ztevmanagerdriver
+ port: {{.Values.hwvnfmdriver.port}}
+ nodePort: {{.Values.hwvnfmdriver.nodePort}}
+ selector:
+ app: vfc-hwvnfmdriver
+ type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-ztesdncdriver
+ name: vfc-ztesdncdriver
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-ztesdncdriver
+ port: {{.Values.ztesdncdriver.port}}
+ nodePort: {{.Values.ztesdncdriver.nodePort}}
+ selector:
+ app: vfc-ztesdncdriver
+ type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-jujudriver
+ name: vfc-jujudriver
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-jujudriver
+ port: {{.Values.jujudriver.port}}
+ nodePort: {{.Values.jujudriver.nodePort}}
+ selector:
+ app: vfc-jujudriver
+ type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-vnflcm
+ name: vfc-vnflcm
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-vnflcm
+ port: {{.Values.vnflcm.port}}
+ nodePort: {{.Values.vnflcm.nodePort}}
+ selector:
+ app: vfc-vnflcm
+ type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-vnfres
+ name: vfc-vnfres
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-vnfres
+ port: {{.Values.vnfres.port}}
+ nodePort: {{.Values.vnfres.nodePort}}
+ selector:
+ app: vfc-vnfres
+ type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-vnfmgr
+ name: vfc-vnfmgr
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-vnfmgr
+ port: {{.Values.vnfmgr.port}}
+ nodePort: {{.Values.vnfmgr.nodePort}}
+ selector:
+ app: vfc-vnfmgr
+ type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-emsdriver
+ name: vfc-emsdriver
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-emsdriver
+ port: {{.Values.emsdriver.port}}
+ nodePort: {{.Values.emsdriver.nodePort}}
+ selector:
+ app: vfc-emsdriver
+ type: NodePort
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-workflow
+ name: vfc-workflow
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-workflow
+ port: {{.Values.workflow.port}}
+ nodePort: {{.Values.workflow.nodePort}}
+ selector:
+ app: vfc-workflow
+ type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: vfc-catalog
+ name: vfc-catalog
+ namespace: "{{ .Values.nsPrefix }}-vfc"
+spec:
+ ports:
+ - name: vfc-catalog
+ port: {{.Values.catalog.port}}
+ nodePort: {{.Values.catalog.nodePort}}
+ selector:
+ app: vfc-catalog
+ type: NodePort
diff --git a/kubernetes/vfc/templates/vfc-catalog-deployment.yaml b/kubernetes/vfc/templates/vfc-catalog-deployment.yaml
new file mode 100755
index 0000000000..c20690ba93
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-catalog-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-catalog
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.catalog.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-catalog
+ template:
+ metadata:
+ labels:
+ app: vfc-catalog
+ name: vfc-catalog
+ spec:
+ hostname: vfc-catalog
+ containers:
+ - args:
+ image: {{.Values.catalog.image}}
+ name: "vfc-catalog"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.catalog.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.catalog.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-emsdriver-deployment.yaml b/kubernetes/vfc/templates/vfc-emsdriver-deployment.yaml
new file mode 100755
index 0000000000..f8fa88ff69
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-emsdriver-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-emsdriver
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.emsdriver.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-emsdriver
+ template:
+ metadata:
+ labels:
+ app: vfc-emsdriver
+ name: vfc-emsdriver
+ spec:
+ hostname: vfc-emsdriver
+ containers:
+ - args:
+ image: {{.Values.emsdriver.image}}
+ name: "vfc-emsdriver"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.emsdriver.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.emsdriver.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-gvnfmdriver-deployment.yaml b/kubernetes/vfc/templates/vfc-gvnfmdriver-deployment.yaml
new file mode 100755
index 0000000000..4aa67e2edb
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-gvnfmdriver-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-gvnfmdriver
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.gvnfmdriver.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-gvnfmdriver
+ template:
+ metadata:
+ labels:
+ app: vfc-gvnfmdriver
+ name: vfc-gvnfmdriver
+ spec:
+ hostname: vfc-gvnfmdriver
+ containers:
+ - args:
+ image: {{.Values.gvnfmdriver.image}}
+ name: "vfc-gvnfmdriver"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.gvnfmdriver.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.gvnfmdriver.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-hwvnfmdriver-deployment.yaml b/kubernetes/vfc/templates/vfc-hwvnfmdriver-deployment.yaml
new file mode 100755
index 0000000000..9240695243
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-hwvnfmdriver-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-hwvnfmdriver
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.hwvnfmdriver.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-hwvnfmdriver
+ template:
+ metadata:
+ labels:
+ app: vfc-hwvnfmdriver
+ name: vfc-hwvnfmdriver
+ spec:
+ hostname: vfc-hwvnfmdriver
+ containers:
+ - args:
+ image: {{.Values.hwvnfmdriver.image}}
+ name: "vfc-hwvnfmdriver"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.hwvnfmdriver.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.hwvnfmdriver.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-jujudriver-deployment.yaml b/kubernetes/vfc/templates/vfc-jujudriver-deployment.yaml
new file mode 100755
index 0000000000..7ff923a256
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-jujudriver-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-jujudriver
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.jujudriver.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-jujudriver
+ template:
+ metadata:
+ labels:
+ app: vfc-jujudriver
+ name: vfc-jujudriver
+ spec:
+ hostname: vfc-jujudriver
+ containers:
+ - args:
+ image: {{.Values.jujudriver.image}}
+ name: "vfc-jujudriver"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.jujudriver.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.jujudriver.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-nslcm-deployment.yaml b/kubernetes/vfc/templates/vfc-nslcm-deployment.yaml
new file mode 100755
index 0000000000..235c11c1e6
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-nslcm-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-nslcm
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.nslcm.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-nslcm
+ template:
+ metadata:
+ labels:
+ app: vfc-nslcm
+ name: vfc-nslcm
+ spec:
+ hostname: vfc-nslcm
+ containers:
+ - args:
+ image: {{.Values.nslcm.image}}
+ name: "vfc-nslcm"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.nslcm.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.nslcm.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-resmgr-deployment.yaml b/kubernetes/vfc/templates/vfc-resmgr-deployment.yaml
new file mode 100755
index 0000000000..6b7eb64a2b
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-resmgr-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-resmgr
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.resmgr.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-resmgr
+ template:
+ metadata:
+ labels:
+ app: vfc-resmgr
+ name: vfc-resmgr
+ spec:
+ hostname: vfc-resmgr
+ containers:
+ - args:
+ image: {{.Values.resmgr.image}}
+ name: "vfc-resmgr"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.resmgr.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.resmgr.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-vnflcm-deployment.yaml b/kubernetes/vfc/templates/vfc-vnflcm-deployment.yaml
new file mode 100755
index 0000000000..7d4a900224
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-vnflcm-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-vnflcm
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.vnflcm.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-vnflcm
+ template:
+ metadata:
+ labels:
+ app: vfc-vnflcm
+ name: vfc-vnflcm
+ spec:
+ hostname: vfc-vnflcm
+ containers:
+ - args:
+ image: {{.Values.vnflcm.image}}
+ name: "vfc-vnflcm"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.vnflcm.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.vnflcm.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-vnfmgr-deployment.yaml b/kubernetes/vfc/templates/vfc-vnfmgr-deployment.yaml
new file mode 100755
index 0000000000..24dbc19981
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-vnfmgr-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-vnfmgr
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.vnfmgr.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-vnfmgr
+ template:
+ metadata:
+ labels:
+ app: vfc-vnfmgr
+ name: vfc-vnfmgr
+ spec:
+ hostname: vfc-vnfmgr
+ containers:
+ - args:
+ image: {{.Values.vnfmgr.image}}
+ name: "vfc-vnfmgr"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.vnfmgr.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.vnfmgr.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-vnfres-deployment.yaml b/kubernetes/vfc/templates/vfc-vnfres-deployment.yaml
new file mode 100755
index 0000000000..1d4f295c9b
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-vnfres-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-vnfres
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.vnfres.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-vnfres
+ template:
+ metadata:
+ labels:
+ app: vfc-vnfres
+ name: vfc-vnfres
+ spec:
+ hostname: vfc-vnfres
+ containers:
+ - args:
+ image: {{.Values.vnfres.image}}
+ name: "vfc-vnfres"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.vnfres.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.vnfres.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-workflow-deployment.yaml b/kubernetes/vfc/templates/vfc-workflow-deployment.yaml
new file mode 100755
index 0000000000..1db80b9393
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-workflow-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-workflow
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.workflow.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-workflow
+ template:
+ metadata:
+ labels:
+ app: vfc-workflow
+ name: vfc-workflow
+ spec:
+ hostname: vfc-workflow
+ containers:
+ - args:
+ image: {{.Values.workflow.image}}
+ name: "vfc-workflow"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.workflow.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.workflow.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-ztesdncdriver-deployment.yaml b/kubernetes/vfc/templates/vfc-ztesdncdriver-deployment.yaml
new file mode 100755
index 0000000000..82e0bd703d
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-ztesdncdriver-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-ztesdncdriver
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.ztesdncdriver.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-ztesdncdriver
+ template:
+ metadata:
+ labels:
+ app: vfc-ztesdncdriver
+ name: vfc-ztesdncdriver
+ spec:
+ hostname: vfc-ztesdncdriver
+ containers:
+ - args:
+ image: {{.Values.ztesdncdriver.image}}
+ name: "vfc-ztesdncdriver"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.ztesdncdriver.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.ztesdncdriver.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/templates/vfc-ztevmanagerdriver-deployment.yaml b/kubernetes/vfc/templates/vfc-ztevmanagerdriver-deployment.yaml
new file mode 100755
index 0000000000..29aafd67f5
--- /dev/null
+++ b/kubernetes/vfc/templates/vfc-ztevmanagerdriver-deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: vfc-ztevmanagerdriver
+ namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
+spec:
+ replicas: {{ .Values.ztevmanagerdriver.replicas }}
+ selector:
+ matchLabels:
+ app: vfc-ztevmanagerdriver
+ template:
+ metadata:
+ labels:
+ app: vfc-ztevmanagerdriver
+ name: vfc-ztevmanagerdriver
+ spec:
+ hostname: vfc-ztevmanagerdriver
+ containers:
+ - args:
+ image: {{.Values.ztevmanagerdriver.image}}
+ name: "vfc-ztevmanagerdriver"
+ env:
+ - name: MSB_ADDR
+ value: {{ .Values.msbaddr }}
+ ports:
+ - containerPort: {{ .Values.ztevmanagerdriver.port }}
+ readinessProbe:
+ tcpSocket:
+ port: {{ .Values.ztevmanagerdriver.port }}
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ imagePullPolicy: "{{ .Values.pullPolicy }}"
+ imagePullSecrets:
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
diff --git a/kubernetes/vfc/values.yaml b/kubernetes/vfc/values.yaml
new file mode 100644
index 0000000000..94fcef8374
--- /dev/null
+++ b/kubernetes/vfc/values.yaml
@@ -0,0 +1,68 @@
+nsPrefix: onap
+pullPolicy: IfNotPresent
+msbaddr: msb-iag.onap-msb:80
+nslcm:
+ image: nexus3.onap.org:10001/onap/vfc/nslcm:latest
+ port: 8403
+ nodePort: 30403
+ replicas: 1
+resmgr:
+ image: nexus3.onap.org:10001/onap/vfc/resmanagement:latest
+ port: 8480
+ nodePort: 30480
+ replicas: 1
+gvnfmdriver:
+ image: nexus3.onap.org:10001/onap/vfc/gvnfmdriver:latest
+ port: 8484
+ nodePort: 30484
+ replicas: 1
+ztevmanagerdriver:
+ image: nexus3.onap.org:10001/onap/vfc/ztevmanagerdriver:latest
+ port: 8410
+ nodePort: 30410
+ replicas: 1
+hwvnfmdriver:
+ image: nexus3.onap.org:10001/onap/vfc/nfvo/svnfm/huawei:latest
+ port: 8482
+ nodePort: 30482
+ replicas: 1
+ztesdncdriver:
+ image: nexus3.onap.org:10001/onap/vfc/ztesdncdriver:latest
+ port: 8411
+ nodePort: 30411
+ replicas: 1
+jujudriver:
+ image: nexus3.onap.org:10001/onap/vfc/jujudriver:latest
+ port: 8483
+ nodePort: 30483
+ replicas: 1
+vnflcm:
+ image: nexus3.onap.org:10001/onap/vfc/vnflcm:latest
+ port: 8801
+ nodePort: 30801
+ replicas: 1
+vnfres:
+ image: nexus3.onap.org:10001/onap/vfc/vnfres:latest
+ port: 8802
+ nodePort: 30802
+ replicas: 1
+vnfmgr:
+ image: nexus3.onap.org:10001/onap/vfc/vnfmgr:latest
+ port: 8803
+ nodePort: 30803
+ replicas: 1
+emsdriver:
+ image: nexus3.onap.org:10001/onap/vfc/emsdriver:latest
+ port: 8206
+ nodePort: 30296
+ replicas: 1
+workflow:
+ image: nexus3.onap.org:10001/onap/vfc/wfenginemgrservice:latest
+ port: 8805
+ nodePort: 30805
+ replicas: 1
+catalog:
+ image: nexus3.onap.org:10001/onap/vfc/catalog:latest
+ port: 8806
+ nodePort: 30806
+ replicas: 1 \ No newline at end of file