Kind
Mongodbsearch
Group
mongodb.com
Version
v1
apiVersion: mongodb.com/v1 kind: Mongodbsearch metadata: name: example
View raw schema
apiVersion string
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 string
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
metadata object
spec object required
logLevel string
Configure verbosity of mongot logs. Defaults to INFO if not set.
enum: TRACE, DEBUG, INFO, WARN, ERROR
persistence object
Configure MongoDB Search's persistent volume. If not defined, the operator will request 10GB of storage.
multiple object
data object
labelSelector object
storage string
storageClass string
journal object
labelSelector object
storage string
storageClass string
logs object
labelSelector object
storage string
storageClass string
single object
labelSelector object
storage string
storageClass string
prometheus object
Configure prometheus metrics endpoint in mongot. If not set, the metrics endpoint will be disabled.
port integer
Port where metrics endpoint will be exposed on. Defaults to 9946.
minimum: 0
maximum: 65535
resourceRequirements object
Configure resource requests and limits for the MongoDB Search pods.
claims []object
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers.
name string required
Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
request string
Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.
limits object
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
requests object
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
security object
Configure security settings of the MongoDB Search server that MongoDB database is connecting to when performing search queries.
tls object
certificateKeySecretRef object required
CertificateKeySecret is a reference to a Secret containing a private key and certificate to use for TLS. The key and cert are expected to be PEM encoded and available at "tls.key" and "tls.crt". This is the same format used for the standard "kubernetes.io/tls" Secret type, but no specific type is required.
name string
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
source object
MongoDB database connection details from which MongoDB Search will synchronize data to build indexes.
external object
hostAndPorts []string
keyfileSecretRef object
mongod keyfile used to connect to the external MongoDB deployment
key string
name string required
tls object
TLS configuration for the external MongoDB deployment
ca object required
CA is a reference to a Secret containing the CA certificate that issued mongod's TLS certificate. The CA certificate is expected to be PEM encoded and available at the "ca.crt" key.
name string
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
mongodbResourceRef object
name string required
namespace string
passwordSecretRef object
SecretKeyRef is a reference to a value in a given secret in the same namespace. Based on: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#secretkeyselector-v1-core
key string
name string required
username string
statefulSet object
StatefulSetSpec which the operator will apply to the MongoDB Search StatefulSet at the end of the reconcile loop. Use to provide necessary customizations, which aren't exposed as fields in the MongoDBSearch.spec.
metadata object
StatefulSetMetadataWrapper is a wrapper around Labels and Annotations
annotations object
labels object
spec object required
version string
Optional version of MongoDB Search component (mongot). If not set, then the operator will set the most appropriate version of MongoDB Search.
status object
lastTransition string
message string
observedGeneration integer
format: int64
phase string required
pvc []object
phase string required
statefulsetName string required
resourcesNotReady []object
errors []object
message string
reason string
kind string required
ResourceKind specifies a kind of a Kubernetes resource. Used in status of a Custom Resource
message string
name string required
version string
warnings []string
Copied!