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
Conda pip install permission denied in OpenShift #3712
Comments
I think this is the permission issue to pod. apiVersion: machinelearning.seldon.io/v1alpha2
kind: SeldonDeployment
metadata:
name: mlflow
namespace: pipeline
spec:
name: wines
predictors:
- graph:
children: []
implementation: MLFLOW_SERVER
modelUri: s3://mlflow/0/4c8686e6026c4b51bb01b4654fe4cc7a/artifacts/torch-cnn-model #$MODEL_URI
name: classifier
envSecretRefName: seldon-init-container-secret
name: default
replicas: 1
componentSpecs:
- spec:
containers:
- name: classifier
readinessProbe:
failureThreshold: 10
initialDelaySeconds: 120
periodSeconds: 30
successThreshold: 1
tcpSocket:
port: 9000
timeoutSeconds: 3
livenessProbe:
failureThreshold: 10
initialDelaySeconds: 120
periodSeconds: 30
successThreshold: 1
tcpSocket:
port: 9000
timeoutSeconds: 3
securityContext:
privileged: true
runAsGroup: 0
runAsUser: 0 |
Requiring (and enabling) root is generally a poor practice from a security standpoints as presents a lot of risk. I think something about that came up recently, but would need to check. Edit: this issue has exactly the same symptoms and error log. |
Closing - reopen if still an issue |
Describe the bug
The deployment will fail with a permission problem when doing a conda pip install.
To reproduce
Using the following deployment file
Expected behaviour
Classifer should install correctly.
Environment
Seldon Operator 1.7.0 on OpenShift 4.8
kubectl version
]kubectl get --namespace seldon-system deploy seldon-controller-manager -o yaml | grep seldonio
]Model Details
kubectl logs -n <yourmodelnamespace> <seldonpodname> <container>
]The text was updated successfully, but these errors were encountered: