Answers for "Error: error installing: the server could not find the requested resource"

0

Error: error installing: the server could not find the requested resource

kubectl apply -f tiller.yaml

helm init --service-account tiller --override spec.selector.matchLabels.'name'='tiller',spec.selector.matchLabels.'app'='helm' --output yaml | sed 's@apiVersion: extensions/v1beta1@apiVersion: apps/v1@' | kubectl apply -f -


# tiller.yaml file

kind: ServiceAccount
apiVersion: v1
metadata:
  name: tiller
  namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: tiller
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
  - kind: ServiceAccount
    name: tiller
    namespace: kube-system
Posted by: Guest on November-22-2020

Code answers related to "Error: error installing: the server could not find the requested resource"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language