Commit 04cd13d2 by James Oliver Committed by Sheng Yang

Longhorn v0.3.2 release changes

parent eb30b6cf
......@@ -23,12 +23,12 @@ Longhorn is 100% open source software. Project source code is spread across a nu
1. To prevent damage to the Kubernetes cluster, we recommend deleting all Kubernetes workloads using Longhorn volumes (PersistentVolume, PersistentVolumeClaim, StorageClass, Deployment, StatefulSet, DaemonSet, etc).
2. From the `Cluster` tab, click `Launch kubectl` and run this command:
2. [Rancher v2.0.x users only] From the `Cluster` tab, click `Launch kubectl` and run this command:
```
curl -sSfL https://raw.githubusercontent.com/rancher/longhorn-manager/master/deploy/scripts/cleanup.sh | bash
```
3. Delete Longhorn App from Rancher UI. This deletes the remaining chart components.
3. From Rancher UI, navigate to `Catalog Apps` tab and delete Longhorn app.
## Troubleshooting
......
......@@ -28,7 +28,7 @@ questions:
required: true
label: Default Storage Class
- variable: ingress.enabled
default: "true"
default: "false"
description: "Expose app using Layer 7 Load Balancer - ingress"
type: boolean
group: "Services and Load Balancing"
......@@ -42,13 +42,14 @@ questions:
required: true
label: Layer 7 Load Balancer Hostname
- variable: service.ui.type
default: "NodePort"
default: "Rancher-Proxy"
description: "Define Longhorn UI service type"
type: enum
options:
- "ClusterIP"
- "NodePort"
- "LoadBalancer"
- "Rancher-Proxy"
label: Longhorn UI Service
show_if: "ingress.enabled=false"
group: "Services and Load Balancing"
......
......@@ -10,7 +10,7 @@ rules:
verbs:
- "*"
- apiGroups: [""]
resources: ["pods", "events", "persistentvolumes", "persistentvolumeclaims", "nodes", "proxy/nodes", "pods/log", "secrets", "services"]
resources: ["pods", "events", "persistentvolumes", "persistentvolumeclaims", "nodes", "proxy/nodes", "pods/log", "secrets", "services", "endpoints"]
verbs: ["*"]
- apiGroups: [""]
resources: ["namespaces"]
......
......@@ -20,7 +20,7 @@ spec:
image: "{{ .Values.image.longhorn.ui }}:{{ .Values.image.longhorn.uiTag }}"
ports:
- containerPort: 8000
name: longhorn-ui
name: http
env:
- name: LONGHORN_MANAGER_IP
value: "http://longhorn-backend:9500"
......@@ -30,16 +30,23 @@ apiVersion: v1
metadata:
labels:
app: longhorn-ui
{{- if eq .Values.service.ui.type "Rancher-Proxy" }}
kubernetes.io/cluster-service: "true"
{{- end }}
name: longhorn-frontend
namespace: {{ .Release.Namespace }}
spec:
{{- if eq .Values.service.ui.type "Rancher-Proxy" }}
type: ClusterIP
{{- else }}
type: {{ .Values.service.ui.type }}
{{- end }}
selector:
app: longhorn-ui
ports:
- name: longhorn-ui
- name: http
port: 80
targetPort: longhorn-ui
targetPort: http
{{- if .Values.service.ui.nodePort }}
nodePort: {{ .Values.service.ui.nodePort }}
{{- end }}
apiVersion: batch/v1
kind: Job
metadata:
annotations:
"helm.sh/hook": pre-delete
"helm.sh/hook-delete-policy": hook-succeeded
name: longhorn-uninstall
namespace: {{ .Release.Namespace }}
spec:
activeDeadlineSeconds: 900
backoffLimit: 1
template:
metadata:
name: longhorn-uninstall
spec:
containers:
- name: longhorn-uninstall
image: "{{ .Values.image.longhorn.manager }}:{{ .Values.image.longhorn.managerTag }}"
imagePullPolicy: Always
command:
- longhorn-manager
- uninstall
- --force
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
restartPolicy: OnFailure
serviceAccountName: longhorn-service-account
......@@ -6,9 +6,9 @@ image:
engine: rancher/longhorn-engine
engineTag: v0.3.0
manager: rancher/longhorn-manager
managerTag: v0.3.1
managerTag: v0.3.2
ui: rancher/longhorn-ui
uiTag: v0.3.1
uiTag: v0.3.2
pullPolicy: IfNotPresent
service:
......
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