How do you want to integrate Better Stack with your Kubernetes cluster?
Add Better Stack Helm repository:
Create values.yaml config file with the following contents:
Install the Better Stack chart:
Install Better Stack chart without metrics server using code block above.
Alternatively, set metrics-server.enabled=false in values.yaml.
You should see your logs in Better Stack โ Live tail.
Check out your metrics in the Kubernetes dashboard.
Kubernetes version 1.15 or higher is required.
You can customize the release name betterstack-logs to meet your naming conventions, but calling it vector or ending with -vector may lead to internal naming conflicts.
Please let us know at hello@betterstack.com.
We're happy to help! ๐
Install Kubernetes Metrics Server into your cluster:
Create namespace configuration file:
Save the following config as kustomization.yaml:
Save the following config as rbac.yaml to allow Vector to access the Metrics Server:
Download Vector configuration for your source:
Reload Vector configuration and restart it:
You should see your logs in Better Stack โ Live tail.
Check out your metrics in the Kubernetes dashboard.
Kubernetes version 1.15 or higher is required.
Using Minikube to test the setup?
Disable certificate validation to prevent TLS errors:
--kubelet-insecure-tls to args config of metrics-server DaemonSettls.verify_certificate = false and tls.verify_hostname = false to all http_client sources in vector-agent.yamlPlease let us know at hello@betterstack.com.
We're happy to help! ๐
Interested in reading about installing and configuring Vector in more detail?
Check out the official Vector Kubernetes installation guide.
Want an overview of different tools for monitoring Kubernetes?
Head to comparison of best Kubernetes monitoring tools.
Customize your Vector configuration by adding a Vector filter transform between the better_stack_http_sink sink and its original inputs:
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.