Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name represents Prometheus Operator component name as it should be referenced in function calls // and in configuration. Name = "prometheus-operator" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Grafana ¶
type Grafana struct { AdminPassword string `hcl:"admin_password,optional"` SecretEnv map[string]string `hcl:"secret_env,optional"` Ingress *types.Ingress `hcl:"ingress,block"` }
Grafana object collects sub component grafana related information.
type Monitor ¶
type Monitor struct { Etcd bool `hcl:"etcd,optional"` KubeControllerManager bool `hcl:"kube_controller_manager,optional"` KubeScheduler bool `hcl:"kube_scheduler,optional"` KubeProxy bool `hcl:"kube_proxy,optional"` Kubelet bool `hcl:"kubelet,optional"` }
Monitor holds information about which Kubernetes components should be monitored with the default Prometheus instance.
type Prometheus ¶ added in v0.3.0
type Prometheus struct { MetricsRetention string `hcl:"metrics_retention,optional"` NodeSelector map[string]string `hcl:"node_selector,optional"` StorageSize string `hcl:"storage_size,optional"` WatchLabeledServiceMonitors bool `hcl:"watch_labeled_service_monitors,optional"` WatchLabeledPrometheusRules bool `hcl:"watch_labeled_prometheus_rules,optional"` Ingress *types.Ingress `hcl:"ingress,block"` ExternalLabels map[string]string `hcl:"external_labels,optional"` ExternalURL string `hcl:"external_url,optional"` }
Prometheus object collects sub component Prometheus related information.
Click to show internal directories.
Click to hide internal directories.