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:
|
||||
containers:
|
||||
- name: longhorn-manager
|
||||
image: rancher/longhorn-manager:06a81b9
|
||||
image: rancher/longhorn-manager:298b65f
|
||||
imagePullPolicy: Always
|
||||
securityContext:
|
||||
privileged: true
|
||||
@ -187,9 +187,9 @@ spec:
|
||||
- -d
|
||||
- daemon
|
||||
- --engine-image
|
||||
- rancher/longhorn-engine:31c42f0
|
||||
- rancher/longhorn-engine:e58683a
|
||||
- --manager-image
|
||||
- rancher/longhorn-manager:06a81b9
|
||||
- rancher/longhorn-manager:298b65f
|
||||
- --service-account
|
||||
- longhorn-service-account
|
||||
ports:
|
||||
@ -266,7 +266,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: longhorn-ui
|
||||
image: rancher/longhorn-ui:47e0b2a
|
||||
image: rancher/longhorn-ui:829ebc8
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
env:
|
||||
@ -305,18 +305,18 @@ spec:
|
||||
spec:
|
||||
initContainers:
|
||||
- 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']
|
||||
containers:
|
||||
- name: longhorn-driver-deployer
|
||||
image: rancher/longhorn-manager:06a81b9
|
||||
image: rancher/longhorn-manager:298b65f
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- longhorn-manager
|
||||
- -d
|
||||
- deploy-driver
|
||||
- --manager-image
|
||||
- rancher/longhorn-manager:06a81b9
|
||||
- rancher/longhorn-manager:298b65f
|
||||
- --manager-url
|
||||
- http://longhorn-backend:9500/v1
|
||||
# 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