Skip to content

Commit 8b7b256

Browse files
committed
doc: cut v1.1.0 release
1 parent 39b61a8 commit 8b7b256

25 files changed

+1300
-20
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ This driver allows Kubernetes to access Azure Storage through one of following m
1515
### Container Images & Kubernetes Compatibility:
1616
|driver version |Image | supported k8s version | built-in blobfuse version |
1717
|----------------|-------------------------------------------|-----------------------|---------------------------|
18-
|master branch |mcr.microsoft.com/k8s/csi/blob-csi:latest | 1.16+ | 1.3.7 |
18+
|master branch |mcr.microsoft.com/k8s/csi/blob-csi:latest | 1.17+ | 1.3.7 |
19+
|v1.1.0 |mcr.microsoft.com/k8s/csi/blob-csi:v1.1.0 | 1.17+ | 1.3.7 |
1920
|v1.0.0 |mcr.microsoft.com/k8s/csi/blob-csi:v1.0.0 | 1.16+ | 1.3.6 |
20-
|v0.11.0 |mcr.microsoft.com/k8s/csi/blob-csi:v0.11.0 | 1.15+ | 1.3.6 |
21-
|v0.10.0 |mcr.microsoft.com/k8s/csi/blob-csi:v0.10.0 | 1.15+ | 1.3.5 |
2221

2322
#### Breaking change notice
2423
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.

charts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ helm install blob-csi-driver blob-csi-driver/blob-csi-driver --namespace kube-sy
2020
### install a specific version
2121
```console
2222
helm repo add blob-csi-driver https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts
23-
helm install blob-csi-driver blob-csi-driver/blob-csi-driver --namespace kube-system --version v1.0.0
23+
helm install blob-csi-driver blob-csi-driver/blob-csi-driver --namespace kube-system --version v1.1.0
2424
```
2525

2626
### search for all available chart versions

