Merge pull request #90 from andyzhangx/blobfuse-1.0.15

doc: cut blobfuse 1.0.15
This commit is contained in:
Andy Zhang 2020-11-13 20:20:39 +08:00 коммит произвёл GitHub
Родитель 5ba5b622d1 b7e56bf7e4
Коммит a18349d828
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
7 изменённых файлов: 46 добавлений и 6 удалений

Просмотреть файл

@ -18,7 +18,7 @@ mountoptions | other mount options | `--file-cache-timeout-in-seconds=120 --use-
Blobfuse driver does not honor `fsGroup` securityContext setting, instead user could use `-o gid=1000` in `mountoptions` to set ownership, example [pv-blobfuse-flexvol-gid.yaml](./pv-blobfuse-flexvol-gid.yaml), check https://github.com/Azure/azure-storage-fuse#mount-options for more mountoptions.
### Latest Container Image:
`mcr.microsoft.com/k8s/flexvolume/blobfuse-flexvolume:1.0.14`
`mcr.microsoft.com/k8s/flexvolume/blobfuse-flexvolume:1.0.15`
# Prerequisite
- An azure storage account and a container should be created in the same region with the kubernetes cluster and storage account name, account key, container name should be provided in below example.

Просмотреть файл

@ -2,7 +2,7 @@
```
REPO_NAME=<YOUR-REPO-NAME>
VER=1.0.14
VER=1.0.15
cd blobfuse-flexvol-installer
docker build --no-cache -t $REPO_NAME/blobfuse-flexvol-installer:$VER .
@ -46,3 +46,4 @@ docker push $REPO_NAME/blobfuse-flexvol-installer:latest
| 1.0.12 | N/A | fix sovereign cloud issue |
| 1.0.13 | N/A | fix blobfuse mkdir issue([PR#60](https://github.com/Azure/kubernetes-volume-drivers/pull/60)) |
| 1.0.14 | N/A | <br> - default `tmp-path` to `/mnt`([PR#60](https://github.com/Azure/kubernetes-volume-drivers/pull/86)) <br> - use random folder(`/mnt/blobfuse$RANDOM`) for `tmp-path` by default |
| 1.0.15 | N/A | fix: pod stuck in terminating issue([PR#89](https://github.com/Azure/kubernetes-volume-drivers/pull/89)) |

Просмотреть файл

@ -18,7 +18,7 @@ spec:
priorityClassName: system-node-critical
containers:
- name: blobfuse-flexvol-installer
image: mcr.microsoft.com/k8s/flexvolume/blobfuse-flexvolume:1.0.14
image: mcr.microsoft.com/k8s/flexvolume/blobfuse-flexvolume:1.0.15
imagePullPolicy: IfNotPresent
volumeMounts:
- name: volplugins

Просмотреть файл

@ -18,7 +18,7 @@ spec:
priorityClassName: system-node-critical
containers:
- name: blobfuse-flexvol-installer
image: mcr.microsoft.com/k8s/flexvolume/blobfuse-flexvolume:1.0.14
image: mcr.microsoft.com/k8s/flexvolume/blobfuse-flexvolume:1.0.15
imagePullPolicy: IfNotPresent
volumeMounts:
- name: volplugins

Просмотреть файл

@ -4,7 +4,7 @@ DIR=$(dirname "$(readlink -f "$0")")
JQ="/usr/bin/jq"
BLOBFUSE="blobfuse"
LOG="/var/log/blobfuse-driver.log"
VER="1.0.14"
VER="1.0.15"
usage() {
err "Invalid usage. Usage: "

Просмотреть файл

@ -1,7 +1,7 @@
#!/bin/sh
LOG="/var/log/blobfuse-flexvol-installer.log"
VER="1.0.14"
VER="1.0.15"
target_dir="${TARGET_DIR}"
if [[ -z "${target_dir}" ]]; then

Просмотреть файл

@ -0,0 +1,39 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: nginx
name: deployment-blob
spec:
replicas: 1
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
name: deployment-blob
spec:
nodeSelector:
"kubernetes.io/os": linux
containers:
- name: deployment-blob
image: mcr.microsoft.com/oss/nginx/nginx:1.17.3-alpine
command:
- "/bin/sh"
- "-c"
- while true; do echo $(date) >> /mnt/blob/outfile; sleep 1; done
volumeMounts:
- name: blob
mountPath: "/mnt/blob"
readOnly: false
volumes:
- name: blob
persistentVolumeClaim:
claimName: pvc-blobfuse-flexvol
strategy:
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
type: RollingUpdate