A bunch of True (when relevant) haskell statements.
General
Flow control
Data structures
Conversions
Modules and types definition
Ghci
Usefull links
A bunch of True (when relevant) haskell statements.
General
Flow control
Data structures
Conversions
Modules and types definition
Ghci
Usefull links
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: nvidia-driver-installer | |
namespace: kube-system | |
labels: | |
k8s-app: nvidia-driver-installer | |
spec: | |
selector: | |
matchLabels: |
evaluation_interval | scrape_interval | http_timeout | scrape_timeout | for | group_wait | |
---|---|---|---|---|---|---|
Location | prometheus.yml | prometheus.yml | blackbox.yml | prometheus.yml | alert_rules.yml | alertmanager/config.yml |
Description | Delay between the evaluations of the alert rules | Delay between instance scrapes | Delay after which the blackbox request timeout | Delay after which the instance scrape timeout | Delay before fire |
from kubernetes import client | |
SERVICE_ACCOUNT_PATH = '/var/run/secrets/kubernetes.io/serviceaccount' | |
configuration = client.Configuration() | |
with open(f'{SERVICE_ACCOUNT_PATH}/token') as token_fd: | |
configuration.api_key['authorization'] = token_fd.read() | |
configuration.api_key_prefix['authorization'] = 'Bearer' | |
configuration.ssl_ca_cert = f'{SERVICE_ACCOUNT_PATH}/ca.crt' | |
configuration.host = 'https://kubernetes' |