Skip to content

Commit

Permalink
fix(quickstart): use site variable to have docs work well
Browse files Browse the repository at this point in the history
Signed-off-by: Charly Molter <[email protected]>
  • Loading branch information
lahabana committed Feb 5, 2024
1 parent ac7644c commit 73abd73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/_src/guides/federate.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ kubectl --context=kind-mesh-zone port-forward svc/{{site.mesh_cp_name}} -n {{sit

Then we export resources:
```sh
export ZONE_USER_ADMIN_TOKEN=$(kubectl --context=kind-mesh-zone get secrets -n kuma-system admin-user-token -ojson | jq -r .data.value | base64 -d)
export ZONE_USER_ADMIN_TOKEN=$(kubectl --context=kind-mesh-zone get secrets -n {{site.mesh_namespace}} admin-user-token -ojson | jq -r .data.value | base64 -d)
kumactl config control-planes add \
--address http://localhost:5681 \
--headers "authorization=Bearer $ZONE_USER_ADMIN_TOKEN" \
Expand Down Expand Up @@ -145,8 +145,8 @@ kubectl get --context=kind-mesh-zone meshcircuitbreakers -A
The policy should be eventually available in zone control plane
```
NAMESPACE NAME TARGETREF KIND TARGETREF NAME
kuma-system demo-app-to-redis-65xb45x2xfd5bf7f MeshService demo-app_kuma-demo_svc_5000
kuma-system mesh-circuit-breaker-all-default Mesh
{{site.mesh_namespace}} demo-app-to-redis-65xb45x2xfd5bf7f MeshService demo-app_kuma-demo_svc_5000
{{site.mesh_namespace}} mesh-circuit-breaker-all-default Mesh
```

## Next steps
Expand Down
8 changes: 5 additions & 3 deletions app/_src/quickstart/kubernetes-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ You can skip this step if you already have a Kubernetes cluster running.
It can be a cluster running locally or in a public cloud like AWS EKS, GCP GKE, etc.
{% endtip %}

## Install Kuma
## Install {{site.mesh_product_name}}

Install Kuma control plane with Helm by executing:
Install {{site.mesh_product_name}} control plane with Helm by executing:

```sh
helm repo add kuma https://kumahq.github.io/charts
helm repo add {{site.mesh_helm_repo_name}} {{site.mesh_helm_repo_url}}
helm repo update
helm install --create-namespace --namespace {{site.mesh_namespace}} {{ site.mesh_helm_install_name }} {{ site.mesh_helm_repo }}
```
Expand Down Expand Up @@ -176,4 +176,6 @@ However, the traffic to `redis` from any other service than `demo-app` is not al
* Explore the [Features](/features) available to govern and orchestrate your service traffic.
* [Federate](/docs/{{ page.version }}/guides/federate) zone into a multizone deployment.
* Read the [full documentation](/docs/{{ page.version }}/) to learn about all the capabilities of {{site.mesh_product_name}}.
{% if site.mesh_product_name == "Kuma" %}
* Chat with us at the official [Kuma Slack](/community) for questions or feedback.
{% endif %}

0 comments on commit 73abd73

Please sign in to comment.