Skip to content

Commit 409dbf6

Browse files
committed
doc: cut off v0.3.0 beta release
1 parent 1165dc5 commit 409dbf6

8 files changed

+503
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ Status: Beta
1414
|-------------------------------|----------------------------------------------------|--------|
1515
|v0.1.0 |mcr.microsoft.com/k8s/csi/blobfuse-csi:v0.1.0 | yes |
1616
|v0.2.0 |mcr.microsoft.com/k8s/csi/blobfuse-csi:v0.2.0 | yes |
17+
|v0.3.0 |mcr.microsoft.com/k8s/csi/blobfuse-csi:v0.3.0 | yes |
1718
|master branch |mcr.microsoft.com/k8s/csi/blobfuse-csi:latest | yes |
1819

1920
### Kubernetes Compatibility
2021
| Blobfuse CSI Driver\Kubernetes Version | 1.13+ |
2122
|------------------------------------------|-------|
2223
| v0.1.0 | yes |
2324
| v0.2.0 | yes |
25+
| v0.3.0 | yes |
2426
| master branch | yes |
2527

2628
### Driver parameters
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
apiVersion: apiextensions.k8s.io/v1beta1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
creationTimestamp: null
5+
name: csidrivers.csi.storage.k8s.io
6+
spec:
7+
group: csi.storage.k8s.io
8+
names:
9+
kind: CSIDriver
10+
plural: csidrivers
11+
scope: Cluster
12+
validation:
13+
openAPIV3Schema:
14+
properties:
15+
spec:
16+
description: Specification of the CSI Driver.
17+
properties:
18+
attachRequired:
19+
description:
20+
Indicates this CSI volume driver requires an attach operation,
21+
and that Kubernetes should call attach and wait for any attach operation
22+
to complete before proceeding to mount.
23+
type: boolean
24+
podInfoOnMountVersion:
25+
description:
26+
Indicates this CSI volume driver requires additional pod
27+
information (like podName, podUID, etc.) during mount operations.
28+
type: string
29+
version: v1alpha1
30+
status:
31+
acceptedNames:
32+
kind: ""
33+
plural: ""
34+
conditions: []
35+
storedVersions: []

deploy/v0.3.0/crd-csi-node-info.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
apiVersion: apiextensions.k8s.io/v1beta1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
creationTimestamp: null
5+
name: csinodeinfos.csi.storage.k8s.io
6+
spec:
7+
group: csi.storage.k8s.io
8+
names:
9+
kind: CSINodeInfo
10+
plural: csinodeinfos
11+
scope: Cluster
12+
validation:
13+
openAPIV3Schema:
14+
properties:
15+
csiDrivers:
16+
description: List of CSI drivers running on the node and their properties.
17+
items:
18+
properties:
19+
driver:
20+
description: The CSI driver that this object refers to.
21+
type: string
22+
nodeID:
23+
description: The node from the driver point of view.
24+
type: string
25+
topologyKeys:
26+
description: List of keys supported by the driver.
27+
items:
28+
type: string
29+
type: array
30+
type: array
31+
version: v1alpha1
32+
status:
33+
acceptedNames:
34+
kind: ""
35+
plural: ""
36+
conditions: []
37+
storedVersions: []
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
---
2+
kind: Deployment
3+
apiVersion: apps/v1
4+
metadata:
5+
name: csi-blobfuse-controller
6+
namespace: kube-system
7+
spec:
8+
replicas: 1
9+
selector:
10+
matchLabels:
11+
app: csi-blobfuse-controller
12+
template:
13+
metadata:
14+
labels:
15+
app: csi-blobfuse-controller
16+
spec:
17+
serviceAccountName: csi-blobfuse-controller-sa
18+
nodeSelector:
19+
beta.kubernetes.io/os: linux
20+
priorityClassName: system-cluster-critical
21+
containers:
22+
- name: csi-provisioner
23+
image: quay.io/k8scsi/csi-provisioner:v1.0.1
24+
args:
25+
- "--provisioner=blobfuse.csi.azure.com"
26+
- "--csi-address=$(ADDRESS)"
27+
- "--connection-timeout=15s"
28+
env:
29+
- name: ADDRESS
30+
value: /csi/csi.sock
31+
imagePullPolicy: Always
32+
volumeMounts:
33+
- mountPath: /csi
34+
name: socket-dir
35+
- name: csi-attacher
36+
image: quay.io/k8scsi/csi-attacher:v1.0.1
37+
args:
38+
- --v=5
39+
- --csi-address=$(ADDRESS)
40+
- --timeout=120s
41+
env:
42+
- name: ADDRESS
43+
value: /csi/csi.sock
44+
imagePullPolicy: Always
45+
volumeMounts:
46+
- mountPath: /csi
47+
name: socket-dir
48+
- name: cluster-driver-registrar
49+
image: quay.io/k8scsi/csi-cluster-driver-registrar:v1.0.1
50+
args:
51+
- --csi-address=$(ADDRESS)
52+
- --driver-requires-attachment=true
53+
- --v=5
54+
env:
55+
- name: ADDRESS
56+
value: /csi/csi.sock
57+
volumeMounts:
58+
- name: socket-dir
59+
mountPath: /csi
60+
- name: liveness-probe
61+
image: quay.io/k8scsi/livenessprobe:v1.1.0
62+
args:
63+
- --csi-address=/csi/csi.sock
64+
- --connection-timeout=3s
65+
- --health-port=9802
66+
volumeMounts:
67+
- name: socket-dir
68+
mountPath: /csi
69+
- name: blobfuse
70+
image: mcr.microsoft.com/k8s/csi/blobfuse-csi:v0.3.0
71+
args:
72+
- "--v=5"
73+
- "--endpoint=$(CSI_ENDPOINT)"
74+
- "--nodeid=$(KUBE_NODE_NAME)"
75+
ports:
76+
- containerPort: 9802
77+
name: healthz
78+
protocol: TCP
79+
livenessProbe:
80+
failureThreshold: 5
81+
httpGet:
82+
path: /healthz
83+
port: healthz
84+
initialDelaySeconds: 30
85+
timeoutSeconds: 10
86+
periodSeconds: 30
87+
env:
88+
- name: AZURE_CREDENTIAL_FILE
89+
value: "/etc/kubernetes/azure.json"
90+
- name: CSI_ENDPOINT
91+
value: unix:///csi/csi.sock
92+
imagePullPolicy: Always
93+
volumeMounts:
94+
- mountPath: /csi
95+
name: socket-dir
96+
- mountPath: /etc/kubernetes/
97+
name: azure-cred
98+
- mountPath: /var/lib/waagent/ManagedIdentity-Settings
99+
readOnly: true
100+
name: msi
101+
volumes:
102+
- name: socket-dir
103+
emptyDir: {}
104+
- name: azure-cred
105+
hostPath:
106+
path: /etc/kubernetes/
107+
type: Directory
108+
- name: msi
109+
hostPath:
110+
path: /var/lib/waagent/ManagedIdentity-Settings

