Skip to content

Commit fb7cfa3

Browse files
committed
doc: cut v0.7.0 release
add more commits breaking change statement
1 parent b72a096 commit fb7cfa3

26 files changed

+1152
-32
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ This driver allows Kubernetes to access Azure Storage through one of following m
1010

1111
csi plugin name: `blob.csi.azure.com`
1212

13+
#### Breaking change
14+
Since `v0.7.0`, driver name changed from `blobfuse.csi.azure.com` to `blob.csi.azure.com`, volume created by `v0.6.0`(or prior version) could not be mounted by `v0.7.0` driver. If you have volumes created by `v0.6.0` version, just keep the driver running in your cluster.
15+
1316
### Container Images & Kubernetes Compatibility:
14-
|Azure Blob Storage CSI driver Version | Image | 1.14+ |
15-
|-----------------------------------------|----------------------------------------------------|--------|
16-
|master branch |mcr.microsoft.com/k8s/csi/blob-csi:latest | yes |
17-
|v0.6.0 |mcr.microsoft.com/k8s/csi/blobfuse-csi:v0.6.0 | yes |
18-
|v0.5.0 |mcr.microsoft.com/k8s/csi/blobfuse-csi:v0.5.0 | yes |
19-
|v0.4.0 |mcr.microsoft.com/k8s/csi/blobfuse-csi:v0.4.0 | yes |
17+
|Azure Blob Storage CSI driver Version | Image | 1.14+ |
18+
|-----------------------------------------|----------------------------------------------|--------|
19+
|master branch |mcr.microsoft.com/k8s/csi/blob-csi:latest | yes |
20+
|v0.7.0 |mcr.microsoft.com/k8s/csi/blob-csi:v0.7.0 | yes |
2021

2122
### Driver parameters
2223
Please refer to `blob.csi.azure.com` [driver parameters](./docs/driver-parameters.md)

charts/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#### Breaking change
2+
Since `v0.7.0`, driver name changed from `blobfuse.csi.azure.com` to `blob.csi.azure.com`, volume created by `v0.6.0`(or prior version) could not be mounted by `v0.7.0` driver. If you have volumes created by `v0.6.0` version, just keep the driver running in your cluster.
3+
14
# Installation with Helm 3
25

36
Quick start instructions for the setup and configuration of Azure Blob Storage CSI driver using Helm.
@@ -28,7 +31,7 @@ $ helm search repo -l blob-csi-driver/
2831
### Install a specific version of Helm chart
2932
Specify the version of the chart to be installed using the `--version` parameter.
3033
```console
31-
helm install blob-csi-driver blob-csi-driver/blob-csi-driver --namespace kube-system --version v0.6.0
34+
helm install blob-csi-driver blob-csi-driver/blob-csi-driver --namespace kube-system --version v0.7.0
3235
```
3336

3437
## Uninstall

