Clean post install notes

This commit is contained in:
Waqar Ahmed 2020-12-07 03:44:03 +05:00
parent a78da65326
commit 8da36972d8
4 changed files with 18 additions and 24 deletions

View File

@ -76,6 +76,7 @@ questions:
schema:
type: dict
additional_attrs: true
attrs: []
- variable: proxy
label: "Configure Proxy environment variable"
@ -83,6 +84,11 @@ questions:
schema:
type: dict
attrs:
- variable: enabled
label: "Enable Proxy"
schema:
type: boolean
default: false
- variable: http
label: "HTTP Proxy"
schema:
@ -143,8 +149,9 @@ questions:
- variable: hostPath
label: "Specify HostPath for Transcode"
schema:
type: hostPath
type: hostpath
required: true
default: ""
- variable: volume
label: "Configure iXVolume"
schema:
@ -181,8 +188,9 @@ questions:
- variable: hostPath
label: "Specify HostPath for Data"
schema:
type: hostPath
type: hostpath
required: true
default: ""
- variable: volume
label: "Configure iXVolume"
schema:
@ -219,8 +227,9 @@ questions:
- variable: hostPath
label: "Specify HostPath for Config"
schema:
type: hostPath
type: hostpath
required: true
default: ""
- variable: volume
label: "Configure iXVolume"
schema:

View File

@ -1,19 +1 @@
1. Get the application URL by running these commands:
{{- if .Values.ingress.enabled }}
{{- range $host := .Values.ingress.hosts }}
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}
{{- end }}
{{- else if contains "NodePort" .Values.serviceTCP.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "plex.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.serviceTCP.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "plex.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "plex.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.serviceTCP.port }}
{{- else if contains "ClusterIP" .Values.serviceTCP.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "plex.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
{{- end }}

View File

@ -145,13 +145,13 @@ spec:
volumes:
- name: data
hostPath:
path: {{ template "configuredHostPathData" }}
path: {{ template "configuredHostPathData" . }}
- name: config
hostPath:
path: {{ template "configuredHostPathConfig" }}
path: {{ template "configuredHostPathConfig" . }}
- name: transcode
hostPath:
path: {{ template "configuredHostPathTranscode" }}
path: {{ template "configuredHostPathTranscode" . }}
- name: shared
emptyDir: {}
- name: shared-logs

View File

@ -101,10 +101,13 @@ hostNetwork: false
persistence:
transcode:
hostPathEnabled: false
hostPath: ""
data:
hostPathEnabled: false
hostPath: ""
config:
hostPathEnabled: false
hostPath: ""
# Probes configuration
probes: