-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install in GKE Autopilot #7
Comments
Related - vectordotdev/vector#16871 |
Hi @anukul, Thank you for reaching out! I'm passing this on to the team to get this resolved for you. I'll make sure to keep you updated here. Thanks again for rasing this. |
Encountered the same error with GKE Autopilot:
|
Thanks again for reporting this and for your patience 🙏 We've managed to reproduce the issue on a testing GKE cluster and troubleshooted all problems with the current Helm chart setting. In our tests, this is a # config for GKE Autopilot cluster
vector:
customConfig:
sinks:
better_stack_http_sink:
auth:
strategy: "bearer"
token: $SOURCE_TOKEN
better_stack_http_metrics_sink:
auth:
strategy: "bearer"
token: $SOURCE_TOKEN
sources:
better_stack_kubernetes_metrics_nodes:
endpoint: "https://metrics-server.kube-system/apis/metrics.k8s.io/v1beta1/nodes"
tls:
verify_certificate: false
verify_hostname: false
better_stack_kubernetes_metrics_pods:
endpoint: "https://metrics-server.kube-system/apis/metrics.k8s.io/v1beta1/pods"
tls:
verify_certificate: false
verify_hostname: false
# Disable persistence using a volume mount
persistence:
hostPath:
enabled: false
# Override default volumes and mounts to ensure only /var/log is mounted
defaultVolumes:
- name: var-log
hostPath:
path: /var/log
type: DirectoryOrCreate
defaultVolumeMounts:
- name: var-log
mountPath: /var/log
readOnly: true
# Metrics server is already installed
metrics-server:
enabled: false It ensure that only the allowed volumes are mounted, and uses the already installed metrics server from GKE Autopilot cluster which it accesses without verification of TLS due to use of self-signed certificates. I've also updated the Better Stack Kubernetes logging docs to include this variant of configuration. Hope this helps to get all the telemetry data from your cluster safely to Better Stack 🚀 Feel free to reopen the issue or create another one if you encounter any problems connecting your GKE cluster 🙏 |
The text was updated successfully, but these errors were encountered: