Skip to content

Commit c743751

Browse files
committed
doc: cut v0.6.0 release
1 parent 5b59249 commit c743751

22 files changed

+1100
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This driver allows Kubernetes to use [azure-storage-fuse](https://github.com/Azu
1010
|Blobfuse CSI Driver Version | Image | 1.14+ |
1111
|-------------------------------|----------------------------------------------------|--------|
1212
|master branch |mcr.microsoft.com/k8s/csi/blobfuse-csi:latest | yes |
13+
|v0.6.0 |mcr.microsoft.com/k8s/csi/blobfuse-csi:v0.6.0 | yes |
1314
|v0.5.0 |mcr.microsoft.com/k8s/csi/blobfuse-csi:v0.5.0 | yes |
1415
|v0.4.0 |mcr.microsoft.com/k8s/csi/blobfuse-csi:v0.4.0 | yes |
1516

2.99 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.6.0
3+
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
4+
name: blobfuse-csi-driver
5+
version: v0.6.0
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The BlobFuse CSI Driver is getting deployed to your cluster.
2+
3+
To check Blobfuse 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 "blobfuse.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-blobfuse-controller
5+
namespace: {{ .Release.Namespace }}
6+
{{ include "blobfuse.labels" . | indent 2 }}
7+
spec:
8+
replicas: {{ .Values.controller.replicas }}
9+
selector:
10+
matchLabels:
11+
app: csi-blobfuse-controller
12+
template:
13+
metadata:
14+
{{ include "blobfuse.labels" . | indent 6 }}
15+
app: csi-blobfuse-controller
16+
spec:
17+
hostNetwork: true
18+
serviceAccountName: csi-blobfuse-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: 1
45+
memory: 1Gi
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: 1
66+
memory: 1Gi
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=29622
76+
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
77+
volumeMounts:
78+
- name: socket-dir
79+
mountPath: /csi
80+
resources:
81+
limits:
82+
cpu: 1
83+
memory: 1Gi
84+
requests:
85+
cpu: 10m
86+
memory: 20Mi
87+
- name: blobfuse
88+
image: "{{ .Values.image.blobfuse.repository }}:{{ .Values.image.blobfuse.tag }}"
89+
args:
90+
- "--v=5"
91+
- "--endpoint=$(CSI_ENDPOINT)"
92+
ports:
93+
- containerPort: 29622
94+
name: healthz
95+
protocol: TCP
96+
- containerPort: 29624
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.blobfuse.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: 1
128+
memory: 1Gi
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: blobfuse.csi.azure.com
6+
spec:
7+
attachRequired: false
8+
podInfoOnMount: true
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
kind: DaemonSet
2+
apiVersion: apps/v1
3+
metadata:
4+
name: csi-blobfuse-node
5+
namespace: {{ .Release.Namespace }}
6+
{{ include "blobfuse.labels" . | indent 2 }}
7+
spec:
8+
selector:
9+
matchLabels:
10+
app: csi-blobfuse-node
11+
template:
12+
metadata:
13+
{{ include "blobfuse.labels" . | indent 6 }}
14+
app: csi-blobfuse-node
15+
spec:
16+
hostNetwork: true
17+
serviceAccountName: csi-blobfuse-node-sa
18+
nodeSelector:
19+
kubernetes.io/os: linux
20+
priorityClassName: system-node-critical
21+
tolerations:
22+
- operator: "Exists"
23+
containers:
24+
- name: liveness-probe
25+
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
26+
volumeMounts:
27+
- mountPath: /csi
28+
name: socket-dir
29+
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
30+
args:
31+
- --csi-address=/csi/csi.sock
32+
- --connection-timeout=3s
33+
- --health-port=29623
34+
- --v=5
35+
resources:
36+
limits:
37+
cpu: 1
38+
memory: 1Gi
39+
requests:
40+
cpu: 10m
41+
memory: 20Mi
42+
- name: node-driver-registrar
43+
image: "{{ .Values.image.nodeDriverRegistrar.repository }}:{{ .Values.image.nodeDriverRegistrar.tag }}"
44+
args:
45+
- --csi-address=$(ADDRESS)
46+
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
47+
- --v=5
48+
lifecycle:
49+
preStop:
50+
exec:
51+
command: ["/bin/sh", "-c", "rm -rf /registration/blobfuse.csi.azure.com-reg.sock /csi/csi.sock"]
52+
env:
53+
- name: ADDRESS
54+
value: /csi/csi.sock
55+
- name: DRIVER_REG_SOCK_PATH
56+
value: /var/lib/kubelet/plugins/blobfuse.csi.azure.com/csi.sock
57+
volumeMounts:
58+
- name: socket-dir
59+
mountPath: /csi
60+
- name: registration-dir
61+
mountPath: /registration
62+
resources:
63+
limits:
64+
cpu: 1
65+
memory: 1Gi
66+
requests:
67+
cpu: 10m
68+
memory: 20Mi
69+
- name: blobfuse
70+
image: "{{ .Values.image.blobfuse.repository }}:{{ .Values.image.blobfuse.tag }}"
71+
args:
72+
- "--v=5"
73+
- "--endpoint=$(CSI_ENDPOINT)"
74+
- "--nodeid=$(KUBE_NODE_NAME)"
75+
- "--metrics-address=0.0.0.0:{{ .Values.node.metricsPort }}"
76+
ports:
77+
- containerPort: 29623
78+
name: healthz
79+
protocol: TCP
80+
- containerPort: {{ .Values.node.metricsPort }}
81+
name: metrics
82+
protocol: TCP
83+
livenessProbe:
84+
failureThreshold: 5
85+
httpGet:
86+
path: /healthz
87+
port: healthz
88+
initialDelaySeconds: 30
89+
timeoutSeconds: 10
90+
periodSeconds: 30
91+
env:
92+
- name: AZURE_CREDENTIAL_FILE
93+
valueFrom:
94+
configMapKeyRef:
95+
name: azure-cred-file
96+
key: path
97+
optional: true
98+
- name: CSI_ENDPOINT
99+
value: unix:///csi/csi.sock
100+
- name: KUBE_NODE_NAME
101+
valueFrom:
102+
fieldRef:
103+
apiVersion: v1
104+
fieldPath: spec.nodeName
105+
imagePullPolicy: {{ .Values.image.pullPolicy }}
106+
securityContext:
107+
privileged: true
108+
volumeMounts:
109+
- mountPath: /csi
110+
name: socket-dir
111+
- mountPath: /var/lib/kubelet/
112+
mountPropagation: Bidirectional
113+
name: mountpoint-dir
114+
- mountPath: /etc/kubernetes/
115+
name: azure-cred
116+
- mountPath: /var/lib/waagent/ManagedIdentity-Settings
117+
readOnly: true
118+
name: msi
119+
- mountPath: /mnt
120+
name: blobfuse-cache
121+
resources:
122+
limits:
123+
cpu: 4
124+
memory: 6Gi
125+
requests:
126+
cpu: 10m
127+
memory: 20Mi
128+
volumes:
129+
- hostPath:
130+
path: /var/lib/kubelet/plugins/blobfuse.csi.azure.com
131+
type: DirectoryOrCreate
132+
name: socket-dir
133+
- hostPath:
134+
path: /var/lib/kubelet/
135+
type: DirectoryOrCreate
136+
name: mountpoint-dir
137+
- hostPath:
138+
path: /var/lib/kubelet/plugins_registry/
139+
type: DirectoryOrCreate
140+
name: registration-dir
141+
- hostPath:
142+
path: /etc/kubernetes/
143+
type: Directory
144+
name: azure-cred
145+
- hostPath:
146+
path: /var/lib/waagent/ManagedIdentity-Settings
147+
name: msi
148+
- hostPath:
149+
path: /mnt
150+
name: blobfuse-cache

0 commit comments

Comments
 (0)