Skip to content

Commit

Permalink
Merge branch 'v1.0-branch' of github.com:kubeflow/manifests into v1.0…
Browse files Browse the repository at this point in the history
…-branch
  • Loading branch information
richardsliu committed Apr 16, 2020
2 parents a39d7b3 + 95f88c1 commit 55d1a9c
Show file tree
Hide file tree
Showing 123 changed files with 4,475 additions and 830 deletions.
12 changes: 0 additions & 12 deletions aws/aws-efs-csi-driver/base/csi-attacher-cluster-role-binding.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions aws/aws-efs-csi-driver/base/csi-attacher-cluster-role.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions aws/aws-efs-csi-driver/base/csi-controller-sa.yaml

This file was deleted.

51 changes: 0 additions & 51 deletions aws/aws-efs-csi-driver/base/csi-controller-stateful-set.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions aws/aws-efs-csi-driver/base/csi-default-storage.yaml

This file was deleted.

7 changes: 7 additions & 0 deletions aws/aws-efs-csi-driver/base/csi-driver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
apiVersion: storage.k8s.io/v1beta1
kind: CSIDriver
metadata:
name: efs.csi.aws.com
spec:
attachRequired: false
12 changes: 0 additions & 12 deletions aws/aws-efs-csi-driver/base/csi-node-cluster-role-binding.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions aws/aws-efs-csi-driver/base/csi-node-cluster-role.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# Node Service
kind: DaemonSet
apiVersion: apps/v1
metadata:
Expand All @@ -11,14 +13,16 @@ spec:
labels:
app: efs-csi-node
spec:
serviceAccount: efs-csi-node-sa
nodeSelector:
beta.kubernetes.io/os: linux
hostNetwork: true
tolerations:
- operator: Exists
containers:
- name: efs-plugin
securityContext:
privileged: true
image: amazon/aws-efs-csi-driver:latest
imagePullPolicy: Always
args:
- --endpoint=$(CSI_ENDPOINT)
- --logtostderr
Expand All @@ -32,16 +36,24 @@ spec:
mountPropagation: "Bidirectional"
- name: plugin-dir
mountPath: /csi
- name: device-dir
mountPath: /dev
- name: efs-state-dir
mountPath: /var/run/efs
ports:
- containerPort: 9809
name: healthz
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
port: healthz
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 2
failureThreshold: 5
- name: csi-driver-registrar
image: quay.io/k8scsi/driver-registrar:v0.4.2
imagePullPolicy: Always
image: quay.io/k8scsi/csi-node-driver-registrar:v1.1.0
args:
- --csi-address=$(ADDRESS)
- --mode=node-register
- --driver-requires-attachment=true
- --pod-info-mount-version="v1"
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
- --v=5
env:
Expand All @@ -58,20 +70,30 @@ spec:
mountPath: /csi
- name: registration-dir
mountPath: /registration
- name: liveness-probe
imagePullPolicy: Always
image: quay.io/k8scsi/livenessprobe:v1.1.0
args:
- --csi-address=/csi/csi.sock
- --health-port=9809
volumeMounts:
- mountPath: /csi
name: plugin-dir
volumes:
- name: kubelet-dir
hostPath:
path: /var/lib/kubelet
type: Directory
- name: registration-dir
hostPath:
path: /var/lib/kubelet/plugins_registry/
type: Directory
- name: plugin-dir
hostPath:
path: /var/lib/kubelet/plugins/efs.csi.aws.com/
type: DirectoryOrCreate
- name: registration-dir
hostPath:
path: /var/lib/kubelet/plugins/
type: Directory
- name: device-dir
- name: efs-state-dir
hostPath:
path: /dev
type: Directory
path: /var/run/efs
type: DirectoryOrCreate

4 changes: 0 additions & 4 deletions aws/aws-efs-csi-driver/base/csi-node-sa.yaml

This file was deleted.

19 changes: 3 additions & 16 deletions aws/aws-efs-csi-driver/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,11 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubeflow
resources:
- csi-controller-stateful-set.yaml
- csi-attacher-cluster-role.yaml
- csi-attacher-cluster-role-binding.yaml
- csi-controller-sa.yaml
- csi-node-cluster-role.yaml
- csi-node-cluster-role-binding.yaml
- csi-node-daemon-set.yaml
- csi-node-sa.yaml
- csi-default-storage.yaml
- csi-driver.yaml
- csi-node-daemonset.yaml
generatorOptions:
disableNameSuffixHash: true
images:
- name: quay.io/k8scsi/driver-registrar
newName: quay.io/k8scsi/driver-registrar
newTag: v0.4.2
- name: amazon/aws-efs-csi-driver
newName: amazon/aws-efs-csi-driver
newTag: latest
- name: quay.io/k8scsi/csi-attacher
newName: quay.io/k8scsi/csi-attacher
newTag: v0.4.2
newTag: v0.3.0
12 changes: 0 additions & 12 deletions aws/aws-fsx-csi-driver/base/csi-attacher-cluster-role-binding.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions aws/aws-fsx-csi-driver/base/csi-attacher-cluster-role.yaml

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions aws/aws-fsx-csi-driver/base/csi-controller-cluster-role.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions aws/aws-fsx-csi-driver/base/csi-controller-sa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: fsx-csi-controller-sa
namespace: kubeflow
#Enable if EKS IAM for SA is used
#annotations:
# eks.amazonaws.com/role-arn: arn:aws:iam::111122223333:role/fsx-csi-role
Loading

0 comments on commit 55d1a9c

Please sign in to comment.