Skip to content

Commit

Permalink
docs: replace make install/deploy with official image and kustomize
Browse files Browse the repository at this point in the history
Signed-off-by: Kristof Gyuracz <kristof.gyuracz@gmail.com>
  • Loading branch information
kristofgyuracz committed Feb 12, 2024
1 parent c4b0116 commit 87ed1ab
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,10 @@ helm upgrade --install --repo https://charts.jetstack.io cert-manager cert-manag
kubectl apply -f https://github.com/open-telemetry/opentelemetry-operator/releases/latest/download/opentelemetry-operator.yaml --wait
```

**Install the CRDs into the cluster:**
**Deploy Telemetry-controller:**

```sh
make install
```

**Build your image and load it to your KinD nodes**
```sh
make docker-build IMG=telemetry-controller:latest
kind load docker-image telemetry-controller:latest
```

**Deploy the Manager to the cluster with the image specified by `IMG`:**

```sh
make deploy IMG=telemetry-controller:tag
kubectl apply -k 'github.com/kube-logging/telemetry-controller/config/default'
```

> **NOTE**: If you encounter RBAC errors, you may need to grant yourself cluster-admin
Expand Down Expand Up @@ -79,17 +67,9 @@ helm install --wait --create-namespace --namespace example-tenant-ns --generate-
kubectl delete -f docs/examples/simple-demo/
```

**UnDeploy the controller from the cluster:**
**Remove the controller and CRDs from the cluster:**

```sh
make undeploy
```

**Delete the APIs(CRDs) from the cluster:**

```sh
make uninstall
```
kubectl delete -k 'github.com/kube-logging/telemetry-controller/config/default'

## Contributing

Expand Down

0 comments on commit 87ed1ab

Please sign in to comment.