Skip to content

Commit d1c3b5b

Browse files
remove Tiller (#1958)
* remove Tiller * add back command
1 parent 7cee88e commit d1c3b5b

File tree

4 files changed

+4
-36
lines changed

4 files changed

+4
-36
lines changed

docs-source/content/quickstart/prerequisites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ weight: 2
77

88
For this exercise, you’ll need a Kubernetes cluster. If you need help setting one up, check out our [cheat sheet]({{< relref "/userguide/overview/k8s-setup#cheat-sheet-for-setting-up-kubernetes" >}}). This guide assumes a single node cluster.
99

10-
The operator uses Helm to create and deploy the necessary resources and then run the operator in a Kubernetes cluster. For Helm installation and usage information, see [Install Helm and Tiller]({{< relref "/userguide/managing-operators/_index.md#install-helm-and-tiller" >}}).
10+
The operator uses Helm to create and deploy the necessary resources and then run the operator in a Kubernetes cluster. For Helm installation and usage information, see [Install Helm]({{< relref "/userguide/managing-operators/_index.md#install-helm" >}}).
1111

1212
You should clone this repository to your local machine so that you have access to the
1313
various sample files mentioned throughout this guide:

docs-source/content/security/service-accounts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ look for the `serviceAccount` value using the Helm command:
3333
$ helm get values --all weblogic-operator
3434
```
3535
#### Additional reading
36-
* [Helm service account]({{<relref "userguide/managing-operators/_index.md#install-helm-and-tiller">}})
36+
* [Helm service account]({{<relref "userguide/managing-operators/_index.md#install-helm">}})
3737
* [Operator Helm chart service account configuration]({{<relref "/userguide/managing-operators/using-the-operator/using-helm/_index.md#serviceaccount">}})

docs-source/content/userguide/managing-operators/_index.md

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,35 +23,9 @@ the API version in the data (weblogic.oracle/v2) does not match the expected API
2323
```
2424
{{% /notice %}}
2525

26-
#### Install Helm and Tiller
26+
### Install Helm
2727

28-
Helm has two parts: a client (Helm) and a server (Tiller). Tiller runs inside of your Kubernetes cluster, and manages releases (installations) of your charts. For detailed instructions on installing Helm and Tiller, see https://github.com/helm/helm.
29-
30-
In order to use Helm to install and manage the operator, you need to ensure that the service account that Tiller uses
31-
has the `cluster-admin` role. The default would be `default` in namespace `kube-system`. You can give that service
32-
account the necessary permissions with this command:
33-
34-
```
35-
cat << EOF | kubectl apply -f -
36-
apiVersion: rbac.authorization.k8s.io/v1
37-
kind: ClusterRoleBinding
38-
metadata:
39-
name: helm-user-cluster-admin-role
40-
roleRef:
41-
apiGroup: rbac.authorization.k8s.io
42-
kind: ClusterRole
43-
name: cluster-admin
44-
subjects:
45-
- kind: ServiceAccount
46-
name: default
47-
namespace: kube-system
48-
EOF
49-
```
50-
51-
{{% notice note %}}
52-
Oracle strongly recommends that you create a new service account to be used exclusively by Tiller and grant
53-
`cluster-admin` to that service account, rather than using the `default` one.
54-
{{% /notice %}}
28+
Helm manages releases (installations) of your charts. For detailed instructions on installing Helm, see https://github.com/helm/helm.
5529

5630
### Operator's Helm Chart Configuration
5731

docs-source/content/userguide/managing-operators/using-the-operator/using-helm.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -491,12 +491,6 @@ Error: UPGRADE FAILED: Service "external-weblogic-operator-svc" is invalid: spec
491491
The `helm install` eventually times out and creates a failed release.
492492
```
493493
$ helm install kubernetes/charts/weblogic-operator --name op2 --namespace myuser-op2-ns --values o24.yaml --wait --no-hooks
494-
Error: release op2 failed: timed out waiting for the condition
495-
496-
kubectl logs -n kube-system tiller-deploy-f9b8476d-mht6v
497-
...
498-
[kube] 2018/12/06 21:16:54 Deployment is not ready: myuser-op2-ns/weblogic-operator
499-
...
500494
```
501495

502496
To recover:

0 commit comments

Comments
 (0)