minishift-addons icon indicating copy to clipboard operation
minishift-addons copied to clipboard

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

Open tiraboschi opened this issue 7 years ago • 10 comments

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.

tiraboschi avatar Sep 27 '18 12:09 tiraboschi

Same problem, with openshift v3.11

ivekpi avatar Nov 08 '18 15:11 ivekpi

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

simbo1905 avatar Nov 15 '18 20:11 simbo1905

same problem. is there any solution of workaround?

michael-wirth avatar Mar 17 '19 13:03 michael-wirth

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

simbo1905 avatar Mar 17 '19 13:03 simbo1905

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

bdobsonca avatar Sep 23 '19 20:09 bdobsonca

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.

psimonski avatar Sep 29 '19 18:09 psimonski

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

pancudaniel7 avatar Jan 07 '20 02:01 pancudaniel7

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

guntutur avatar Feb 10 '20 14:02 guntutur

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

rishi871 avatar Mar 24 '20 07:03 rishi871

Still and open issue

Bennyweasl avatar Apr 08 '20 22:04 Bennyweasl