charts/index.yaml

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,59 @@
11
apiVersion: v1
22
entries:
3+
blob-csi-driver:
4+
- apiVersion: v1
5+
appVersion: v0.7.0
6+
created: "2020-08-14T02:58:30.518545111Z"
7+
description: Azure Blob Storage CSI driver
8+
digest: 6d758b8e4a480a8d006f7e73c51d32ea0b568b8ba1364d4ac33549e3bedfc9a7
9+
name: blob-csi-driver
10+
urls:
11+
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.7.0/blob-csi-driver-v0.7.0.tgz
12+
version: v0.7.0
13+
- apiVersion: v1
14+
appVersion: latest
15+
created: "2020-08-14T02:58:30.518080406Z"
16+
description: Azure Blob Storage CSI driver
17+
digest: a85285af0500bfb2160f910863db8174f9e7399f845d784ff99dda7812accfdf
18+
name: blob-csi-driver
19+
urls:
20+
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.7.0/blob-csi-driver-latest.tgz
21+
version: latest
22+
- apiVersion: v1
23+
appVersion: latest
24+
created: "2020-08-14T02:58:30.515604779Z"
25+
description: Azure Blob Storage CSI driver
26+
digest: a85285af0500bfb2160f910863db8174f9e7399f845d784ff99dda7812accfdf
27+
name: blob-csi-driver
28+
urls:
29+
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/latest/blob-csi-driver-latest.tgz
30+
version: latest
331
blobfuse-csi-driver:
432
- apiVersion: v1
533
appVersion: v0.6.0
6-
created: "2020-08-07T10:13:23.310362+08:00"
34+
created: "2020-08-14T02:58:30.5175966Z"
735
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
836
digest: 2bea484bc1e87097b048ab2e1615683b8b7db614059fb624a0a2b18ad0920926
9-
maintainers:
10-
11-
name: andyzhangx
1237
name: blobfuse-csi-driver
1338
urls:
14-
- https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/charts/v0.6.0/blobfuse-csi-driver-v0.6.0.tgz
39+
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.6.0/blobfuse-csi-driver-v0.6.0.tgz
1540
version: v0.6.0
1641
- apiVersion: v1
1742
appVersion: v0.5.0
18-
created: "2020-08-07T10:13:23.307753+08:00"
43+
created: "2020-08-14T02:58:30.517063195Z"
1944
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
2045
digest: 11441a6025c319e97c0605f520c4be063eadc482670655bb6ecc4426bee2d49c
21-
maintainers:
22-
23-
name: andyzhangx
2446
name: blobfuse-csi-driver
2547
urls:
26-
- https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/charts/v0.5.0/blobfuse-csi-driver-v0.5.0.tgz
48+
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.5.0/blobfuse-csi-driver-v0.5.0.tgz
2749
version: v0.5.0
2850
- apiVersion: v1
2951
appVersion: v0.4.0
30-
created: "2020-08-07T10:13:23.301835+08:00"
52+
created: "2020-08-14T02:58:30.516061584Z"
3153
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
3254
digest: 263e474a08598f1c7f518c1efed43eb23d9f12b146b3c47deda77aa99c0ca385
33-
maintainers:
34-
35-
name: andyzhangx
3655
name: blobfuse-csi-driver
3756
urls:
38-
- https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/charts/v0.4.0/blobfuse-csi-driver-v0.4.0.tgz
57+
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.4.0/blobfuse-csi-driver-v0.4.0.tgz
3958
version: v0.4.0
40-
generated: "2020-08-07T10:13:23.287736+08:00"
59+
generated: "2020-08-14T02:58:30.51392056Z"
2.96 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
appVersion: v0.7.0
3+
description: Azure Blob Storage CSI driver
4+
name: blob-csi-driver
5+
version: v0.7.0
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The Azure Blob Storage CSI driver is getting deployed to your cluster.
2+
3+
To check Azure Blob Storage CSI driver pods status, please run:
4+
5+
kubectl --namespace={{ .Release.Namespace }} get pods --selector="release={{ .Release.Name }}" --watch
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{{/* vim: set filetype=mustache: */}}
2+
3+
{{/* labels for helm resources */}}
4+
{{- define "blob.labels" -}}
5+
labels:
6+
heritage: "{{ .Release.Service }}"
7+
release: "{{ .Release.Name }}"
8+
revision: "{{ .Release.Revision }}"
9+
chart: "{{ .Chart.Name }}"
10+
chartVersion: "{{ .Chart.Version }}"
11+
{{- end -}}
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
kind: Deployment
2+
apiVersion: apps/v1
3+
metadata:
4+
name: csi-blob-controller
5+
namespace: {{ .Release.Namespace }}
6+
{{ include "blob.labels" . | indent 2 }}
7+
spec:
8+
replicas: {{ .Values.controller.replicas }}
9+
selector:
10+
matchLabels:
11+
app: csi-blob-controller
12+
template:
13+
metadata:
14+
{{ include "blob.labels" . | indent 6 }}
15+
app: csi-blob-controller
16+
spec:
17+
hostNetwork: true
18+
serviceAccountName: csi-blob-controller-sa
19+
nodeSelector:
20+
kubernetes.io/os: linux
21+
priorityClassName: system-cluster-critical
22+
tolerations:
23+
- key: "node-role.kubernetes.io/master"
24+
operator: "Equal"
25+
value: "true"
26+
effect: "NoSchedule"
27+
containers:
28+
- name: csi-provisioner
29+
image: {{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}
30+
args:
31+
- "-v=5"
32+
- "--csi-address=$(ADDRESS)"
33+
- "--enable-leader-election"
34+
- "--leader-election-type=leases"
35+
env:
36+
- name: ADDRESS
37+
value: /csi/csi.sock
38+
imagePullPolicy: {{ .Values.image.csiProvisioner.pullPolicy }}
39+
volumeMounts:
40+
- mountPath: /csi
41+
name: socket-dir
42+
resources:
43+
limits:
44+
cpu: 100m
45+
memory: 100Mi
46+
requests:
47+
cpu: 10m
48+
memory: 20Mi
49+
- name: csi-attacher
50+
image: "{{ .Values.image.csiAttacher.repository }}:{{ .Values.image.csiAttacher.tag }}"
51+
args:
52+
- "-v=5"
53+
- "-csi-address=$(ADDRESS)"
54+
- "-timeout=120s"
55+
- "-leader-election"
56+
env:
57+
- name: ADDRESS
58+
value: /csi/csi.sock
59+
imagePullPolicy: {{ .Values.image.csiAttacher.pullPolicy }}
60+
volumeMounts:
61+
- mountPath: /csi
62+
name: socket-dir
63+
resources:
64+
limits:
65+
cpu: 100m
66+
memory: 100Mi
67+
requests:
68+
cpu: 10m
69+
memory: 20Mi
70+
- name: liveness-probe
71+
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
72+
args:
73+
- --csi-address=/csi/csi.sock
74+
- --connection-timeout=3s
75+
- --health-port=29632
76+
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
77+
volumeMounts:
78+
- name: socket-dir
79+
mountPath: /csi
80+
resources:
81+
limits:
82+
cpu: 100m
83+
memory: 100Mi
84+
requests:
85+
cpu: 10m
86+
memory: 20Mi
87+
- name: blob
88+
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
89+
args:
90+
- "--v=5"
91+
- "--endpoint=$(CSI_ENDPOINT)"
92+
ports:
93+
- containerPort: 29632
94+
name: healthz
95+
protocol: TCP
96+
- containerPort: 29634
97+
name: metrics
98+
protocol: TCP
99+
livenessProbe:
100+
failureThreshold: 5
101+
httpGet:
102+
path: /healthz
103+
port: healthz
104+
initialDelaySeconds: 30
105+
timeoutSeconds: 10
106+
periodSeconds: 30
107+
env:
108+
- name: AZURE_CREDENTIAL_FILE
109+
valueFrom:
110+
configMapKeyRef:
111+
name: azure-cred-file
112+
key: path
113+
optional: true
114+
- name: CSI_ENDPOINT
115+
value: unix:///csi/csi.sock
116+
imagePullPolicy: {{ .Values.image.blob.pullPolicy }}
117+
volumeMounts:
118+
- mountPath: /csi
119+
name: socket-dir
120+
- mountPath: /etc/kubernetes/
121+
name: azure-cred
122+
- mountPath: /var/lib/waagent/ManagedIdentity-Settings
123+
readOnly: true
124+
name: msi
125+
resources:
126+
limits:
127+
cpu: 200m
128+
memory: 200Mi
129+
requests:
130+
cpu: 10m
131+
memory: 20Mi
132+
volumes:
133+
- name: socket-dir
134+
emptyDir: {}
135+
- name: azure-cred
136+
hostPath:
137+
path: /etc/kubernetes/
138+
type: Directory
139+
- name: msi
140+
hostPath:
141+
path: /var/lib/waagent/ManagedIdentity-Settings
142+
---
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
apiVersion: storage.k8s.io/v1beta1
3+
kind: CSIDriver
4+
metadata:
5+
name: blob.csi.azure.com
6+
spec:
7+
attachRequired: false
8+
podInfoOnMount: true

0 commit comments

Comments
 (0)