-
Notifications
You must be signed in to change notification settings - Fork 143
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 #107 from kubernetes-sigs/v0.3.0
doc: cut off v0.3.0 beta release
- Loading branch information
Showing
9 changed files
with
494 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
creationTimestamp: null | ||
name: csidrivers.csi.storage.k8s.io | ||
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: [] |
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,37 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
creationTimestamp: null | ||
name: csinodeinfos.csi.storage.k8s.io | ||
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: [] |
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,109 @@ | ||
--- | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: csi-azurefile-controller | ||
namespace: kube-system | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: csi-azurefile-controller | ||
template: | ||
metadata: | ||
labels: | ||
app: csi-azurefile-controller | ||
spec: | ||
serviceAccountName: csi-azurefile-controller-sa | ||
nodeSelector: | ||
beta.kubernetes.io/os: linux | ||
containers: | ||
- name: csi-provisioner | ||
image: quay.io/k8scsi/csi-provisioner:v1.0.1 | ||
args: | ||
- "--provisioner=file.csi.azure.com" | ||
- "--csi-address=$(ADDRESS)" | ||
- "--connection-timeout=15s" | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
imagePullPolicy: Always | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
- name: csi-attacher | ||
image: quay.io/k8scsi/csi-attacher:v1.0.1 | ||
args: | ||
- --v=5 | ||
- --csi-address=$(ADDRESS) | ||
- --timeout=120s | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
imagePullPolicy: Always | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
- name: cluster-driver-registrar | ||
image: quay.io/k8scsi/csi-cluster-driver-registrar:v1.0.1 | ||
args: | ||
- --csi-address=$(ADDRESS) | ||
- --driver-requires-attachment=true | ||
- --v=5 | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
volumeMounts: | ||
- name: socket-dir | ||
mountPath: /csi | ||
- name: liveness-probe | ||
image: quay.io/k8scsi/livenessprobe:v1.1.0 | ||
args: | ||
- --csi-address=/csi/csi.sock | ||
- --connection-timeout=3s | ||
- --health-port=9702 | ||
volumeMounts: | ||
- name: socket-dir | ||
mountPath: /csi | ||
- name: azurefile | ||
image: mcr.microsoft.com/k8s/csi/azurefile-csi:v0.3.0 | ||
args: | ||
- "--v=5" | ||
- "--endpoint=$(CSI_ENDPOINT)" | ||
- "--nodeid=$(KUBE_NODE_NAME)" | ||
ports: | ||
- containerPort: 9702 | ||
name: healthz | ||
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: Always | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
- mountPath: /etc/kubernetes/ | ||
name: azure-cred | ||
- mountPath: /var/lib/waagent/ManagedIdentity-Settings | ||
readOnly: true | ||
name: msi | ||
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,110 @@ | ||
kind: DaemonSet | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: csi-azurefile-node | ||
namespace: kube-system | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: csi-azurefile-node | ||
template: | ||
metadata: | ||
labels: | ||
app: csi-azurefile-node | ||
spec: | ||
hostNetwork: true | ||
nodeSelector: | ||
beta.kubernetes.io/os: linux | ||
containers: | ||
- name: liveness-probe | ||
imagePullPolicy: Always | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
image: quay.io/k8scsi/livenessprobe:v1.0.2 | ||
args: | ||
- --csi-address=/csi/csi.sock | ||
- --connection-timeout=3s | ||
- --health-port=9702 | ||
- name: node-driver-registrar | ||
image: quay.io/k8scsi/csi-node-driver-registrar:v1.1.0 | ||
args: | ||
- --csi-address=$(ADDRESS) | ||
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH) | ||
- --v=5 | ||
lifecycle: | ||
preStop: | ||
exec: | ||
command: ["/bin/sh", "-c", "rm -rf /registration/file.csi.azure.com-reg.sock /csi/csi.sock"] | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
- name: DRIVER_REG_SOCK_PATH | ||
value: /var/lib/kubelet/plugins/file.csi.azure.com/csi.sock | ||
volumeMounts: | ||
- name: socket-dir | ||
mountPath: /csi | ||
- name: registration-dir | ||
mountPath: /registration | ||
- name: azurefile | ||
image: mcr.microsoft.com/k8s/csi/azurefile-csi:v0.3.0 | ||
args: | ||
- "--v=5" | ||
- "--endpoint=$(CSI_ENDPOINT)" | ||
- "--nodeid=$(KUBE_NODE_NAME)" | ||
ports: | ||
- containerPort: 9702 | ||
name: healthz | ||
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 | ||
- name: KUBE_NODE_NAME | ||
valueFrom: | ||
fieldRef: | ||
apiVersion: v1 | ||
fieldPath: spec.nodeName | ||
imagePullPolicy: Always | ||
securityContext: | ||
privileged: true | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
- mountPath: /var/lib/kubelet/ | ||
mountPropagation: Bidirectional | ||
name: mountpoint-dir | ||
- mountPath: /etc/kubernetes/ | ||
name: azure-cred | ||
- mountPath: /var/lib/waagent/ManagedIdentity-Settings | ||
readOnly: true | ||
name: msi | ||
volumes: | ||
- hostPath: | ||
path: /var/lib/kubelet/plugins/file.csi.azure.com | ||
type: DirectoryOrCreate | ||
name: socket-dir | ||
- hostPath: | ||
path: /var/lib/kubelet/ | ||
type: DirectoryOrCreate | ||
name: mountpoint-dir | ||
- hostPath: | ||
path: /var/lib/kubelet/plugins_registry/ | ||
type: DirectoryOrCreate | ||
name: registration-dir | ||
- hostPath: | ||
path: /etc/kubernetes/ | ||
type: Directory | ||
name: azure-cred | ||
- hostPath: | ||
path: /var/lib/waagent/ManagedIdentity-Settings | ||
name: msi |
Oops, something went wrong.