Skip to content

Commit

Permalink
Sync with Longhorn Manager
Browse files Browse the repository at this point in the history
commit ccdccee7b3ac8d254fc36fefa9acd6a091df624e
Author: Sheng Yang <sheng@yasker.org>
Date:   Wed Feb 20 13:59:32 2019 -0800

    Longhorn v0.4.0-rc1 release
  • Loading branch information
yasker committed Feb 20, 2019
1 parent 631ddeb commit 6e4c7f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
23 changes: 13 additions & 10 deletions deploy/longhorn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,23 @@ rules:
verbs:
- "*"
- apiGroups: [""]
resources: ["pods", "events", "persistentvolumes", "persistentvolumeclaims", "nodes", "proxy/nodes", "pods/log", "secrets", "services", "endpoints"]
resources: ["pods", "events", "persistentvolumes", "persistentvolumeclaims", "nodes", "proxy/nodes", "pods/log", "secrets", "services", "endpoints", "configmaps"]
verbs: ["*"]
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "list"]
- apiGroups: ["apps"]
resources: ["daemonsets", "statefulsets"]
resources: ["daemonsets", "statefulsets", "deployments"]
verbs: ["*"]
- apiGroups: ["batch"]
resources: ["jobs", "cronjobs"]
verbs: ["*"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses", "volumeattachments"]
verbs: ["*"]
- apiGroups: ["csi.storage.k8s.io"]
resources: ["csinodeinfos"]
verbs: ["get", "list", "watch"]
- apiGroups: ["longhorn.rancher.io"]
resources: ["volumes", "engines", "replicas", "settings", "engineimages", "nodes"]
verbs: ["*"]
Expand Down Expand Up @@ -178,7 +181,7 @@ spec:
spec:
containers:
- name: longhorn-manager
image: rancher/longhorn-manager:v0.3.3
image: rancher/longhorn-manager:v0.4.0-rc1
imagePullPolicy: Always
securityContext:
privileged: true
Expand All @@ -187,9 +190,9 @@ spec:
- -d
- daemon
- --engine-image
- rancher/longhorn-engine:v0.3.3
- rancher/longhorn-engine:v0.4.0-rc1
- --manager-image
- rancher/longhorn-manager:v0.3.3
- rancher/longhorn-manager:v0.4.0-rc1
- --service-account
- longhorn-service-account
ports:
Expand Down Expand Up @@ -255,7 +258,7 @@ metadata:
name: longhorn-ui
namespace: longhorn-system
spec:
replicas: 1
replicas: 3
selector:
matchLabels:
app: longhorn-ui
Expand All @@ -266,7 +269,7 @@ spec:
spec:
containers:
- name: longhorn-ui
image: rancher/longhorn-ui:v0.3.3
image: rancher/longhorn-ui:v0.4.0-rc1
ports:
- containerPort: 8000
env:
Expand Down Expand Up @@ -305,18 +308,18 @@ spec:
spec:
initContainers:
- name: wait-longhorn-manager
image: rancher/longhorn-manager:v0.3.3
image: rancher/longhorn-manager:v0.4.0-rc1
command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done']
containers:
- name: longhorn-driver-deployer
image: rancher/longhorn-manager:v0.3.3
image: rancher/longhorn-manager:v0.4.0-rc1
imagePullPolicy: Always
command:
- longhorn-manager
- -d
- deploy-driver
- --manager-image
- rancher/longhorn-manager:v0.3.3
- rancher/longhorn-manager:v0.4.0-rc1
- --manager-url
- http://longhorn-backend:9500/v1
# manually choose "flexvolume" or "csi"
Expand Down
2 changes: 1 addition & 1 deletion uninstall/uninstall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
spec:
containers:
- name: longhorn-uninstall
image: rancher/longhorn-manager:v0.3.3
image: rancher/longhorn-manager:v0.4.0-rc1
imagePullPolicy: Always
command:
- longhorn-manager
Expand Down

0 comments on commit 6e4c7f8

Please sign in to comment.