Skip to content

Commit a070948

Browse files
authored
demo: update kubernetes deploy instructions (#9620)
1 parent d51f9da commit a070948

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

content/en/docs/demo/kubernetes-deployment.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Helm's [documentation](https://helm.sh/docs/) to get started.
1818
- 6 GB of free RAM for the application
1919
- Helm 3.14+ (for Helm installation method only)
2020

21-
## Install using Helm (recommended)
21+
## Install using Helm
2222

2323
Add OpenTelemetry Helm repository:
2424

@@ -46,13 +46,14 @@ helm install my-otel-demo open-telemetry/opentelemetry-demo
4646
> The OpenTelemetry Demo Helm chart version 0.11.0 or greater is required to
4747
> perform all usage methods mentioned below.
4848
49-
## Install using kubectl
49+
### Use Helm to generate a Kubernetes manifests
5050

51-
The following command will install the demo application to your Kubernetes
52-
cluster.
51+
The following command will generate a single Kubernetes manifest file which will
52+
contain a definition for all required resources. You can apply this manifest
53+
using `kubectl apply -f opentelemetry-demo.yaml` after generating it.
5354

5455
```shell
55-
kubectl create --namespace otel-demo -f https://raw.githubusercontent.com/open-telemetry/opentelemetry-demo/main/kubernetes/opentelemetry-demo.yaml
56+
helm template opentelemetry-demo open-telemetry/opentelemetry-demo --namespace otel-demo > opentelemetry-demo.yaml
5657
```
5758

5859
> [!NOTE]
@@ -61,11 +62,6 @@ kubectl create --namespace otel-demo -f https://raw.githubusercontent.com/open-t
6162
> one version to another. If you need to upgrade the demo, you must first delete
6263
> the existing resources and then install the new version.
6364
64-
> [!NOTE]
65-
>
66-
> These manifests are generated from the Helm chart and are provided for
67-
> convenience. It is recommended to use the Helm chart for installation.
68-
6965
## Use the Demo
7066

7167
The demo application will need the services exposed outside of the Kubernetes

0 commit comments

Comments
 (0)