ibm-cloud-architecture / refarch-cloudnative-kubernetes

Reference Implementation for Microservices based on Kubernetes and the IBM Container Service.
152 stars 109 forks source link

Installation on ICP 2.0.1 from Helm release fails. #80

Closed vcailly closed 6 years ago

vcailly commented 6 years ago

I have tried different versions of the helm release with allways the same result. All deployements are starting properly except the bluecompute-ce-elasticsearch.
if i execute a kubectl describe deploy for this deployement i get the following information with no more details : ReplicaFailure True FailedCreate

jkwong888 commented 6 years ago

if you're installing on the non-default namespace, ICP default pod security policy will prevent elasticsearch from starting. please follow the instructions in this document:

https://github.com/ibm-cloud-architecture/refarch-cloudnative-kubernetes/blob/master/PodSecurityPolicy/PodSecurityPolicy.md

vcailly commented 6 years ago

Thanks - I have applied the instructions and now it is working properly.