Giter Site home page Giter Site logo

Comments (6)

alexclear avatar alexclear commented on May 22, 2024 4

Okay, finally:

➜  cm-scripts git:(master) ✗ helm reset
Tiller (the Helm server-side component) has been uninstalled from your Kubernetes Cluster.
➜  cm-scripts git:(master) ✗ kubectl delete -f ./rbac-tiller.yml
serviceaccount "tiller" deleted
clusterrolebinding "tiller-clusterrolebinding" deleted
➜  cm-scripts git:(master) ✗ kubectl create -f ./rbac-tiller.yml
serviceaccount "tiller" created
clusterrolebinding "tiller-clusterrolebinding" created
➜  cm-scripts git:(master) ✗ helm init --service-account tiller
$HELM_HOME has been configured at /Users/chistyakov/.helm.

Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.
Happy Helming!
➜  cm-scripts git:(master) ✗ helm install -n loghouse loghouse

So, I had to point helm to a pre-created service account when installing it.

from loghouse.

yurchenkosv avatar yurchenkosv commented on May 22, 2024

You'll need to switch on RBAC authorization in your cluster

from loghouse.

alexclear avatar alexclear commented on May 22, 2024

@yurchenkosv Kubernetes 1.8.0+ has RBAC enabled by default on GKE (and is RBAC-only), so the problem is a bit different.
My account does not have enough permissions, but I'm not sure what exact permission I need.

from loghouse.

yurchenkosv avatar yurchenkosv commented on May 22, 2024

@alexclear In this repository there are the respective roles and their probably enough for starting loghouse.
It seems, that your tiller could not create some objects in cluster or default service account hasn't enough permissions. You'll need to check that your serviceaccount in cluster-admin role binding and SA tillr using in this binding too.

from loghouse.

alexclear avatar alexclear commented on May 22, 2024

Okay, it looks like I found a relevant comment in Helm issue tracker: helm/helm#3130 (comment)
So, tiller has to be given extra rights. Will check right now, expect a progress report today.

from loghouse.

alexclear avatar alexclear commented on May 22, 2024

And my rbac-tiller.yml is:

apiVersion: v1
kind: ServiceAccount
metadata:
  name: tiller
  namespace: kube-system
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: tiller-clusterrolebinding
subjects:
- kind: ServiceAccount
  name: tiller
  namespace: kube-system
roleRef:
  kind: ClusterRole
  name: cluster-admin
  apiGroup: ""

from loghouse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.