Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionWebhooks ¶
type DefaultRules ¶
type DisabledTool ¶
type DisabledTool struct {
Enabled bool `yaml:"enabled"`
}
type Global ¶
type Global struct { Rbac *Rbac `yaml:"rbac"` ImagePullSecrets []interface{} `yaml:"imagePullSecrets"` }
type KubeletService ¶
type PrometheusOperator ¶
type PrometheusOperator struct { ApplicationDirectoryPath string // contains filtered or unexported fields }
func (*PrometheusOperator) Reconcile ¶
func (p *PrometheusOperator) Reconcile(overlay, specNamespace string, helm *template.Helm, spec *toolsetsv1beta1.PrometheusOperator) error
type PrometheusOperatorValues ¶
type PrometheusOperatorValues struct { Enabled bool `yaml:"enabled"` TLSProxy *TLSProxy `yaml:"tlsProxy"` AdmissionWebhooks *AdmissionWebhooks `yaml:"admissionWebhooks"` DenyNamespaces []string `yaml:"denyNamespaces"` ServiceAccount *ServiceAccount `yaml:"serviceAccount"` Service *Service `yaml:"service"` CreateCustomResource bool `yaml:"createCustomResource"` CrdAPIGroup string `yaml:"crdApiGroup"` CleanupCustomResource bool `yaml:"cleanupCustomResource"` PodLabels map[string]string `yaml:"podLabels"` PodAnnotations map[string]string `yaml:"podAnnotations"` KubeletService *KubeletService `yaml:"kubeletService"` ServiceMonitor *ServiceMonitor `yaml:"serviceMonitor"` Resources struct{} `yaml:"resources"` NodeSelector map[string]string `yaml:"nodeSelector"` Tolerations []interface{} `yaml:"tolerations"` Affinity struct{} `yaml:"affinity"` SecurityContext *SecurityContext `yaml:"securityContext"` Image *Image `yaml:"image"` ConfigmapReloadImage *Image `yaml:"configmapReloadImage"` PrometheusConfigReloaderImage *Image `yaml:"prometheusConfigReloaderImage"` ConfigReloaderCPU string `yaml:"configReloaderCpu"` ConfigReloaderMemory string `yaml:"configReloaderMemory"` HyperkubeImage *Image `yaml:"hyperkubeImage"` }
type Rules ¶
type Rules struct { Alertmanager bool `yaml:"alertmanager"` Etcd bool `yaml:"etcd"` General bool `yaml:"general"` K8S bool `yaml:"k8s"` KubeApiserver bool `yaml:"kubeApiserver"` KubePrometheusNodeAlerting bool `yaml:"kubePrometheusNodeAlerting"` KubePrometheusNodeRecording bool `yaml:"kubePrometheusNodeRecording"` KubernetesAbsent bool `yaml:"kubernetesAbsent"` KubernetesApps bool `yaml:"kubernetesApps"` KubernetesResources bool `yaml:"kubernetesResources"` KubernetesStorage bool `yaml:"kubernetesStorage"` KubernetesSystem bool `yaml:"kubernetesSystem"` KubeScheduler bool `yaml:"kubeScheduler"` Network bool `yaml:"network"` Node bool `yaml:"node"` Prometheus bool `yaml:"prometheus"` PrometheusOperator bool `yaml:"prometheusOperator"` Time bool `yaml:"time"` }
type SecurityContext ¶
type Service ¶
type Service struct { Annotations map[string]string `yaml:"annotations"` Labels map[string]string `yaml:"labels"` ClusterIP string `yaml:"clusterIP"` NodePort int `yaml:"nodePort"` NodePortTLS int `yaml:"nodePortTls"` AdditionalPorts []interface{} `yaml:"additionalPorts"` LoadBalancerIP string `yaml:"loadBalancerIP"` LoadBalancerSourceRanges []interface{} `yaml:"loadBalancerSourceRanges"` Type string `yaml:"type"` ExternalIPs []interface{} `yaml:"externalIPs"` }
type ServiceAccount ¶
type ServiceMonitor ¶
type Values ¶
type Values struct { NameOverride string `yaml:"nameOverride"` FullnameOverride string `yaml:"fullnameOverride"` CommonLabels map[string]string `yaml:"commonLabels"` DefaultRules *DefaultRules `yaml:"defaultRules"` AdditionalPrometheusRules []interface{} `yaml:"additionalPrometheusRules"` Global *Global `yaml:"global"` Alertmanager *DisabledTool `yaml:"alertmanager"` Grafana *DisabledTool `yaml:"grafana"` KubeAPIServer *DisabledTool `yaml:"kubeApiServer"` Kubelet *DisabledTool `yaml:"kubelet"` KubeControllerManager *DisabledTool `yaml:"kubeControllerManager"` CoreDNS *DisabledTool `yaml:"coreDns"` KubeDNS *DisabledTool `yaml:"kubeDns"` KubeEtcd *DisabledTool `yaml:"kubeEtcd"` KubeScheduler *DisabledTool `yaml:"kubeScheduler"` KubeProxy *DisabledTool `yaml:"kubeProxy"` KubeStateMetricsScrap *DisabledTool `yaml:"kubeStateMetrics"` KubeStateMetrics *DisabledTool `yaml:"kube-state-metrics"` NodeExporter *DisabledTool `yaml:"nodeExporter"` PrometheusNodeExporter *DisabledTool `yaml:"prometheus-node-exporter"` PrometheusOperator *PrometheusOperatorValues `yaml:"prometheusOperator"` Prometheus *DisabledTool `yaml:"prometheus"` }
Click to show internal directories.
Click to hide internal directories.