-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CCEE CSI Driver POC #474
Comments
Have modified the shoot spec as described in the given docs on the dev SKR c-8a33e0c. At first the reconcilation failed with
Have checked the shoots secret binding and found out it's using TKYMA_DEV_001 principal. Checked it's roles and found it does not have sharedfilesystem_admin permission. Have assigned it that permission and then reconcilation succeeded. The storage classes created
Created the PVC with storage class csi-manila-nfs apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: test-csi
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 200Mi
storageClassName: csi-manila-nfs It had a Pending status message like "waiting for workload to be created" Have created pod apiVersion: v1
kind: Pod
metadata:
name: test-csi2
spec:
volumes:
- name: data
persistentVolumeClaim:
claimName: test-csi
containers:
- name: cloud1
image: ubuntu
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: "/mnt/data1"
name: data
command:
- "/bin/bash"
- "-c"
- "--"
args:
- "sleep 86400 & wait"
restartPolicy: Never The PV was created and a share in CCEE, PVC got Bound and pod Ready. Execed into the pod df gave
Wrote to the mounted share path. Created second pod that was able to read and write to the same share. Noticed the CSI driver is mounting the share on it's primary endpoint. Trying to get info from the CCEE what would happen with volumes when primary endpoint gets down and secondary is promoted.
|
Gardener installs the credentials secret in the SKR that CSI driver uses to authenticate to CCEE. So this is a definite show stopper. |
https://pages.github.tools.sap/kubernetes/gardener/docs/guides/sap-internal/cluster-operations/gardener-ccee/#can-i-use-the-manila-csi-to-enable-nfs-with-my-cluster
Part of the epic NFS on CCEE
The text was updated successfully, but these errors were encountered: