Skip to content

Commit 60b5973

Browse files
authored
feat(cockpit-k8s): neda review fix typos & inconsistencies logs doc
1 parent fac49cf commit 60b5973

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

observability/cockpit/how-to/send-log-from-k8s-to-cockpit.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ We will use the [k8s-monitoring](https://artifacthub.io/packages/helm/grafana/k8
2222
- A Scaleway account logged into the [console](https://console.scaleway.com)
2323
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2424
- [Created](/observability/cockpit/how-to/create-external-data-sources/) a custom external data source of the [logs type](/observability/cockpit/concepts/#data-types)
25-
- [Created](/observability/cockpit/how-to/create-token/) a Cockpit token for the same region as the data source
25+
- [Created](/observability/cockpit/how-to/create-token/) a Cockpit token in the same region as the logs data source
2626
- A running Kubernetes cluster containing your application deployed
2727
- [Created](/identity-and-access-management/iam/how-to/create-api-keys/) an API key and retrieved your API secret key
2828

2929
<Message type="important">
30-
- Sending logs for Scaleway resources or personal data using an external path is a billable feature. In addition, any data that you push yourself is billed, even if you send data from Scaleway products. Refer to the [product pricing](https://www.scaleway.com/en/pricing/?tags=available,managedservices-observability-cockpit) for more information.
30+
- Sending logs for Scaleway resources or personal data using an external path is a billable feature. In addition, any data that you push yourself is billed, even if you send data from Scaleway products. Refer to the [product pricing](https://www.scaleway.com/en/pricing/?tags=available,managedservices-observability-cockpit) page for more information.
3131
</Message>
3232

3333
## Configure the Helm chart
3434

35-
Create a `values.yml` file to configure your Helm chart, using the example below. Make sure that you replace `$SCW_CLUSTER_NAME` with the name of your Scaleway Kubernetes cluster, `$COCKPIT_CUSTOM_DATASOURCE_HOST` with the URL of your custom data source (you can find it under the "API URL" section in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console), and `$COCKPIT_TOKEN` with your Cockpit token.
35+
Create a `values.yml` file to configure your Helm chart, using the example below. Make sure that you replace `$SCW_CLUSTER_NAME` with the name of your Scaleway Kubernetes cluster, `COCKPIT_CUSTOM_LOGS_DATASOURCE_URL` with the URL of your custom logs data source (you can find it under the "API URL" section in the [Data sources tab](https://console.scaleway.com/cockpit/dataSource) of the Scaleway console), and `$COCKPIT_TOKEN` with your Cockpit token.
3636

3737
```yaml
3838
cluster:
@@ -100,7 +100,6 @@ Once you have configured your `values.yml` file, you can use Helm to deploy the
100100
```
101101
helm list
102102
```
103-
You should see a list of all the Helm releases in your cluster, including `my-log-ingester`.
104103

105104
## Send Kubernetes logs using Helm chart with Terraform
106105

@@ -113,7 +112,7 @@ You can also use Terraform to manage and deploy Helm charts, providing you with
113112
host = your_k8s_cluster_host # The URL of your Kubernetes API server.
114113
token = your_k8s_cluster_token # Authentication token to access the cluster.
115114
cluster_ca_certificate = base64decode(
116-
your_k8s_cluster_ca_certificate # The cluster's CA certificate, base64 encoded.
115+
your_k8s_cluster_ca_certificate # The cluster's CA certificate.
117116
)
118117
}
119118
}

0 commit comments

Comments
 (0)