-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #301 from andyzhangx/cut-v0.7.1
doc: cut v0.7.1 release
- Loading branch information
Showing
23 changed files
with
1,114 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: v1 | ||
appVersion: v0.7.1 | ||
description: Azure Blob Storage CSI driver | ||
name: blob-csi-driver | ||
version: v0.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
The Azure Blob Storage CSI driver is getting deployed to your cluster. | ||
|
||
To check Azure Blob Storage CSI driver pods status, please run: | ||
|
||
kubectl --namespace={{ .Release.Namespace }} get pods --selector="release={{ .Release.Name }}" --watch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
|
||
{{/* labels for helm resources */}} | ||
{{- define "blob.labels" -}} | ||
labels: | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
revision: "{{ .Release.Revision }}" | ||
chart: "{{ .Chart.Name }}" | ||
chartVersion: "{{ .Chart.Version }}" | ||
{{- end -}} |
142 changes: 142 additions & 0 deletions
142
charts/v0.7.1/blob-csi-driver/templates/csi-blob-controller.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: csi-blob-controller | ||
namespace: {{ .Release.Namespace }} | ||
{{ include "blob.labels" . | indent 2 }} | ||
spec: | ||
replicas: {{ .Values.controller.replicas }} | ||
selector: | ||
matchLabels: | ||
app: csi-blob-controller | ||
template: | ||
metadata: | ||
{{ include "blob.labels" . | indent 6 }} | ||
app: csi-blob-controller | ||
spec: | ||
hostNetwork: true | ||
serviceAccountName: csi-blob-controller-sa | ||
nodeSelector: | ||
kubernetes.io/os: linux | ||
priorityClassName: system-cluster-critical | ||
tolerations: | ||
- key: "node-role.kubernetes.io/master" | ||
operator: "Equal" | ||
value: "true" | ||
effect: "NoSchedule" | ||
containers: | ||
- name: csi-provisioner | ||
image: {{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }} | ||
args: | ||
- "-v=5" | ||
- "--csi-address=$(ADDRESS)" | ||
- "--enable-leader-election" | ||
- "--leader-election-type=leases" | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
imagePullPolicy: {{ .Values.image.csiProvisioner.pullPolicy }} | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 100Mi | ||
requests: | ||
cpu: 10m | ||
memory: 20Mi | ||
- name: csi-attacher | ||
image: "{{ .Values.image.csiAttacher.repository }}:{{ .Values.image.csiAttacher.tag }}" | ||
args: | ||
- "-v=5" | ||
- "-csi-address=$(ADDRESS)" | ||
- "-timeout=120s" | ||
- "-leader-election" | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
imagePullPolicy: {{ .Values.image.csiAttacher.pullPolicy }} | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 100Mi | ||
requests: | ||
cpu: 10m | ||
memory: 20Mi | ||
- name: liveness-probe | ||
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}" | ||
args: | ||
- --csi-address=/csi/csi.sock | ||
- --connection-timeout=3s | ||
- --health-port=29632 | ||
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }} | ||
volumeMounts: | ||
- name: socket-dir | ||
mountPath: /csi | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 100Mi | ||
requests: | ||
cpu: 10m | ||
memory: 20Mi | ||
- name: blob | ||
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}" | ||
args: | ||
- "--v=5" | ||
- "--endpoint=$(CSI_ENDPOINT)" | ||
ports: | ||
- containerPort: 29632 | ||
name: healthz | ||
protocol: TCP | ||
- containerPort: 29634 | ||
name: metrics | ||
protocol: TCP | ||
livenessProbe: | ||
failureThreshold: 5 | ||
httpGet: | ||
path: /healthz | ||
port: healthz | ||
initialDelaySeconds: 30 | ||
timeoutSeconds: 10 | ||
periodSeconds: 30 | ||
env: | ||
- name: AZURE_CREDENTIAL_FILE | ||
valueFrom: | ||
configMapKeyRef: | ||
name: azure-cred-file | ||
key: path | ||
optional: true | ||
- name: CSI_ENDPOINT | ||
value: unix:///csi/csi.sock | ||
imagePullPolicy: {{ .Values.image.blob.pullPolicy }} | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
- mountPath: /etc/kubernetes/ | ||
name: azure-cred | ||
- mountPath: /var/lib/waagent/ManagedIdentity-Settings | ||
readOnly: true | ||
name: msi | ||
resources: | ||
limits: | ||
cpu: 200m | ||
memory: 200Mi | ||
requests: | ||
cpu: 10m | ||
memory: 20Mi | ||
volumes: | ||
- name: socket-dir | ||
emptyDir: {} | ||
- name: azure-cred | ||
hostPath: | ||
path: /etc/kubernetes/ | ||
type: Directory | ||
- name: msi | ||
hostPath: | ||
path: /var/lib/waagent/ManagedIdentity-Settings | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
apiVersion: storage.k8s.io/v1beta1 | ||
kind: CSIDriver | ||
metadata: | ||
name: blob.csi.azure.com | ||
spec: | ||
attachRequired: false | ||
podInfoOnMount: true |
Oops, something went wrong.