deploy/v0.3.0/csi-blobfuse-node.yaml

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
kind: DaemonSet
2+
apiVersion: apps/v1
3+
metadata:
4+
name: csi-blobfuse-node
5+
namespace: kube-system
6+
spec:
7+
selector:
8+
matchLabels:
9+
app: csi-blobfuse-node
10+
template:
11+
metadata:
12+
labels:
13+
app: csi-blobfuse-node
14+
spec:
15+
hostNetwork: true
16+
nodeSelector:
17+
beta.kubernetes.io/os: linux
18+
priorityClassName: system-node-critical
19+
containers:
20+
- name: liveness-probe
21+
imagePullPolicy: Always
22+
volumeMounts:
23+
- mountPath: /csi
24+
name: socket-dir
25+
image: quay.io/k8scsi/livenessprobe:v1.0.2
26+
args:
27+
- --csi-address=/csi/csi.sock
28+
- --connection-timeout=3s
29+
- --health-port=9802
30+
- name: node-driver-registrar
31+
image: quay.io/k8scsi/csi-node-driver-registrar:v1.1.0
32+
args:
33+
- --csi-address=$(ADDRESS)
34+
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
35+
- --v=5
36+
lifecycle:
37+
preStop:
38+
exec:
39+
command: ["/bin/sh", "-c", "rm -rf /registration/blobfuse.csi.azure.com-reg.sock /csi/csi.sock"]
40+
env:
41+
- name: ADDRESS
42+
value: /csi/csi.sock
43+
- name: DRIVER_REG_SOCK_PATH
44+
value: /var/lib/kubelet/plugins/blobfuse.csi.azure.com/csi.sock
45+
volumeMounts:
46+
- name: socket-dir
47+
mountPath: /csi
48+
- name: registration-dir
49+
mountPath: /registration
50+
- name: blobfuse
51+
image: mcr.microsoft.com/k8s/csi/blobfuse-csi:v0.3.0
52+
args:
53+
- "--v=5"
54+
- "--endpoint=$(CSI_ENDPOINT)"
55+
- "--nodeid=$(KUBE_NODE_NAME)"
56+
ports:
57+
- containerPort: 9802
58+
name: healthz
59+
protocol: TCP
60+
livenessProbe:
61+
failureThreshold: 5
62+
httpGet:
63+
path: /healthz
64+
port: healthz
65+
initialDelaySeconds: 30
66+
timeoutSeconds: 10
67+
periodSeconds: 30
68+
env:
69+
- name: AZURE_CREDENTIAL_FILE
70+
value: "/etc/kubernetes/azure.json"
71+
- name: CSI_ENDPOINT
72+
value: unix:///csi/csi.sock
73+
- name: KUBE_NODE_NAME
74+
valueFrom:
75+
fieldRef:
76+
apiVersion: v1
77+
fieldPath: spec.nodeName
78+
imagePullPolicy: Always
79+
securityContext:
80+
privileged: true
81+
volumeMounts:
82+
- mountPath: /csi
83+
name: socket-dir
84+
- mountPath: /var/lib/kubelet/
85+
mountPropagation: Bidirectional
86+
name: mountpoint-dir
87+
- mountPath: /etc/kubernetes/
88+
name: azure-cred
89+
- mountPath: /var/lib/waagent/ManagedIdentity-Settings
90+
readOnly: true
91+
name: msi
92+
- mountPath: /usr/blob/
93+
name: blobfuse-bin
94+
- mountPath: /mnt
95+
name: blobfuse-cache
96+
volumes:
97+
- hostPath:
98+
path: /var/lib/kubelet/plugins/blobfuse.csi.azure.com
99+
type: DirectoryOrCreate
100+
name: socket-dir
101+
- hostPath:
102+
path: /var/lib/kubelet/
103+
type: DirectoryOrCreate
104+
name: mountpoint-dir
105+
- hostPath:
106+
path: /var/lib/kubelet/plugins_registry/
107+
type: DirectoryOrCreate
108+
name: registration-dir
109+
- hostPath:
110+
path: /etc/kubernetes/
111+
type: Directory
112+
name: azure-cred
113+
- hostPath:
114+
path: /var/lib/waagent/ManagedIdentity-Settings
115+
name: msi
116+
- hostPath:
117+
path: /usr/bin
118+
name: blobfuse-bin
119+
- hostPath:
120+
path: /mnt
121+
name: blobfuse-cache

0 commit comments

Comments
 (0)