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

addon helm fails to install with openshift v3.10, still working with openshift 3.9.0 #161

Open
tiraboschi opened this issue Sep 27, 2018 · 10 comments

Comments

@tiraboschi
Copy link

addon helm fails to install with openshift v3.10, still working with openshift 3.9.0

It seams a port configuration issue between 8080 and 8443:

[stirabos@t470s add-ons]$ minishift addons apply helm
-- Applying addon 'helm':..Error applying the add-on: Error executing command 'ssh command error:
command : docker run --rm -v /home/docker:/root:z -v /var/lib/minishift/openshift.local.config:/var/lib/minishift/openshift.local.config:z --net=host --env KUBECONFIG=/var/lib/minishift/openshift.local.config/master/admin.kubeconfig --env HELM_HOST=localhost:8443 lachlanevenson/k8s-helm:v2.8.1 init
err     : exit status 1
output  : Creating /root/.helm 
Creating /root/.helm/repository 
Creating /root/.helm/repository/cache 
Creating /root/.helm/repository/local 
Creating /root/.helm/plugins 
Creating /root/.helm/starters 
Creating /root/.helm/cache/archive 
Creating /root/.helm/repository/repositories.yaml 
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com 
Adding local repo with URL: http://127.0.0.1:8879/charts 
$HELM_HOME has been configured at /root/.helm.
Error: error installing: Post http://localhost:8080/apis/extensions/v1beta1/namespaces/kube-system/deployments: dial tcp [::1]:8080: getsockopt: connection refused
':

While if I start minishift with minishift start --openshift-version v3.9.0 it works.

@ivekpi
Copy link

ivekpi commented Nov 8, 2018

Same problem, with openshift v3.11

@simbo1905
Copy link

Trying --openshift-version v3.9.0 gives me:

Minishift does not support OpenShift version v3.9.0. You need to use a version >= v3.10.0

@michael-wirth
Copy link

same problem. is there any solution of workaround?

@simbo1905
Copy link

don't know a work around for 3.9 but 3.11 works fine using these instructions https://github.com/ocd-scm/ocd-meta/wiki/Minishift#helm-tiller-on-minishift

@bdobsonca
Copy link

Another interested party looking for a solution to this issue which is a blocker. Is there any ETA for when this will be working?

@psimonski
Copy link

Helm will figure out where to install Tiller by reading your Kubernetes configuration file (usually $HOME/.kube/config). This is the same file that kubectl uses.
Source: https://helm.sh/docs/using_helm/

In my Minishift add-on script (helm.addon) it's:
--env KUBECONFIG=/var/lib/minishift/openshift.local.config/master/admin.kubeconfig
Create the file if it does not exists.

@pancudaniel7
Copy link

pancudaniel7 commented Jan 7, 2020

I have the same problem running this on mac using minishift version v3.10.0

@guntutur
Copy link

is there any workaround for this? v3.11.0 still facing the same issue

@rishi871
Copy link

I am also facing the same issue with v3.11.0? any help appreciated

@Bennyweasl
Copy link

Still and open issue

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

10 participants