You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: observability/cockpit/how-to/send-log-from-k8s-to-cockpit.mdx
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,17 +22,17 @@ We will use the [k8s-monitoring](https://artifacthub.io/packages/helm/grafana/k8
22
22
- A Scaleway account logged into the [console](https://console.scaleway.com)
23
23
-[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
24
24
-[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
26
26
- A running Kubernetes cluster containing your application deployed
27
27
-[Created](/identity-and-access-management/iam/how-to/create-api-keys/) an API key and retrieved your API secret key
28
28
29
29
<Messagetype="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.
31
31
</Message>
32
32
33
33
## Configure the Helm chart
34
34
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.
36
36
37
37
```yaml
38
38
cluster:
@@ -100,7 +100,6 @@ Once you have configured your `values.yml` file, you can use Helm to deploy the
100
100
```
101
101
helm list
102
102
```
103
-
You should see a list of all the Helm releases in your cluster, including `my-log-ingester`.
104
103
105
104
## Send Kubernetes logs using Helm chart with Terraform
106
105
@@ -113,7 +112,7 @@ You can also use Terraform to manage and deploy Helm charts, providing you with
113
112
host = your_k8s_cluster_host # The URL of your Kubernetes API server.
114
113
token = your_k8s_cluster_token # Authentication token to access the cluster.
115
114
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.
0 commit comments