AutoOpsAgentPolicy represents an Elastic AutoOps Policy resource in a Kubernetes cluster.
5 top-level fields · last changed in eck-operator v3.4.0
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
AutoOpsRef defines a reference to a secret containing connection details for AutoOps via Cloud Connect.
SecretName references a Secret containing connection details for external AutoOps. Required when connecting via Cloud Connect. The secret must contain: - `cloud-connected-mode-api-key`: Cloud Connected Mode API key - `autoops-otel-url`: AutoOps OpenTelemetry endpoint URL - `autoops-token`: AutoOps authentication token - `cloud-connected-mode-api-url`: (optional) Cloud Connected Mode API URL This field cannot be used in combination with `name`.
Image is the AutoOps Agent Docker image to deploy.
NamespaceSelector is a namespace selector for the resources to be configured. Any Elasticsearch instances that belong to the selected namespaces will be configured to send data to AutoOps.
matchExpressions is a list of label selector requirements. The requirements are ANDed.
key is the label key that the selector applies to.
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
PodTemplate provides customisation options (labels, annotations, affinity rules, resource requests, and so on) for the Agent pods
ResourceSelector is a label selector for the resources to be configured. Any Elasticsearch instances that match the selector will be configured to send data to AutoOps.
matchExpressions is a list of label selector requirements. The requirements are ANDed.
key is the label key that the selector applies to.
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
RevisionHistoryLimit is the number of revisions to retain to allow rollback in the underlying Deployment.
ServiceAccountName is used to check access to Elasticsearch resources in different namespaces. Can only be used if ECK is enforcing RBAC on references (--enforce-rbac-on-refs flag). The service account must have "get" permission on elasticsearch.k8s.elastic.co/elasticsearches in the target namespaces.
Version of the AutoOpsAgentPolicy.
Details contains lightweight per-resource details.
Error contains the error message when the resource is in an error state. Only populated when Phase is "Error".
Message provides a human-readable explanation of the current phase. Only populated for non-ready states to provide context about why the resource is not ready.
Phase indicates the current state of the monitored resource. Possible values are "Error" (resource encountered an error) or "Skipped" (resource was skipped due to RBAC permissions).
Errors is the number of resources that are in an error state.
ObservedGeneration is the most recent generation observed for this AutoOpsAgentPolicy.
Phase is the phase of the AutoOpsAgentPolicy.
Ready is the number of resources that are in a ready state.
ReadyCount is a human readable string of ready monitored resources vs all monitored resources, Ready/Resources.
Resources is the number of resources that match the ResourceSelector.
Skipped is the number of resources that are skipped from monitoring due to rbac permissions.
Source: all-crds.yaml
Changes to AutoOpsAgentPolicy (autoops.k8s.elastic.co/v1alpha1) in each eck-operator version, compared to the version before it.
3 properties have been added
Released · View AutoOpsAgentPolicy in v3.4.0
1 property has been added
Released · View AutoOpsAgentPolicy in v3.3.1
AutoOpsAgentPolicy was first seen on this version of eck-operator
Released · View AutoOpsAgentPolicy in v3.3.0
No examples of AutoOpsAgentPolicy yet. Contribute one on GitHub.