Open fbaig opened 7 months ago
ToDo:
Not sure if it works. It seems we need to config account, and may have SSL issue https://stackoverflow.com/questions/50587087/prometheus-outside-kubernetes-cluster
kubernetes_sd_configs:
- api_server: https://<ip>:6443
role: node
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
tls_config:
insecure_skip_verify: true
basic_auth:
username: kube
password: Superkube01
relabel_configs:
- source_labels: [__meta_kubernetes_namespace, __meta_kubernetes_service_name, __meta_kubernetes_endpoint_port_name]
action: keep
regex: default;kubernetes;https
global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files: []
scrape_configs:
# Scrape Prometheus itself
Monitoring Stack:
Initial Deployment:
Alternative Deployment:
Alternative Approach:
Remote k8s connection to Prometheus can be done if we set "Service Account Tokens": https://iximiuz.com/en/posts/kubernetes-api-call-simple-http-client/
Consider using Zabbix and integrate with OpenStack + Kubernetes
Problem There is no mechanism to detect whether any of the I-GUIDE services is down, not accessible or having any issues. All current detection is done manually which is not optimal and needs to be automated to mitigate failures and increase efficiency.
Potential Solution
Pull Requests ToDo ...