Commit 8da36972 authored by Waqar Ahmed's avatar Waqar Ahmed

Clean post install notes

parent a78da653
...@@ -76,6 +76,7 @@ questions: ...@@ -76,6 +76,7 @@ questions:
schema: schema:
type: dict type: dict
additional_attrs: true additional_attrs: true
attrs: []
- variable: proxy - variable: proxy
label: "Configure Proxy environment variable" label: "Configure Proxy environment variable"
...@@ -83,6 +84,11 @@ questions: ...@@ -83,6 +84,11 @@ questions:
schema: schema:
type: dict type: dict
attrs: attrs:
- variable: enabled
label: "Enable Proxy"
schema:
type: boolean
default: false
- variable: http - variable: http
label: "HTTP Proxy" label: "HTTP Proxy"
schema: schema:
...@@ -143,8 +149,9 @@ questions: ...@@ -143,8 +149,9 @@ questions:
- variable: hostPath - variable: hostPath
label: "Specify HostPath for Transcode" label: "Specify HostPath for Transcode"
schema: schema:
type: hostPath type: hostpath
required: true required: true
default: ""
- variable: volume - variable: volume
label: "Configure iXVolume" label: "Configure iXVolume"
schema: schema:
...@@ -181,8 +188,9 @@ questions: ...@@ -181,8 +188,9 @@ questions:
- variable: hostPath - variable: hostPath
label: "Specify HostPath for Data" label: "Specify HostPath for Data"
schema: schema:
type: hostPath type: hostpath
required: true required: true
default: ""
- variable: volume - variable: volume
label: "Configure iXVolume" label: "Configure iXVolume"
schema: schema:
...@@ -219,8 +227,9 @@ questions: ...@@ -219,8 +227,9 @@ questions:
- variable: hostPath - variable: hostPath
label: "Specify HostPath for Config" label: "Specify HostPath for Config"
schema: schema:
type: hostPath type: hostpath
required: true required: true
default: ""
- variable: volume - variable: volume
label: "Configure iXVolume" label: "Configure iXVolume"
schema: schema:
......
1. Get the application URL by running these commands: 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 }}
...@@ -145,13 +145,13 @@ spec: ...@@ -145,13 +145,13 @@ spec:
volumes: volumes:
- name: data - name: data
hostPath: hostPath:
path: {{ template "configuredHostPathData" }} path: {{ template "configuredHostPathData" . }}
- name: config - name: config
hostPath: hostPath:
path: {{ template "configuredHostPathConfig" }} path: {{ template "configuredHostPathConfig" . }}
- name: transcode - name: transcode
hostPath: hostPath:
path: {{ template "configuredHostPathTranscode" }} path: {{ template "configuredHostPathTranscode" . }}
- name: shared - name: shared
emptyDir: {} emptyDir: {}
- name: shared-logs - name: shared-logs
......
...@@ -101,10 +101,13 @@ hostNetwork: false ...@@ -101,10 +101,13 @@ hostNetwork: false
persistence: persistence:
transcode: transcode:
hostPathEnabled: false hostPathEnabled: false
hostPath: ""
data: data:
hostPathEnabled: false hostPathEnabled: false
hostPath: ""
config: config:
hostPathEnabled: false hostPathEnabled: false
hostPath: ""
# Probes configuration # Probes configuration
probes: probes:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment