-
Notifications
You must be signed in to change notification settings - Fork 145
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 #162 from kubernetes-sigs/cut-v0.4.0
doc: cut off v0.4.0 release
- Loading branch information
Showing
23 changed files
with
1,261 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v1 | ||
appVersion: latest | ||
description: Azure file Container Storage Interface (CSI) Storage Plugin | ||
description: Azure File Container Storage Interface (CSI) Storage Plugin | ||
name: azurefile-csi-driver | ||
version: latest |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v1 | ||
appVersion: 0.2.0 | ||
description: Azure file Container Storage Interface (CSI) Storage Plugin | ||
description: Azure File Container Storage Interface (CSI) Storage Plugin | ||
name: azurefile-csi-driver | ||
version: 0.2.0 |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v1 | ||
appVersion: 0.3.0 | ||
description: Azure file Container Storage Interface (CSI) Storage Plugin | ||
description: Azure File Container Storage Interface (CSI) Storage Plugin | ||
name: azurefile-csi-driver | ||
version: 0.3.0 |
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.4.0 | ||
description: Azure File Container Storage Interface (CSI) Storage Plugin | ||
name: azurefile-csi-driver | ||
version: v0.4.0 |
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 File CSI Driver is getting deployed to your cluster. | ||
|
||
To check Azure File 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 "azurefile.labels" -}} | ||
labels: | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
revision: "{{ .Release.Revision }}" | ||
chart: "{{ .Chart.Name }}" | ||
chartVersion: "{{ .Chart.Version }}" | ||
{{- end -}} |
36 changes: 36 additions & 0 deletions
36
charts/v0.4.0/azurefile-csi-driver/templates/crd-csi-driver-registry.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,36 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
creationTimestamp: null | ||
name: csidrivers.csi.storage.k8s.io | ||
{{ include "azurefile.labels" . | indent 2 }} | ||
spec: | ||
group: csi.storage.k8s.io | ||
names: | ||
kind: CSIDriver | ||
plural: csidrivers | ||
scope: Cluster | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
spec: | ||
description: Specification of the CSI Driver. | ||
properties: | ||
attachRequired: | ||
description: | ||
Indicates this CSI volume driver requires an attach operation, | ||
and that Kubernetes should call attach and wait for any attach operation | ||
to complete before proceeding to mount. | ||
type: boolean | ||
podInfoOnMountVersion: | ||
description: | ||
Indicates this CSI volume driver requires additional pod | ||
information (like podName, podUID, etc.) during mount operations. | ||
type: string | ||
version: v1alpha1 | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
38 changes: 38 additions & 0 deletions
38
charts/v0.4.0/azurefile-csi-driver/templates/crd-csi-node-info.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,38 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
creationTimestamp: null | ||
name: csinodeinfos.csi.storage.k8s.io | ||
{{ include "azurefile.labels" . | indent 2 }} | ||
spec: | ||
group: csi.storage.k8s.io | ||
names: | ||
kind: CSINodeInfo | ||
plural: csinodeinfos | ||
scope: Cluster | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
csiDrivers: | ||
description: List of CSI drivers running on the node and their properties. | ||
items: | ||
properties: | ||
driver: | ||
description: The CSI driver that this object refers to. | ||
type: string | ||
nodeID: | ||
description: The node from the driver point of view. | ||
type: string | ||
topologyKeys: | ||
description: List of keys supported by the driver. | ||
items: | ||
type: string | ||
type: array | ||
type: array | ||
version: v1alpha1 | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
187 changes: 187 additions & 0 deletions
187
charts/v0.4.0/azurefile-csi-driver/templates/csi-azurefile-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,187 @@ | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: csi-azurefile-controller | ||
namespace: {{ .Release.Namespace }} | ||
{{ include "azurefile.labels" . | indent 2 }} | ||
spec: | ||
replicas: {{ .Values.controller.replicas }} | ||
selector: | ||
matchLabels: | ||
app: csi-azurefile-controller | ||
template: | ||
metadata: | ||
{{ include "azurefile.labels" . | indent 6 }} | ||
app: csi-azurefile-controller | ||
spec: | ||
serviceAccountName: csi-azurefile-controller-sa | ||
nodeSelector: | ||
beta.kubernetes.io/os: linux | ||
priorityClassName: system-cluster-critical | ||
containers: | ||
- name: csi-provisioner | ||
image: "{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}" | ||
args: | ||
- "-v=5" | ||
- "--provisioner=file.csi.azure.com" | ||
- "--csi-address=$(ADDRESS)" | ||
- "--connection-timeout=15s" | ||
- "--enable-leader-election" | ||
- "--leader-election-type=leases" | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
imagePullPolicy: Always | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
resources: | ||
limits: | ||
cpu: 200m | ||
memory: 200Mi | ||
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" | ||
- "-leader-election-type=leases" | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
imagePullPolicy: Always | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
resources: | ||
limits: | ||
cpu: 200m | ||
memory: 200Mi | ||
requests: | ||
cpu: 10m | ||
memory: 20Mi | ||
- name: cluster-driver-registrar | ||
image: "{{ .Values.image.clusterDriverRegistrar.repository }}:{{ .Values.image.clusterDriverRegistrar.tag }}" | ||
args: | ||
- --csi-address=$(ADDRESS) | ||
- --driver-requires-attachment=true | ||
- --v=5 | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
volumeMounts: | ||
- name: socket-dir | ||
mountPath: /csi | ||
resources: | ||
limits: | ||
cpu: 200m | ||
memory: 200Mi | ||
requests: | ||
cpu: 10m | ||
memory: 20Mi | ||
- name: csi-snapshotter | ||
image: "{{ .Values.image.csiSnapshotter.repository }}:{{ .Values.image.csiSnapshotter.tag }}" | ||
args: | ||
- "-v=5" | ||
- "-csi-address=$(ADDRESS)" | ||
- "-leader-election" | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
volumeMounts: | ||
- name: socket-dir | ||
mountPath: /csi | ||
resources: | ||
limits: | ||
cpu: 200m | ||
memory: 200Mi | ||
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=9702 | ||
- --v=5 | ||
volumeMounts: | ||
- name: socket-dir | ||
mountPath: /csi | ||
resources: | ||
limits: | ||
cpu: 200m | ||
memory: 200Mi | ||
requests: | ||
cpu: 10m | ||
memory: 20Mi | ||
- name: azurefile | ||
image: "{{ .Values.image.azurefile.repository }}:{{ .Values.image.azurefile.tag }}" | ||
args: | ||
- "--v=5" | ||
- "--endpoint=$(CSI_ENDPOINT)" | ||
- "--nodeid=$(KUBE_NODE_NAME)" | ||
ports: | ||
- containerPort: 9702 | ||
name: healthz | ||
protocol: TCP | ||
- containerPort: 10252 | ||
name: metrics | ||
protocol: TCP | ||
livenessProbe: | ||
failureThreshold: 5 | ||
httpGet: | ||
path: /healthz | ||
port: healthz | ||
initialDelaySeconds: 30 | ||
timeoutSeconds: 10 | ||
periodSeconds: 30 | ||
env: | ||
- name: AZURE_CREDENTIAL_FILE | ||
value: "/etc/kubernetes/azure.json" | ||
- name: CSI_ENDPOINT | ||
value: unix:///csi/csi.sock | ||
imagePullPolicy: {{ .Values.image.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: 2 | ||
memory: 2Gi | ||
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 | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: csi-azurefile-controller | ||
namespace: {{ .Release.Namespace }} | ||
{{ include "azurefile.labels" . | indent 2 }} | ||
spec: | ||
selector: | ||
app: csi-azurefile-controller | ||
ports: | ||
- port: 10252 | ||
targetPort: 10252 | ||
type: ClusterIP |
Oops, something went wrong.