@@ -160,7 +160,9 @@ helm install my-datadog-operator datadog/datadog-operator
1601602 . Create a Kubernetes secret with your Datadog API and app keys:
161161
162162``` bash
163- kubectl create secret generic datadog-secret --from-literal api-key=$DD_API_KEY --from-literal app-key=$DD_APP_KEY
163+ kubectl create secret generic datadog-secret \
164+ --from-literal api-key=$DD_API_KEY \
165+ --from-literal app-key=$DD_APP_KEY
164166```
165167
1661682 . Apply the Datadog Agent definition:
@@ -183,30 +185,51 @@ kubectl apply -R -f k8s-manifests/cluster-setup/
183185
1841862 . ** Deploy the Storedog Application:**
185187
186- This command creates a ` storedog ` namespace and deploys all application components into it .
188+ The following command creates a ` storedog ` namespace.
187189
188190``` bash
189191kubectl create namespace storedog
192+ ```
193+
194+ 3 . ** Create Secrets for Datadog RUM:**
195+
196+ The following command creates a Kubernetes secret with your Datadog RUM app id and client token keys:
197+
198+ > [ !IMPORTANT]
199+ > Change the namespace from ` storedog ` if needed.
200+
201+ ``` bash
202+ kubectl create secret generic datadog-secret \
203+ --from-literal=dd_application_id=${DD_APPLICATION_ID} \
204+ --from-literal=dd_client_token=${DD_CLIENT_TOKEN} \
205+ -n storedog
206+ ```
207+
208+ 3 . ** Deploy the Storedog Application:**
209+
210+ The following command deploys all application components into it.
211+
212+ ``` bash
190213for file in k8s-manifests/storedog-app/** /* .yaml; do envsubst < " $file " | kubectl apply -n storedog -f -; done
191214```
192215
193- 3 . ** Apply manifest changes to one service:**
216+ 4 . ** Apply manifest changes to one service:**
194217
195218While testing, you might change one manifest file. Rather than update all at once, you can apply the change like this.
196219
197220``` bash
198221envsubst < k8s-manifests/storedog-app/deployments/backend.yaml | kubectl apply -n storedog -f -
199222```
200223
201- 4 . ** To reset the all Storedog:**
224+ 5 . ** To reset the all Storedog:**
202225
203226You only need to delete the application's namespace. The cluster components can remain installed.
204227
205228``` bash
206229kubectl delete namespace storedog
207230```
208231
209- 5 . ** To restart one service:**
232+ 6 . ** To restart one service:**
210233
211234After rebuilding a container image, it's faster to restart only the service you need.
212235
0 commit comments