Sync with Longhorn Manager
Manager commit: commit 193dc5704ef033196300780fa5f956ba8c32b828 Author: Sheng Yang <sheng@yasker.org> Date: Fri Aug 3 23:02:16 2018 -0700 Update images Manager to: rancher/longhorn-manager:298b65f Engine to: rancher/longhorn-engine:e58683a UI to: rancher/longhorn-ui:829ebc8
This commit is contained in:
parent
50354e4611
commit
1c87568c86
@ -178,7 +178,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: longhorn-manager
|
- name: longhorn-manager
|
||||||
image: rancher/longhorn-manager:06a81b9
|
image: rancher/longhorn-manager:298b65f
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
@ -187,9 +187,9 @@ spec:
|
|||||||
- -d
|
- -d
|
||||||
- daemon
|
- daemon
|
||||||
- --engine-image
|
- --engine-image
|
||||||
- rancher/longhorn-engine:31c42f0
|
- rancher/longhorn-engine:e58683a
|
||||||
- --manager-image
|
- --manager-image
|
||||||
- rancher/longhorn-manager:06a81b9
|
- rancher/longhorn-manager:298b65f
|
||||||
- --service-account
|
- --service-account
|
||||||
- longhorn-service-account
|
- longhorn-service-account
|
||||||
ports:
|
ports:
|
||||||
@ -266,7 +266,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: longhorn-ui
|
- name: longhorn-ui
|
||||||
image: rancher/longhorn-ui:47e0b2a
|
image: rancher/longhorn-ui:829ebc8
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
env:
|
env:
|
||||||
@ -305,18 +305,18 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-longhorn-manager
|
- name: wait-longhorn-manager
|
||||||
image: rancher/longhorn-manager:06a81b9
|
image: rancher/longhorn-manager:298b65f
|
||||||
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']
|
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:
|
containers:
|
||||||
- name: longhorn-driver-deployer
|
- name: longhorn-driver-deployer
|
||||||
image: rancher/longhorn-manager:06a81b9
|
image: rancher/longhorn-manager:298b65f
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
command:
|
command:
|
||||||
- longhorn-manager
|
- longhorn-manager
|
||||||
- -d
|
- -d
|
||||||
- deploy-driver
|
- deploy-driver
|
||||||
- --manager-image
|
- --manager-image
|
||||||
- rancher/longhorn-manager:06a81b9
|
- rancher/longhorn-manager:298b65f
|
||||||
- --manager-url
|
- --manager-url
|
||||||
- http://longhorn-backend:9500/v1
|
- http://longhorn-backend:9500/v1
|
||||||
# manually choose "flexvolume" or "csi"
|
# manually choose "flexvolume" or "csi"
|
||||||
|
26
examples/flexvolume/example_baseimage.yaml
Normal file
26
examples/flexvolume/example_baseimage.yaml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: flexvol-baseimage
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: flexvol-baseimage
|
||||||
|
image: nginx:stable-alpine
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
volumeMounts:
|
||||||
|
- name: flexvol
|
||||||
|
mountPath: /usr/share/nginx/html
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
volumes:
|
||||||
|
- name: flexvol
|
||||||
|
flexVolume:
|
||||||
|
driver: "rancher.io/longhorn"
|
||||||
|
# fsType: "iso9660"
|
||||||
|
options:
|
||||||
|
size: "16Mi"
|
||||||
|
numberOfReplicas: "3"
|
||||||
|
staleReplicaTimeout: "20"
|
||||||
|
fromBackup: ""
|
||||||
|
baseImage: "rancher/longhorn-test-baseimage"
|
Loading…
Reference in New Issue
Block a user