everpeace / kube-openmpi

Open MPI jobs on Kubernetes
Apache License 2.0
112 stars 25 forks source link

Clarification of Quick Start section #31

Open zidarko opened 4 years ago

zidarko commented 4 years ago

I'm trying to follow your guide to a test openmpi of microk8s on my local machine. Can you please help me understand the Quick Start section ?

What values in values.yaml should one edit? If I run the helm command, I get these errors:

Error from server (Invalid): error when creating "STDIN": Secret "RELEASE-NAME-ssh-key" is invalid: metadata.name: Invalid value: "RELEASE-NAME-ssh-key": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

Any help would be greatly appreciated. Let me know if the project has been deprecated as well.

Thanks in advance!

pengkang12 commented 3 years ago

I think your helm version is greater than 3, right? you should add your release name, like

helm template "some name" chart --namespace $KUBE_NAMESPACE -f values.yaml -f ssh-key.yaml | kubectl -n $KUBE_NAMESPACE create -f -

It works for me. Thanks.