diff options
author | 2017-12-15 20:38:03 +0000 | |
---|---|---|
committer | 2017-12-20 16:43:29 +0000 | |
commit | 27af4a308d56795eddb08d07cbb86d8651c4f5a2 (patch) | |
tree | a2acc5bff9251f6f5c00f859488c289c7f3211c2 /kubernetes/sdnc/templates/sdnc-pv-pvc.yaml | |
parent | a6eb9be0e091746c824b169a46242ef0943a2b05 (diff) |
Single K8S Node Of Deploying SDNC Cluster POC
It's a reference of how to deploy sdnc cluster under
single node k8s environment.
Currently the config of nfs for mysql db only
supports one k8s node. For mutiple nodes, because
of dockernfs mount, nfs provisioner has conflict with
it, which fails mount operation of SDNC pod.
Also, if SDNC needs to fully utilize mysql cluster under
k8s, in core project, DbLibService.java should be enhanced
to support that writing to master only and reading from them.
Issue-ID: SDNC-163
Change-Id: I85ad327f2fe04fe8e9a135289d7c25a917234438
Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
Diffstat (limited to 'kubernetes/sdnc/templates/sdnc-pv-pvc.yaml')
-rw-r--r-- | kubernetes/sdnc/templates/sdnc-pv-pvc.yaml | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/kubernetes/sdnc/templates/sdnc-pv-pvc.yaml b/kubernetes/sdnc/templates/sdnc-pv-pvc.yaml deleted file mode 100644 index f45d8f817d..0000000000 --- a/kubernetes/sdnc/templates/sdnc-pv-pvc.yaml +++ /dev/null @@ -1,32 +0,0 @@ -#{{ if not .Values.disableSdncSdncDbhost }} -apiVersion: v1 -kind: PersistentVolume -metadata: - name: "{{ .Values.nsPrefix }}-sdnc-db" - namespace: "{{ .Values.nsPrefix }}-sdnc" - labels: - name: "{{ .Values.nsPrefix }}-sdnc-db" -spec: - capacity: - storage: 2Gi - accessModes: - - ReadWriteMany - persistentVolumeReclaimPolicy: Retain - hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/data ---- -kind: PersistentVolumeClaim -apiVersion: v1 -metadata: - name: sdnc-db - namespace: "{{ .Values.nsPrefix }}-sdnc" -spec: - accessModes: - - ReadWriteMany - resources: - requests: - storage: 2Gi - selector: - matchLabels: - name: "{{ .Values.nsPrefix }}-sdnc-db" -#{{ end }}
\ No newline at end of file |