Comments (3)
This is what I had to do, hope it helps someone:
y# cat cm_rbac.yml
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: kube-system-default-list-configmaps
rules:
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["list"]
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "create"]
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "update"]
---
apiVersion: rbac.authorization.k8s.io/v1
# This role binding allows "kube-system:default" to read configmaps in the "kube-system" namespace.
kind: ClusterRoleBinding
metadata:
name: read-configmaps
subjects:
- kind: ServiceAccount
name: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: kube-system-default-list-configmaps
apiGroup: rbac.authorization.k8s.io
from ks-installer.
[root@k8s-master deploy]# kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-19T11:13:54Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-19T11:05:50Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
[root@k8s-master deploy]# helm version
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
from ks-installer.
https://devopscube.com/install-configure-helm-kubernetes/
Make sure you have a service account with the cluster-admin role defined for Tiller.
helm init --service-account tiller
from ks-installer.
Related Issues (20)
- 日志使用外部es。我该怎么设置密码。 HOT 1
- 如何指定安装到特定的node下
- Tag3.4.1 安装问题 ClusterConfiguration 有特殊字符导致 control characters are not allowed HOT 1
- [release-3.4] update devops helm-chart to 0.2.3 HOT 1
- v3.4.1 image-list.txt 需要更新一下
- 镜像是否支持从阿里云拉取,镜像要不拉取慢,要不就失败了
- 通过cluster-configuration.yaml设置opensearch admin用户的凭据不起作用 HOT 1
- Ansible task has incorrect command
- 生产环境日志下面没有容器
- When enable the devops, The ks-apiserver pod will be Crashbackoff status after the installer complete install. HOT 1
- Failed to install logging and service mesh component after uninstalling HOT 2
- t is suggested to refer to the above methods for troubleshooting problems
- Kubesphere HA mode not support the k8s cluster deployed by kubeadm
- Enabling DevOps fails with remote error: tls: bad certificate HOT 1
- Kubesphere Events installation fail
- prometheus-k8s 这个 StatefulSet 中的 init-config-reloader 镜像地址如何修改 HOT 4
- Error installing monitoring in eks HOT 1
- 支持最新版本,替换cc为全称ClusterConfiguration,避免与新版版的新资源clustercidr(缩写cc)的冲突
- ks-install容器启动后运行installRunner.py后报错
- kubesphere-delete.sh这个卸载脚本报错哎 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ks-installer.