You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PVC deployments that the Jiva provisioner creates, do not have tolerations, nodeSelector nor service account (so no PSP).
What I've done so far is:
Install openebs using the helm chart
Create StoragePool
Create SC using the storage pool and configuration with nodeSelectors and targetTolerations
Create PVC
Create deploy that uses PVC
When the deploy is created, the Jiva provisioner creates the PVC deploy controller and n deploys per replica (3 in my case). But those deploys never start, since they're missing the tolerations, nodeSelector and SA, so they don't have a permissive PSP associated.
Expected Behavior
The Jiva provisioner should transfer all the necessary attributes to the deploys that it creates.
Current Behavior
It does not.
Possible Solution
Make the Jiva provisioner create the PVC deployments with all it's configured.
Just to update, @prateekpandey14 has commented on the slack thread that he can't reproduce the problem. I'm not sure how to continue debugging, any hint on how to do so, will be welcomed.
If somebody reads this, there's two things to comment.
First one, pvc-##-rep-## didn't work because of a configuration problem. It seems that TargetTolerations and TargetNodeSelector only work for pvc-##-ctrl-##. So to configure the replicas, you must use ReplicaNodeSelector and ReplicaTolerations.
And the second, it seems there was indeed a bug that only affected the controller deploy. The image prateek14/m-apiserver:jiva-sa fixes this problem. It's just a test, so it shouldn't be used in production. It seems the fix will be released next week, with the 2.4 release.
Description
The PVC deployments that the Jiva provisioner creates, do not have tolerations, nodeSelector nor service account (so no PSP).
What I've done so far is:
When the deploy is created, the Jiva provisioner creates the PVC deploy controller and n deploys per replica (3 in my case). But those deploys never start, since they're missing the tolerations, nodeSelector and SA, so they don't have a permissive PSP associated.
Expected Behavior
The Jiva provisioner should transfer all the necessary attributes to the deploys that it creates.
Current Behavior
It does not.
Possible Solution
Make the Jiva provisioner create the PVC deployments with all it's configured.
Steps to Reproduce
manifests.yml:
The workaround is to add the stuff manually:
patch.yml:
Once patched, the deployments start correctly and the test deploy that uses the PVC can finally start.
Your Environment
The text was updated successfully, but these errors were encountered: