Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: monitoring.GroupName, Version: Version}
SchemeGroupVersion is the group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type BlackboxExporter ¶
type BlackboxExporter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BlackboxExporterSpec `json:"spec"` }
func (*BlackboxExporter) DeepCopy ¶
func (in *BlackboxExporter) DeepCopy() *BlackboxExporter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlackboxExporter.
func (*BlackboxExporter) DeepCopyInto ¶
func (in *BlackboxExporter) DeepCopyInto(out *BlackboxExporter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlackboxExporterSpec ¶
type BlackboxExporterSpec struct { // Define resources requests and limits for each blackbox-exporter pod. Resources v1.ResourceRequirements `json:"resources,omitempty"` // Namespace for a blackbox-exporter deployment. Namespace string `json:"namespace,omitempty"` // Image to use for a blackbox-exporter deployment. Image string `json:"image,omitempty"` // Version string used for labeling objects Version string `json:"version,omitempty"` // Image of config-reloader sidecar container // +kubebuilder:default="jimmidyson/configmap-reload:v0.5.0" ConfigmapReloaderImage string `json:"configmapReloaderImage,omitempty"` // Secure listening port // +kubebuilder:default=19115 Port int `json:"port,omitempty"` // Number of replicas of blackbox-exporter // +kubebuilder:default=1 Replicas int `json:"replicas,omitempty"` // Configuration of blackbox-exporter in the same form as in Modules map[string]string `json:"modules,omitempty"` // TODO: Consider using blackbox-exporter types for this }
func (*BlackboxExporterSpec) DeepCopy ¶
func (in *BlackboxExporterSpec) DeepCopy() *BlackboxExporterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlackboxExporterSpec.
func (*BlackboxExporterSpec) DeepCopyInto ¶
func (in *BlackboxExporterSpec) DeepCopyInto(out *BlackboxExporterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeStateMetrics ¶
type KubeStateMetrics struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KubeStateMetricsSpec `json:"spec"` }
func (*KubeStateMetrics) DeepCopy ¶
func (in *KubeStateMetrics) DeepCopy() *KubeStateMetrics
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeStateMetrics.
func (*KubeStateMetrics) DeepCopyInto ¶
func (in *KubeStateMetrics) DeepCopyInto(out *KubeStateMetrics)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeStateMetricsSpec ¶
type KubeStateMetricsSpec struct { // Namespace for a kube-state-metrics deployment. Namespace string `json:"namespace,omitempty"` // Image to use for a kube-state-metrics deployment. Image string `json:"image,omitempty"` // Version string used for labeling objects Version string `json:"version,omitempty"` // Define resources requests and limits for each kube-state-metrics pod. // +optional // +kubebuilder:default={requests:{cpu:"10m",memory:"190Mi"},limits:{cpu:"100m",memory:"250Mi"}} Resources v1.ResourceRequirements `json:"resources,omitempty"` // Scrape Interval for kube-state-metrics ServiceMonitor // +optional // +kubebuilder:default="30s" ScrapeInterval string `json:"scrapeInterval,omitempty"` }
func (*KubeStateMetricsSpec) DeepCopy ¶
func (in *KubeStateMetricsSpec) DeepCopy() *KubeStateMetricsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeStateMetricsSpec.
func (*KubeStateMetricsSpec) DeepCopyInto ¶
func (in *KubeStateMetricsSpec) DeepCopyInto(out *KubeStateMetricsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeExporter ¶
type NodeExporter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodeExporterSpec `json:"spec"` }
func (*NodeExporter) DeepCopy ¶
func (in *NodeExporter) DeepCopy() *NodeExporter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeExporter.
func (*NodeExporter) DeepCopyInto ¶
func (in *NodeExporter) DeepCopyInto(out *NodeExporter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeExporterSpec ¶
type NodeExporterSpec struct { // The version of node-exporter the specified image represent. Version string `json:"version"` // The image of node-exporter to use. Image string `json:"image"` // ListenAddress is the host node-exporter processes will bind to. // +optional // +kubebuilder:default="127.0.0.1" ListenAddress string `json:"listenAddress"` // Port is the port node-exporter processes will bind to. // +optional // +kubebuilder:default=9100 Port int `json:"port"` // Resources defines the resources requests and limits for each // node-exporter pod. // +optional // +kubebuilder:default={requests:{cpu:"102m",memory:"180Mi"},limits:{cpu:"250m",memory:"180Mi"}} Resources v1.ResourceRequirements `json:"resources,omitempty"` }
func (*NodeExporterSpec) DeepCopy ¶
func (in *NodeExporterSpec) DeepCopy() *NodeExporterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeExporterSpec.
func (*NodeExporterSpec) DeepCopyInto ¶
func (in *NodeExporterSpec) DeepCopyInto(out *NodeExporterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusAdapter ¶
type PrometheusAdapter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrometheusAdapterSpec `json:"spec"` }
func (*PrometheusAdapter) DeepCopy ¶
func (in *PrometheusAdapter) DeepCopy() *PrometheusAdapter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusAdapter.
func (*PrometheusAdapter) DeepCopyInto ¶
func (in *PrometheusAdapter) DeepCopyInto(out *PrometheusAdapter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusAdapterSpec ¶
type PrometheusAdapterSpec struct { // Namespace for a prometheus-adapter deployment. Namespace string `json:"namespace,omitempty"` // Image to use for a prometheus-adapter deployment. Image string `json:"image,omitempty"` // Version string used for labeling objects Version string `json:"version,omitempty"` // Define resources requests and limits for each prometheus-adapter pod. // +optional // +kubebuilder:default={requests:{cpu:"102m",memory:"180Mi"},limits:{cpu:"250m",memory:"180Mi"}} Resources v1.ResourceRequirements `json:"resources,omitempty"` // Secure listening port // +optional // +kubebuilder:default=9100 Port int `json:"port,omitempty"` // Configuration of prometheus-adapter in the same form as in // +optional Config promadapter.MetricsDiscoveryConfig `json:"config,omitempty"` }
func (*PrometheusAdapterSpec) DeepCopy ¶
func (in *PrometheusAdapterSpec) DeepCopy() *PrometheusAdapterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusAdapterSpec.
func (*PrometheusAdapterSpec) DeepCopyInto ¶
func (in *PrometheusAdapterSpec) DeepCopyInto(out *PrometheusAdapterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusOperator ¶
type PrometheusOperator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrometheusOperatorSpec `json:"spec"` }
func (*PrometheusOperator) DeepCopy ¶
func (in *PrometheusOperator) DeepCopy() *PrometheusOperator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusOperator.
func (*PrometheusOperator) DeepCopyInto ¶
func (in *PrometheusOperator) DeepCopyInto(out *PrometheusOperator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusOperatorSpec ¶
type PrometheusOperatorSpec struct { // Namespace for a prometheus-operator deployment. Namespace string `json:"namespace,omitempty"` // Image to use for a prometheus-operator deployment. Image string `json:"image,omitempty"` // Version string used for labeling objects Version string `json:"version,omitempty"` // Define resources requests and limits for each prometheus-operator pod. // +optional // +kubebuilder:default={requests:{cpu:"100m",memory:"100Mi"},limits:{cpu:"200m",memory:"200Mi"}} Resources v1.ResourceRequirements `json:"resources,omitempty"` // Image of config-reloader sidecar container ConfigmapReloaderImage string `json:"configmapReloaderImage,omitempty"` }
func (*PrometheusOperatorSpec) DeepCopy ¶
func (in *PrometheusOperatorSpec) DeepCopy() *PrometheusOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusOperatorSpec.
func (*PrometheusOperatorSpec) DeepCopyInto ¶
func (in *PrometheusOperatorSpec) DeepCopyInto(out *PrometheusOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.