mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-21 02:56:50 +10:00
Merge pull request #880 from tompizmor/tensorflow_simplify_chart
[bitnami/tensorflow-inception] Simplify chart deleting unnecessary pvc
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: tensorflow-inception
|
||||
version: 1.1.1
|
||||
version: 2.0.0
|
||||
appVersion: 1.10.1
|
||||
description: Open-source software library for serving machine learning models
|
||||
keywords:
|
||||
|
||||
@@ -75,10 +75,6 @@ The following tables lists the configurable parameters of the TensorFlow Incepti
|
||||
| `client.image.pullPolicy` | TensorFlow Inception image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
|
||||
| `client.image.pullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods) |
|
||||
| `imagePullPolicy` | Image pull policy | `Always` if `image` tag is `latest`, else `IfNotPresent` |
|
||||
| `persistence.enabled` | Use a PVC to persist data | `true` |
|
||||
| `persistence.storageClass` | Storage class of backing PVC | `nil` (uses alpha storage class annotation) |
|
||||
| `persistence.accessMode` | Use volume as ReadOnly or ReadWrite | `ReadWriteOnce` |
|
||||
| `persistence.size` | Size of data volume | `500Mi` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
|
||||
@@ -43,16 +43,7 @@ spec:
|
||||
volumeMounts:
|
||||
- name: seed
|
||||
mountPath: "/bitnami/model-data"
|
||||
- name: data
|
||||
mountPath: /bitnami/tensorflow-serving
|
||||
volumes:
|
||||
- name: seed
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ template "fullname" . }}-seed-inception
|
||||
- name: data
|
||||
{{- if .Values.persistence.enabled }}
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ template "fullname" . }}
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end -}}
|
||||
claimName: {{ template "fullname" . }}-seed-inception
|
||||
@@ -1,23 +0,0 @@
|
||||
{{- if .Values.persistence.enabled }}
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
app: {{ template "fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
annotations:
|
||||
{{- if .Values.persistence.storageClass }}
|
||||
volume.beta.kubernetes.io/storage-class: {{ .Values.persistence.storageClass | quote }}
|
||||
{{- else }}
|
||||
volume.alpha.kubernetes.io/storage-class: default
|
||||
{{- end }}
|
||||
spec:
|
||||
accessModes:
|
||||
- {{ .Values.persistence.accessMode | quote }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.persistence.size | quote }}
|
||||
{{- end }}
|
||||
@@ -51,18 +51,6 @@ client:
|
||||
##
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
||||
## Enable persistence using Persistent Volume Claims
|
||||
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
||||
##
|
||||
persistence:
|
||||
enabled: true
|
||||
## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
|
||||
## Default: volume.alpha.kubernetes.io/storage-class: default
|
||||
##
|
||||
# storageClass:
|
||||
accessMode: ReadWriteOnce
|
||||
size: 500Mi
|
||||
|
||||
## Kubernetes configuration
|
||||
## For minikube, set this to NodePort, elsewhere use LoadBalancer
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user