charts/index.yaml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,25 @@ entries:
33
blob-csi-driver:
44
- apiVersion: v1
55
appVersion: latest
6-
created: "2021-02-25T13:26:45.338311342Z"
6+
created: "2021-05-02T01:31:14.413254258Z"
77
description: Azure Blob Storage CSI driver
8-
digest: e4d85480f96b19509e8e51219eb4341a52418272ce410609d600c216a1765f85
8+
digest: 89f5e948130a4f5ba128dfa034cafa11e67926cc472611b04dd581e7db7b1e6e
99
name: blob-csi-driver
1010
urls:
1111
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/latest/blob-csi-driver-v1.1.0.tgz
1212
version: v1.1.0
13+
- apiVersion: v1
14+
appVersion: v1.1.0
15+
created: "2021-05-02T01:31:14.425337222Z"
16+
description: Azure Blob Storage CSI driver
17+
digest: a251a55243de207c69ef53f72abee45e93b72fa4fc43dc204b7f1cdfd459acdb
18+
name: blob-csi-driver
19+
urls:
20+
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v1.1.0/blob-csi-driver-v1.1.0.tgz
21+
version: v1.1.0
1322
- apiVersion: v1
1423
appVersion: v1.0.0
15-
created: "2021-02-25T13:26:45.343153468Z"
24+
created: "2021-05-02T01:31:14.424578418Z"
1625
description: Azure Blob Storage CSI driver
1726
digest: e83f037a165eafc83a978bd7e6bf6221b052ac34363aecb12e6a73607dc58b89
1827
name: blob-csi-driver
@@ -21,7 +30,7 @@ entries:
2130
version: v1.0.0
2231
- apiVersion: v1
2332
appVersion: v0.11.0
24-
created: "2021-02-25T13:26:45.339249947Z"
33+
created: "2021-05-02T01:31:14.416937878Z"
2534
description: Azure Blob Storage CSI driver
2635
digest: ded903d30eaef4f41e2cc7172292089fbaf122cc24cc32f5e62207cff445a9da
2736
name: blob-csi-driver
@@ -30,7 +39,7 @@ entries:
3039
version: v0.11.0
3140
- apiVersion: v1
3241
appVersion: v0.10.0
33-
created: "2021-02-25T13:26:45.338775044Z"
42+
created: "2021-05-02T01:31:14.414564565Z"
3443
description: Azure Blob Storage CSI driver
3544
digest: 24f3642ce8535544ad63334f9a71eb8c594cc2943becd21844b6b1132d261960
3645
name: blob-csi-driver
@@ -39,7 +48,7 @@ entries:
3948
version: v0.10.0
4049
- apiVersion: v1
4150
appVersion: v0.9.0
42-
created: "2021-02-25T13:26:45.342757466Z"
51+
created: "2021-05-02T01:31:14.423135311Z"
4352
description: Azure Blob Storage CSI driver
4453
digest: d125014409cad519f12838390c176f81f34097a5ba759a177980255a9fe775e2
4554
name: blob-csi-driver
@@ -48,7 +57,7 @@ entries:
4857
version: v0.9.0
4958
- apiVersion: v1
5059
appVersion: v0.8.0
51-
created: "2021-02-25T13:26:45.342387964Z"
60+
created: "2021-05-02T01:31:14.422180906Z"
5261
description: Azure Blob Storage CSI driver
5362
digest: 8ac9fc62030ff7c7dd6deaa51db410d9b782578149347688b8f66b37ec33960f
5463
name: blob-csi-driver
@@ -57,7 +66,7 @@ entries:
5766
version: v0.8.0
5867
- apiVersion: v1
5968
appVersion: v0.7.0
60-
created: "2021-02-25T13:26:45.341872161Z"
69+
created: "2021-05-02T01:31:14.421239501Z"
6170
description: Azure Blob Storage CSI driver
6271
digest: 6d758b8e4a480a8d006f7e73c51d32ea0b568b8ba1364d4ac33549e3bedfc9a7
6372
name: blob-csi-driver
@@ -67,7 +76,7 @@ entries:
6776
blobfuse-csi-driver:
6877
- apiVersion: v1
6978
appVersion: v0.6.0
70-
created: "2021-02-25T13:26:45.341027257Z"
79+
created: "2021-05-02T01:31:14.420158195Z"
7180
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
7281
digest: 2bea484bc1e87097b048ab2e1615683b8b7db614059fb624a0a2b18ad0920926
7382
name: blobfuse-csi-driver
@@ -76,7 +85,7 @@ entries:
7685
version: v0.6.0
7786
- apiVersion: v1
7887
appVersion: v0.5.0
79-
created: "2021-02-25T13:26:45.340029951Z"
88+
created: "2021-05-02T01:31:14.41928189Z"
8089
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
8190
digest: 11441a6025c319e97c0605f520c4be063eadc482670655bb6ecc4426bee2d49c
8291
name: blobfuse-csi-driver
@@ -85,11 +94,11 @@ entries:
8594
version: v0.5.0
8695
- apiVersion: v1
8796
appVersion: v0.4.0
88-
created: "2021-02-25T13:26:45.339617949Z"
97+
created: "2021-05-02T01:31:14.418134984Z"
8998
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
9099
digest: 263e474a08598f1c7f518c1efed43eb23d9f12b146b3c47deda77aa99c0ca385
91100
name: blobfuse-csi-driver
92101
urls:
93102
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.4.0/blobfuse-csi-driver-v0.4.0.tgz
94103
version: v0.4.0
95-
generated: "2021-02-25T13:26:45.337652438Z"
104+
generated: "2021-05-02T01:31:14.411952751Z"
4.13 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: v1.1.0
3+
description: Azure Blob Storage CSI driver
4+
name: blob-csi-driver
5+
version: v1.1.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: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{{/* vim: set filetype=mustache: */}}
2+
3+
{{/* Expand the name of the chart.*/}}
4+
{{- define "blob.name" -}}
5+
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
6+
{{- end -}}
7+
8+
{{/* labels for helm resources */}}
9+
{{- define "blob.labels" -}}
10+
labels:
11+
app.kubernetes.io/instance: "{{ .Release.Name }}"
12+
app.kubernetes.io/managed-by: "{{ .Release.Service }}"
13+
app.kubernetes.io/name: "{{ template "blob.name" . }}"
14+
app.kubernetes.io/version: "{{ .Chart.AppVersion }}"
15+
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
16+
{{- end -}}
17+
18+
{{/* pull secrets for containers */}}
19+
{{- define "blob.pullSecrets" -}}
20+
{{- if .Values.imagePullSecrets }}
21+
imagePullSecrets:
22+
{{- range .Values.imagePullSecrets }}
23+
- name: {{ . }}
24+
{{- end }}
25+
{{- end }}
26+
{{- end -}}
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
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+
{{- if .Values.podLabels }}
17+
{{- toYaml .Values.podLabels | nindent 8 }}
18+
{{- end }}
19+
{{- if .Values.podAnnotations }}
20+
annotations:
21+
{{ toYaml .Values.podAnnotations | indent 8 }}
22+
{{- end }}
23+
spec:
24+
{{- with .Values.controller.affinity }}
25+
affinity:
26+
{{ toYaml . | indent 8 }}
27+
{{- end }}
28+
{{- if .Values.imagePullSecrets }}
29+
imagePullSecrets:
30+
{{ toYaml .Values.imagePullSecrets | indent 8 }}
31+
{{- end }}
32+
hostNetwork: true
33+
serviceAccountName: csi-blob-controller-sa
34+
nodeSelector:
35+
kubernetes.io/os: linux
36+
{{- if .Values.controller.runOnMaster}}
37+
kubernetes.io/role: master
38+
{{- end}}
39+
{{- with .Values.controller.nodeSelector }}
40+
{{ toYaml . | indent 8 }}
41+
{{- end }}
42+
priorityClassName: {{ .Values.priorityClassName | quote }}
43+
tolerations:
44+
- key: "node-role.kubernetes.io/master"
45+
operator: "Equal"
46+
value: "true"
47+
effect: "NoSchedule"
48+
- key: "node-role.kubernetes.io/controlplane"
49+
operator: "Equal"
50+
value: "true"
51+
effect: "NoSchedule"
52+
{{- with .Values.controller.tolerations }}
53+
{{ toYaml . | indent 8 }}
54+
{{- end }}
55+
containers:
56+
- name: csi-provisioner
57+
image: {{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}
58+
args:
59+
- "-v=2"
60+
- "--csi-address=$(ADDRESS)"
61+
- "--leader-election"
62+
- "--timeout=60s"
63+
env:
64+
- name: ADDRESS
65+
value: /csi/csi.sock
66+
imagePullPolicy: {{ .Values.image.csiProvisioner.pullPolicy }}
67+
volumeMounts:
68+
- mountPath: /csi
69+
name: socket-dir
70+
resources: {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }}
71+
- name: liveness-probe
72+
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
73+
args:
74+
- --csi-address=/csi/csi.sock
75+
- --probe-timeout=3s
76+
- --health-port=29632
77+
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
78+
volumeMounts:
79+
- name: socket-dir
80+
mountPath: /csi
81+
resources: {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }}
82+
- name: blob
83+
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
84+
args:
85+
- "--v={{ .Values.controller.logLevel }}"
86+
- "--endpoint=$(CSI_ENDPOINT)"
87+
- "--metrics-address=0.0.0.0:{{ .Values.controller.metricsPort }}"
88+
ports:
89+
- containerPort: 29632
90+
name: healthz
91+
protocol: TCP
92+
- containerPort: {{ .Values.controller.metricsPort }}
93+
name: metrics
94+
protocol: TCP
95+
livenessProbe:
96+
failureThreshold: 5
97+
httpGet:
98+
path: /healthz
99+
port: healthz
100+
initialDelaySeconds: 30
101+
timeoutSeconds: 10
102+
periodSeconds: 30
103+
env:
104+
- name: AZURE_CREDENTIAL_FILE
105+
valueFrom:
106+
configMapKeyRef:
107+
name: azure-cred-file
108+
key: path
109+
optional: true
110+
- name: CSI_ENDPOINT
111+
value: unix:///csi/csi.sock
112+
{{- if eq .Values.cloud "AzureStackCloud" }}
113+
- name: AZURE_ENVIRONMENT_FILEPATH
114+
value: /etc/kubernetes/azurestackcloud.json
115+
{{- end }}
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+
{{- if eq .Values.cloud "AzureStackCloud" }}
126+
- name: ssl
127+
mountPath: /etc/ssl/certs
128+
readOnly: true
129+
{{- end }}
130+
resources: {{- toYaml .Values.controller.resources.blob | nindent 12 }}
131+
- name: csi-resizer
132+
image: "{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
133+
args:
134+
- "-csi-address=$(ADDRESS)"
135+
- "-v=2"
136+
- "-leader-election"
137+
- '-handle-volume-inuse-error=false'
138+
env:
139+
- name: ADDRESS
140+
value: /csi/csi.sock
141+
imagePullPolicy: {{ .Values.image.csiResizer.pullPolicy }}
142+
volumeMounts:
143+
- name: socket-dir
144+
mountPath: /csi
145+
resources: {{- toYaml .Values.controller.resources.csiResizer | nindent 12 }}
146+
volumes:
147+
- name: socket-dir
148+
emptyDir: {}
149+
- name: azure-cred
150+
hostPath:
151+
path: /etc/kubernetes/
152+
type: Directory
153+
- name: msi
154+
hostPath:
155+
path: /var/lib/waagent/ManagedIdentity-Settings
156+
{{- if eq .Values.cloud "AzureStackCloud" }}
157+
- name: ssl
158+
hostPath:
159+
path: /etc/ssl/certs
160+
{{- end }}
161+
{{- if .Values.securityContext }}
162+
securityContext: {{- toYaml .Values.securityContext | nindent 8 }}
163+
{{- end }}
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)