Skip to content
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

kdf-plugin-openshift.yaml not work #7

Open
jexbow opened this issue Feb 22, 2019 · 2 comments
Open

kdf-plugin-openshift.yaml not work #7

jexbow opened this issue Feb 22, 2019 · 2 comments

Comments

@jexbow
Copy link

jexbow commented Feb 22, 2019

When I followed the official instructions of MapR step by step to install kdf-plugin-openshift.yaml, I found that the k8s pod I created using the file kdf-plugin-openshift.yaml could not access the host directory (/opt/mapr/) . The log show those message:
openshift-mapr-issuse

my env is:RedHat openshift Enterprise v3.10.101

@sarjeet2013
Copy link
Contributor

@jexbow Did you follow the steps in order as provided here?

https://mapr.com/docs/61/PersistentStorage/kdf_installation_separate_nodes.html
https://mapr.com/docs/61/PersistentStorage/kdf_installation_openshift.html

Can you list down the order of instruction you followed?

@jexbow
Copy link
Author

jexbow commented Feb 23, 2019

@jexbow Did you follow the steps in order as provided here?

https://mapr.com/docs/61/PersistentStorage/kdf_installation_separate_nodes.html
https://mapr.com/docs/61/PersistentStorage/kdf_installation_openshift.html

Can you list down the order of instruction you followed?

@sarjeet2013 Thanks for your reply.
My step is:
1、download kdf-namespace.yaml、kdf-openshift-sa.yaml、kdf-openshift-scc.yaml、kdf-openshift-cr.yaml、kdf-plugin-openshift.yaml、kdf-provisioner.yaml from http://archive.mapr.com/tools/KubernetesDataFabric/v1.1.0/
2、execute install commands in the following order:
kubectl create -f kdf-namespace.yaml
oc create -f kdf-openshift-sa.yaml
oc create -f kdf-openshift-scc.yaml
oc adm policy add-scc-to-user maprkdf-scc system:serviceaccount:mapr-system:maprkdf
oc create -f kdf-openshift-cr.yaml
oc adm policy add-cluster-role-to-user mapr:kdf system:serviceaccount:mapr-system:maprkdf
edit kdf-plugin-openshift.yaml to set my KUBERNETES_SERVICE_LOCATION and FLEXVOLUME_PLUGIN_PATH
kubectl create -f kdf-plugin-openshift.yaml
kubectl create -f kdf-provisioner.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants