diff --git a/.chloggen/v1beta1-webhook.yaml b/.chloggen/v1beta1-webhook.yaml deleted file mode 100755 index 4631ebd6d7..0000000000 --- a/.chloggen/v1beta1-webhook.yaml +++ /dev/null @@ -1,25 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: new_component - -# The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action) -component: collector - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Enable reconciliation of Collector v1beta1 CRD. - -# One or more tracking issues related to the change -issues: [2620] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: | - Users are expected to migrate to `otelcol.v1beta1.opentelemetry.io`. - The support for `otelcol.v1alpha1.opentelemetry.io` will be removed in the future. - Follow [migration guide](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#upgrade-existing-objects-to-a-new-stored-version) for upgrading already created collector instances. - After all `otelcol.v1alpha1.opentelemetry.io` are stored as `v1beta1` update the collector CRD to store only `v1beta1` - `kubectl patch customresourcedefinitions opentelemetrycollectors.opentelemetry.io --subresource='status' --type='merge' -p '{"status":{"storedVersions":["v1beta1"]}}'`. - **Only `AllNamespaces` install mode is now supported** due to the conversion webhook from `v1beta1` to `v1alpha1`. - See [OLM docs](https://olm.operatorframework.io/docs/tasks/install-operator-with-olm/) and - [OLM operator groups docs](https://olm.operatorframework.io/docs/advanced-tasks/operator-scoping-with-operatorgroups/). - diff --git a/Makefile b/Makefile index 408da6f0c3..bd1649614b 100644 --- a/Makefile +++ b/Makefile @@ -39,8 +39,7 @@ BUNDLE_DEFAULT_CHANNEL := --default-channel=$(DEFAULT_CHANNEL) endif BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL) -# kubectl apply does not work on large CRDs. -CRD_OPTIONS ?= "crd:generateEmbeddedObjectMeta=true,maxDescLen=0" +CRD_OPTIONS ?= "crd:generateEmbeddedObjectMeta=true,maxDescLen=200" # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set) ifeq (,$(shell go env GOBIN)) diff --git a/apis/v1alpha1/collector_webhook.go b/apis/v1alpha1/collector_webhook.go index f93cbf260d..97ee9cc3a4 100644 --- a/apis/v1alpha1/collector_webhook.go +++ b/apis/v1alpha1/collector_webhook.go @@ -451,7 +451,7 @@ func warningsGroupedByResource(reviews []*v1.SubjectAccessReview) []string { func SetupCollectorWebhook(mgr ctrl.Manager, cfg config.Config, reviewer *rbac.Reviewer) error { cvw := &CollectorWebhook{ reviewer: reviewer, - logger: mgr.GetLogger().WithValues("handler", "CollectorWebhook", "version", "v1alpha1"), + logger: mgr.GetLogger().WithValues("handler", "CollectorWebhook"), scheme: mgr.GetScheme(), cfg: cfg, } diff --git a/apis/v1alpha1/opentelemetrycollector_types.go b/apis/v1alpha1/opentelemetrycollector_types.go index 2bd341e7a7..1647ca54a9 100644 --- a/apis/v1alpha1/opentelemetrycollector_types.go +++ b/apis/v1alpha1/opentelemetrycollector_types.go @@ -438,8 +438,8 @@ type OpenTelemetryCollectorStatus struct { Replicas int32 `json:"replicas,omitempty"` } -// +kubebuilder:deprecatedversion:warning="OpenTelemetryCollector v1alpha1 is deprecated. Migrate to v1beta1." // +kubebuilder:object:root=true +// +kubebuilder:storageversion // +kubebuilder:resource:shortName=otelcol;otelcols // +kubebuilder:subresource:status // +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.scale.replicas,selectorpath=.status.scale.selector diff --git a/apis/v1beta1/collector_webhook.go b/apis/v1beta1/collector_webhook.go index e6c7ac4efa..67082a02cd 100644 --- a/apis/v1beta1/collector_webhook.go +++ b/apis/v1beta1/collector_webhook.go @@ -19,13 +19,8 @@ import ( "fmt" "strings" - "github.com/go-logr/logr" "k8s.io/apimachinery/pkg/runtime" - ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/webhook/admission" - - "github.com/open-telemetry/opentelemetry-operator/internal/config" - "github.com/open-telemetry/opentelemetry-operator/internal/rbac" ) var ( @@ -33,16 +28,8 @@ var ( _ admission.CustomDefaulter = &CollectorWebhook{} ) -// +kubebuilder:webhook:path=/mutate-opentelemetry-io-v1beta1-opentelemetrycollector,mutating=true,failurePolicy=fail,groups=opentelemetry.io,resources=opentelemetrycollectors,verbs=create;update,versions=v1beta1,name=mopentelemetrycollectorbeta.kb.io,sideEffects=none,admissionReviewVersions=v1 -// +kubebuilder:webhook:verbs=create;update,path=/validate-opentelemetry-io-v1beta1-opentelemetrycollector,mutating=false,failurePolicy=fail,groups=opentelemetry.io,resources=opentelemetrycollectors,versions=v1beta1,name=vopentelemetrycollectorcreateupdatebeta.kb.io,sideEffects=none,admissionReviewVersions=v1 -// +kubebuilder:webhook:verbs=delete,path=/validate-opentelemetry-io-v1beta1-opentelemetrycollector,mutating=false,failurePolicy=ignore,groups=opentelemetry.io,resources=opentelemetrycollectors,versions=v1beta1,name=vopentelemetrycollectordeletebeta.kb.io,sideEffects=none,admissionReviewVersions=v1 // +kubebuilder:object:generate=false - type CollectorWebhook struct { - logger logr.Logger - cfg config.Config - scheme *runtime.Scheme - reviewer *rbac.Reviewer } func (c CollectorWebhook) Default(_ context.Context, obj runtime.Object) error { @@ -90,17 +77,3 @@ func (c CollectorWebhook) validate(r *OpenTelemetryCollector) (admission.Warning } return warnings, nil } - -func SetupCollectorWebhook(mgr ctrl.Manager, cfg config.Config, reviewer *rbac.Reviewer) error { - cvw := &CollectorWebhook{ - reviewer: reviewer, - logger: mgr.GetLogger().WithValues("handler", "CollectorWebhook", "version", "v1beta1"), - scheme: mgr.GetScheme(), - cfg: cfg, - } - return ctrl.NewWebhookManagedBy(mgr). - For(&OpenTelemetryCollector{}). - WithValidator(cvw). - WithDefaulter(cvw). - Complete() -} diff --git a/apis/v1beta1/opentelemetrycollector_types.go b/apis/v1beta1/opentelemetrycollector_types.go index 9b77567f7b..53eb93934f 100644 --- a/apis/v1beta1/opentelemetrycollector_types.go +++ b/apis/v1beta1/opentelemetrycollector_types.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +kubebuilder:skip + package v1beta1 import ( @@ -26,7 +28,6 @@ func init() { // +kubebuilder:object:root=true // +kubebuilder:resource:shortName=otelcol;otelcols -// +kubebuilder:storageversion // +kubebuilder:subresource:status // +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.scale.replicas,selectorpath=.status.scale.selector // +kubebuilder:printcolumn:name="Mode",type="string",JSONPath=".spec.mode",description="Deployment Mode" diff --git a/apis/v1beta1/targetallocator_types.go b/apis/v1beta1/targetallocator_types.go index c02b3f0aa5..5b4063a3f0 100644 --- a/apis/v1beta1/targetallocator_types.go +++ b/apis/v1beta1/targetallocator_types.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +kubebuilder:skip + package v1beta1 import ( diff --git a/bundle/manifests/opentelemetry-operator.clusterserviceversion.yaml b/bundle/manifests/opentelemetry-operator.clusterserviceversion.yaml index a10d4637f3..617fa12495 100644 --- a/bundle/manifests/opentelemetry-operator.clusterserviceversion.yaml +++ b/bundle/manifests/opentelemetry-operator.clusterserviceversion.yaml @@ -59,40 +59,6 @@ metadata: "spec": { "config": "receivers:\n otlp:\n protocols: \n grpc:\n http:\n\nexporters:\n debug:\n\nservice:\n pipelines:\n traces:\n receivers: [otlp]\n exporters: [debug]\n" } - }, - { - "apiVersion": "opentelemetry.io/v1beta1", - "kind": "OpenTelemetryCollector", - "metadata": { - "name": "otel" - }, - "spec": { - "config": { - "exporters": { - "debug": {} - }, - "receivers": { - "otlp": { - "protocols": { - "grpc": {}, - "http": {} - } - } - }, - "service": { - "pipelines": { - "traces": { - "exporters": [ - "debug" - ], - "receivers": [ - "otlp" - ] - } - } - } - } - } } ] capabilities: Deep Insights @@ -188,56 +154,6 @@ spec: displayName: Create ServiceMonitors for OpenTelemetry Collector path: targetAllocator.observability.metrics.enableMetrics version: v1alpha1 - - description: OpenTelemetryCollector is the Schema for the opentelemetrycollectors - API. - displayName: OpenTelemetry Collector - kind: OpenTelemetryCollector - name: opentelemetrycollectors.opentelemetry.io - resources: - - kind: ConfigMaps - name: "" - version: v1 - - kind: DaemonSets - name: "" - version: apps/v1 - - kind: Deployment - name: "" - version: apps/v1 - - kind: Pod - name: "" - version: v1 - - kind: Service - name: "" - version: v1 - - kind: StatefulSets - name: "" - version: apps/v1 - specDescriptors: - - description: ObservabilitySpec defines how telemetry data gets handled. - displayName: Observability - path: observability - - description: Metrics defines the metrics configuration for operands. - displayName: Metrics Config - path: observability.metrics - - description: EnableMetrics specifies if ServiceMonitor or PodMonitor(for sidecar - mode) should be created for the service managed by the OpenTelemetry Operator. - The operator.observability.prometheus feature gate must be enabled to use - this feature. - displayName: Create ServiceMonitors for OpenTelemetry Collector - path: observability.metrics.enableMetrics - - description: ObservabilitySpec defines how telemetry data gets handled. - displayName: Observability - path: targetAllocator.observability - - description: Metrics defines the metrics configuration for operands. - displayName: Metrics Config - path: targetAllocator.observability.metrics - - description: EnableMetrics specifies if ServiceMonitor or PodMonitor(for sidecar - mode) should be created for the service managed by the OpenTelemetry Operator. - The operator.observability.prometheus feature gate must be enabled to use - this feature. - displayName: Create ServiceMonitors for OpenTelemetry Collector - path: targetAllocator.observability.metrics.enableMetrics - version: v1beta1 description: |- OpenTelemetry is a collection of tools, APIs, and SDKs. You use it to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis in order to understand your software's performance and behavior. @@ -572,9 +488,9 @@ spec: serviceAccountName: opentelemetry-operator-controller-manager strategy: deployment installModes: - - supported: false + - supported: true type: OwnNamespace - - supported: false + - supported: true type: SingleNamespace - supported: false type: MultiNamespace @@ -599,18 +515,6 @@ spec: name: OpenTelemetry Community version: 0.96.0 webhookdefinitions: - - admissionReviewVersions: - - v1alpha1 - - v1beta1 - containerPort: 443 - conversionCRDs: - - opentelemetrycollectors.opentelemetry.io - deploymentName: opentelemetry-operator-controller-manager - generateName: copentelemetrycollectors.kb.io - sideEffects: None - targetPort: 9443 - type: ConversionWebhook - webhookPath: /convert - admissionReviewVersions: - v1 containerPort: 443 @@ -671,26 +575,6 @@ spec: targetPort: 9443 type: MutatingAdmissionWebhook webhookPath: /mutate-opentelemetry-io-v1alpha1-opentelemetrycollector - - admissionReviewVersions: - - v1 - containerPort: 443 - deploymentName: opentelemetry-operator-controller-manager - failurePolicy: Fail - generateName: mopentelemetrycollectorbeta.kb.io - rules: - - apiGroups: - - opentelemetry.io - apiVersions: - - v1beta1 - operations: - - CREATE - - UPDATE - resources: - - opentelemetrycollectors - sideEffects: None - targetPort: 9443 - type: MutatingAdmissionWebhook - webhookPath: /mutate-opentelemetry-io-v1beta1-opentelemetrycollector - admissionReviewVersions: - v1 containerPort: 443 @@ -808,26 +692,6 @@ spec: targetPort: 9443 type: ValidatingAdmissionWebhook webhookPath: /validate-opentelemetry-io-v1alpha1-opentelemetrycollector - - admissionReviewVersions: - - v1 - containerPort: 443 - deploymentName: opentelemetry-operator-controller-manager - failurePolicy: Fail - generateName: vopentelemetrycollectorcreateupdatebeta.kb.io - rules: - - apiGroups: - - opentelemetry.io - apiVersions: - - v1beta1 - operations: - - CREATE - - UPDATE - resources: - - opentelemetrycollectors - sideEffects: None - targetPort: 9443 - type: ValidatingAdmissionWebhook - webhookPath: /validate-opentelemetry-io-v1beta1-opentelemetrycollector - admissionReviewVersions: - v1 containerPort: 443 @@ -847,22 +711,3 @@ spec: targetPort: 9443 type: ValidatingAdmissionWebhook webhookPath: /validate-opentelemetry-io-v1alpha1-opentelemetrycollector - - admissionReviewVersions: - - v1 - containerPort: 443 - deploymentName: opentelemetry-operator-controller-manager - failurePolicy: Ignore - generateName: vopentelemetrycollectordeletebeta.kb.io - rules: - - apiGroups: - - opentelemetry.io - apiVersions: - - v1beta1 - operations: - - DELETE - resources: - - opentelemetrycollectors - sideEffects: None - targetPort: 9443 - type: ValidatingAdmissionWebhook - webhookPath: /validate-opentelemetry-io-v1beta1-opentelemetrycollector diff --git a/bundle/manifests/opentelemetry.io_instrumentations.yaml b/bundle/manifests/opentelemetry.io_instrumentations.yaml index f85883f3ef..ef45bae209 100644 --- a/bundle/manifests/opentelemetry.io_instrumentations.yaml +++ b/bundle/manifests/opentelemetry.io_instrumentations.yaml @@ -35,71 +35,131 @@ spec: name: v1alpha1 schema: openAPIV3Schema: + description: Instrumentation is the spec for OpenTelemetry instrumentation. properties: apiVersion: + description: |- + 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. type: string kind: + description: |- + 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. type: string metadata: type: object spec: + description: InstrumentationSpec defines the desired state of OpenTelemetry + SDK and instrumentation. properties: apacheHttpd: + description: ApacheHttpd defines configuration for Apache HTTPD auto-instrumentation. properties: attrs: + description: |- + Attrs defines Apache HTTPD agent specific attributes. The precedence is: + `agent default attributes` > `instrument spec attributes` . + Attributes are documented at https://github. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -111,61 +171,108 @@ spec: type: object type: array configPath: + description: |- + Location of Apache HTTPD server configuration. + Needed only if different from default "/usr/local/apache2/conf" type: string env: + description: Env defines Apache HTTPD specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -177,13 +284,27 @@ spec: type: object type: array image: + description: Image is a container image with Apache SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -199,6 +320,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -207,73 +331,125 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object version: + description: Apache HTTPD server version. One of 2.4 or 2.2. Default + is 2.4 type: string volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object dotnet: + description: DotNet defines configuration for DotNet auto-instrumentation. properties: env: + description: Env defines DotNet specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -285,13 +461,27 @@ spec: type: object type: array image: + description: Image is a container image with DotNet SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -307,6 +497,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -315,69 +508,116 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object env: + description: Env defines common env vars. items: + description: EnvVar represents an environment variable present in + a Container. properties: name: + description: Name of the environment variable. Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. Cannot + be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath is + written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the specified + API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the exposed + resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -389,66 +629,113 @@ spec: type: object type: array exporter: + description: Exporter defines exporter configuration. properties: endpoint: + description: Endpoint is address of the collector with OTLP endpoint. type: string type: object go: + description: Go defines configuration for Go auto-instrumentation. properties: env: + description: Env defines Go specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -460,13 +747,27 @@ spec: type: object type: array image: + description: Image is a container image with Go SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -482,6 +783,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -490,71 +794,121 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object java: + description: Java defines configuration for java auto-instrumentation. properties: env: + description: Env defines java specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -566,13 +920,28 @@ spec: type: object type: array image: + description: Image is a container image with javaagent auto-instrumentation + JAR. type: string resources: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -588,6 +957,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -596,71 +968,124 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object nginx: + description: Nginx defines configuration for Nginx auto-instrumentation. properties: attrs: + description: |- + Attrs defines Nginx agent specific attributes. The precedence order is: + `agent default attributes` > `instrument spec attributes` . + Attributes are documented at https://github. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -672,61 +1097,108 @@ spec: type: object type: array configFile: + description: |- + Location of Nginx configuration file. + Needed only if different from default "/etx/nginx/nginx.conf" type: string env: + description: Env defines Nginx specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -738,13 +1210,27 @@ spec: type: object type: array image: + description: Image is a container image with Nginx SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -760,6 +1246,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -768,71 +1257,121 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object nodejs: + description: NodeJS defines configuration for nodejs auto-instrumentation. properties: env: + description: Env defines nodejs specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -844,13 +1383,27 @@ spec: type: object type: array image: + description: Image is a container image with NodeJS SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -866,6 +1419,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -874,17 +1430,27 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object propagators: + description: |- + Propagators defines inter-process context propagation configuration. + Values in this list will be set in the OTEL_PROPAGATORS env var. + Enum=tracecontext;baggage;b3;b3multi;jaeger;xray;ottrace;none items: + description: Propagator represents the propagation type. enum: - tracecontext - baggage @@ -897,61 +1463,106 @@ spec: type: string type: array python: + description: Python defines configuration for python auto-instrumentation. properties: env: + description: Env defines python specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -963,13 +1574,27 @@ spec: type: object type: array image: + description: Image is a container image with Python SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -985,6 +1610,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -993,29 +1621,50 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object resource: + description: Resource defines the configuration for the resource attributes, + as defined by the OpenTelemetry specification. properties: addK8sUIDAttributes: + description: AddK8sUIDAttributes defines whether K8s UID attributes + should be collected (e.g. k8s.deployment.uid). type: boolean resourceAttributes: additionalProperties: type: string + description: |- + Attributes defines attributes that are added to the resource. + For example environment: dev type: object type: object sampler: + description: Sampler defines sampling configuration. properties: argument: + description: |- + Argument defines sampler argument. + The value depends on the sampler type. + For instance for parentbased_traceidratio sampler type it is a number in range [0..1] e.g. 0.25. type: string type: + description: |- + Type defines sampler type. + The value will be set in the OTEL_TRACES_SAMPLER env var. + The value can be for instance parentbased_always_on, parentbased_always_off, parentbased_traceidratio... enum: - always_on - always_off @@ -1029,6 +1678,7 @@ spec: type: object type: object status: + description: InstrumentationStatus defines status of the instrumentation. type: object type: object served: true diff --git a/bundle/manifests/opentelemetry.io_opampbridges.yaml b/bundle/manifests/opentelemetry.io_opampbridges.yaml index 55301d2d9b..34af8d7b5e 100644 --- a/bundle/manifests/opentelemetry.io_opampbridges.yaml +++ b/bundle/manifests/opentelemetry.io_opampbridges.yaml @@ -31,32 +31,69 @@ spec: name: v1alpha1 schema: openAPIV3Schema: + description: OpAMPBridge is the Schema for the opampbridges API. properties: apiVersion: + description: |- + 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. type: string kind: + description: |- + 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. type: string metadata: type: object spec: + description: OpAMPBridgeSpec defines the desired state of OpAMPBridge. properties: affinity: + description: If specified, indicates the pod's scheduling constraints properties: nodeAffinity: + description: Describes node affinity scheduling rules for the + pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated with the + corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -66,13 +103,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -84,6 +135,8 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the corresponding + nodeSelectorTerm, in the range 1-100. format: int32 type: integer required: @@ -92,18 +145,41 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -113,13 +189,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -137,22 +227,50 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. co-locate + this pod in the same node, zone, etc. as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -164,29 +282,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -198,19 +343,32 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -219,18 +377,43 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -242,29 +425,55 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -276,14 +485,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods matching\nthe + labelSelector in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey @@ -291,22 +510,51 @@ spec: type: array type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules (e.g. + avoid putting this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -318,29 +566,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -352,19 +627,32 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -373,18 +661,43 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -396,29 +709,55 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -430,14 +769,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods matching\nthe + labelSelector in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey @@ -448,69 +797,115 @@ spec: capabilities: additionalProperties: type: boolean + description: Capabilities supported by the OpAMP Bridge type: object componentsAllowed: additionalProperties: items: type: string type: array + description: ComponentsAllowed is a list of allowed OpenTelemetry + components for each pipeline type (receiver, processor, etc.) type: object endpoint: + description: OpAMP backend Server endpoint type: string env: + description: ENV vars to set on the OpAMPBridge Pods. items: + description: EnvVar represents an environment variable present in + a Container. properties: name: + description: Name of the environment variable. Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. Cannot + be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath is + written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the specified + API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the exposed + resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -522,23 +917,40 @@ spec: type: object type: array envFrom: + description: List of sources to populate environment variables on + the OpAMPBridge Pods. items: + description: EnvFromSource represents the source of a set of ConfigMaps properties: configMapRef: + description: The ConfigMap to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: An optional identifier to prepend to each key in + the ConfigMap. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret must be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -547,67 +959,135 @@ spec: headers: additionalProperties: type: string + description: |- + Headers is an optional map of headers to use when connecting to the OpAMP Server, + typically used to set access tokens or other authorization headers. type: object hostNetwork: + description: HostNetwork indicates if the pod should run in the host + networking namespace. type: boolean image: + description: Image indicates the container image to use for the OpAMPBridge. type: string imagePullPolicy: + description: ImagePullPolicy indicates the pull policy to be used + for retrieving the container image (Always, Never, IfNotPresent) type: string nodeSelector: additionalProperties: type: string + description: NodeSelector to schedule OpAMPBridge pods. type: object podAnnotations: additionalProperties: type: string + description: |- + PodAnnotations is the set of annotations that will be attached to + OpAMPBridge pods. type: object podSecurityContext: + description: PodSecurityContext will be set as the pod security context. properties: fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + + 1. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. properties: level: + description: Level is SELinux level label that applies to + the container. type: string role: + description: Role is a SELinux role label that applies to + the container. type: string type: + description: Type is a SELinux type label that applies to + the container. type: string user: + description: User is a SELinux user label that applies to + the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in addition + to the container's primary GID, the fsGroup (if specified), and group memberships + defined in the container image for th items: format: int64 type: integer type: array sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -615,37 +1095,72 @@ spec: type: object type: array windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object ports: + description: Ports allows a set of ports to be exposed by the underlying + v1.Service. items: + description: ServicePort contains information on service's port. properties: appProtocol: + description: |- + The application protocol for this port. + This is used as a hint for implementations to offer richer behavior for protocols that they understand. + This field follows standard Kubernetes label syntax. type: string name: + description: |- + The name of this port within the service. This must be a DNS_LABEL. + All ports within a ServiceSpec must have unique names. type: string nodePort: + description: |- + The port on each node on which this service is exposed when type is + NodePort or LoadBalancer. Usually assigned by the system. format: int32 type: integer port: + description: The port that will be exposed by this service. format: int32 type: integer protocol: default: TCP + description: |- + The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". + Default is TCP. type: string targetPort: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the pods targeted by the service. + Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port @@ -653,17 +1168,35 @@ spec: type: array x-kubernetes-list-type: atomic priorityClassName: + description: |- + If specified, indicates the pod's priority. + If not specified, the pod priority will be default or zero if there is no + default. type: string replicas: + description: Replicas is the number of pod instances for the OpAMPBridge. format: int32 maximum: 1 type: integer resources: + description: Resources to set on the OpAMPBridge pods. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -679,6 +1212,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -687,100 +1223,225 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object securityContext: + description: SecurityContext will be set as the container security + context. properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. type: boolean capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities type type: string type: array drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities type type: string type: array type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default is DefaultProcMount which uses the container runtime defaults for + readonly paths and masked paths. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. properties: level: + description: Level is SELinux level label that applies to + the container. type: string role: + description: Role is a SELinux role label that applies to + the container. type: string type: + description: Type is a SELinux type label that applies to + the container. type: string user: + description: User is a SELinux user label that applies to + the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object serviceAccount: + description: |- + ServiceAccount indicates the name of an existing service account to use with this instance. When set, + the operator will not automatically create a ServiceAccount for the OpAMPBridge. type: string tolerations: + description: Toleration to schedule OpAMPBridge pods. items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array topologySpreadConstraints: + description: |- + TopologySpreadConstraints embedded kubernetes pod configuration option, + controls how pods are spread across your cluster among failure-domains + such as regions, zones, nodes, and other user-defined top items: + description: TopologySpreadConstraint specifies how to spread matching + pods among the given topology. properties: labelSelector: + description: |- + LabelSelector is used to find matching pods. + Pods that match this label selector are counted to determine the number of pods + in their corresponding topology domain. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -792,27 +1453,48 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select the pods over which + spreading will be calculated. items: type: string type: array x-kubernetes-list-type: atomic maxSkew: + description: MaxSkew describes the degree to which pods may + be unevenly distributed. format: int32 type: integer minDomains: + description: MinDomains indicates a minimum number of eligible + domains. format: int32 type: integer nodeAffinityPolicy: + description: |- + NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + when calculating pod topology spread skew. type: string nodeTaintsPolicy: + description: |- + NodeTaintsPolicy indicates how we will treat node taints when calculating + pod topology spread skew. type: string topologyKey: + description: |- + TopologyKey is the key of node labels. Nodes that have a label with this key + and identical values are considered to be in the same topology. type: string whenUnsatisfiable: + description: |- + WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + the spread constraint. + - DoNotSchedule (default) tells the scheduler not to schedule it. type: string required: - maxSkew @@ -821,24 +1503,47 @@ spec: type: object type: array upgradeStrategy: + description: UpgradeStrategy represents how the operator will handle + upgrades to the CR when a newer version of the operator is deployed enum: - automatic - none type: string volumeMounts: + description: VolumeMounts represents the mount points to use in the + underlying OpAMPBridge deployment(s) items: + description: VolumeMount describes a mounting of a Volume within + a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: Expanded path within the volume from which the + container's volume should be mounted. type: string required: - mountPath @@ -847,106 +1552,219 @@ spec: type: array x-kubernetes-list-type: atomic volumes: + description: Volumes represents which volumes to use in the underlying + OpAMPBridge deployment(s). items: + description: Volume represents a named volume in a pod that may + be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://kubernetes. properties: fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: azureDisk represents an Azure Data Disk mount on + the host and bind mount to the pod. properties: cachingMode: + description: 'cachingMode is the Host Caching mode: None, + Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data disk in the + blob storage type: string diskURI: + description: diskURI is the URI of data disk in the blob + storage type: string fsType: + description: |- + fsType is Filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single blob + disk per storage account Managed: azure managed data + disk (only in managed availability set).' type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: azureFile represents an Azure File Service mount + on the host and bind mount to the pod. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret that contains + Azure Storage Account Name and Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: cephFS represents a Ceph FS mount on the host that + shares a pod's lifetime properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array path: + description: 'path is Optional: Used as the mounted root, + rather than the full Ceph tree, default is /' type: string readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: boolean secretFile: + description: |- + secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string secretRef: + description: |- + secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that should populate + this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -954,66 +1772,127 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional specify whether the ConfigMap or its + keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents ephemeral + storage that is handled by certain external CSI drivers (Beta + feature). properties: driver: + description: |- + driver is the name of the CSI driver that handles this volume. + Consult with your admin for the correct name as registered in the cluster. type: string fsType: + description: |- + fsType to mount. Ex. "ext4", "xfs", "ntfs". + If not provided, the empty value is passed to the associated CSI driver + which will determine the default filesystem to apply. type: string nodePublishSecretRef: + description: |- + nodePublishSecretRef is a reference to the secret object containing + sensitive information to pass to the CSI driver to complete the CSI + NodePublishVolume and NodeUnpublishVolume calls. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about the pod + that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. format: int32 type: integer items: + description: Items is a list of downward API volume file items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field properties: fieldRef: + description: 'Required: Selects a field of the pod: + only annotations, labels, name and namespace are + supported.' properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: 'Required: Path is the relative path + name of the file to be created. Must not be absolute + or contain the ''..'' path. Must be utf-8 encoded. + The first item of the relative path must not start + with ''..''' type: string resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource @@ -1025,21 +1904,41 @@ spec: type: array type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents what type of storage medium should back this directory. + The default is "" which means to use the node's default medium. + Must be an empty string (default) or Memory. type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the total amount of local storage required for this EmptyDir volume. + The size limit is also applicable for memory medium. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: ephemeral represents a volume that is handled by + a cluster storage driver. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -1059,18 +1958,36 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string required: - kind @@ -1078,20 +1995,36 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s. type: string required: - kind - name type: object resources: + description: resources represents the minimum resources + the volume should have. properties: limits: additionalProperties: @@ -1100,6 +2033,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -1108,18 +2044,37 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum + amount of compute resources required. type: object type: object selector: + description: selector is a label query over volumes + to consider for binding. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1131,16 +2086,29 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: volumeAttributesClassName may be used + to set the VolumeAttributesClass used by this + claim. type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. type: string type: object required: @@ -1148,38 +2116,76 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource that is + attached to a kubelet's host machine and then exposed to the + pod. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' items: type: string type: array wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. properties: driver: + description: driver is the name of the driver to use for + this volume. type: string fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. type: string options: additionalProperties: type: string + description: 'options is Optional: this field holds extra + command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is Optional: secretRef is reference to the secret object containing + sensitive information to pass to the plugin scripts. This may be + empty if no secret object is specified. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic @@ -1187,88 +2193,183 @@ spec: - driver type: object flocker: + description: flocker represents a Flocker volume attached to + a kubelet's host machine. This depends on the Flocker control + service being running properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. This + is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://kubernetes. properties: fsType: + description: |- + fsType is filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". format: int32 type: integer pdName: + description: |- + pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk type: string readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk type: boolean required: - pdName type: object gitRepo: + description: |- + gitRepo represents a git repository at a particular revision. + DEPRECATED: GitRepo is deprecated. properties: directory: + description: |- + directory is the target directory name. + Must not contain or start with '..'. If '.' is supplied, the volume directory will be the + git repository. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the specified + revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + description: |- + readOnly here will force the Glusterfs volume to be mounted with read-only permissions. + Defaults to false. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: boolean required: - endpoints - path type: object hostPath: + description: |- + hostPath represents a pre-existing file or directory on the host + machine that is directly exposed to the container. properties: path: + description: |- + path of the directory on the host. + If the path is a symlink, it will follow the link to the real path. + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object iscsi: + description: |- + iscsi represents an ISCSI Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://examples.k8s.io/volumes/iscsi/README.md properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether support iSCSI + Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support iSCSI + Session CHAP authentication type: boolean fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string initiatorName: + description: initiatorName is the custom iSCSI Initiator + Name. type: string iqn: + description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). items: type: string type: array readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for iSCSI target + and initiator authentication properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). type: string required: - iqn @@ -1276,68 +2377,146 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + description: |- + nfs represents an NFS mount on the host that shares a pod's lifetime + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + description: |- + readOnly here will force the NFS export to be mounted with read-only permissions. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes. properties: claimName: + description: |- + claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims type: string readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: photonPersistentDisk represents a PhotonController + persistent disk attached and mounted on kubelets host machine properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string pdID: + description: pdID is the ID that identifies Photon Controller + persistent disk type: string required: - pdID type: object portworxVolume: + description: portworxVolume represents a portworx volume attached + and mounted on kubelets host machine properties: fsType: + description: |- + fSType represents the filesystem type to mount + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources secrets, + configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer sources: + description: sources is the list of volume projections items: + description: Projection that may be projected along with + other supported volume types properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + + Alpha, gated by the ClusterTrustBundleProjection feature gate. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1349,31 +2528,63 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. type: boolean path: + description: Relative path from the volume root + to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about the configMap + data to project properties: items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -1381,42 +2592,82 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about the downwardAPI + data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a field + of the pod: only annotations, labels, + name and namespace are supported.' properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: 'Required: Path is the relative + path name of the file to be created. Must + not be absolute or contain the ''..'' + path. Must be utf-8 encoded. The first + item of the relative path must not start + with ''..''' type: string resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource @@ -1428,16 +2679,33 @@ spec: type: array type: object secret: + description: secret information about the secret data + to project properties: items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -1445,19 +2713,38 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional field specify whether the + Secret or its key must be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information about + the serviceAccountToken data to project properties: audience: + description: |- + audience is the intended audience of the token. A recipient of a token + must identify itself with an identifier specified in the audience of the + token, and otherwise should reject the token. type: string expirationSeconds: + description: |- + expirationSeconds is the requested duration of validity of the service + account token. As the token approaches expiration, the kubelet volume + plugin will proactively rotate the service account token. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -1466,76 +2753,167 @@ spec: type: array type: object quobyte: + description: quobyte represents a Quobyte mount on the host + that shares a pod's lifetime properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + description: |- + registry represents a single or multiple Quobyte Registry services + specified as a string as host:port pair (multiple entries are separated with commas) + which acts as the central registry for volumes type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references an already + created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: + description: |- + keyring is the path to key ring for RBDUser. + Default is /etc/ceph/keyring. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array pool: + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: boolean secretRef: + description: |- + secretRef is name of the authentication secret for RBDUser. If provided + overrides keyring. + Default is nil. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: scaleIO represents a ScaleIO persistent volume + attached and mounted on Kubernetes nodes. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the ScaleIO + API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false type: boolean storageMode: + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage Pool associated + with the protection domain. type: string system: + description: system is the name of the storage system as + configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -1543,19 +2921,39 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer items: + description: |- + items If unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -1563,36 +2961,75 @@ spec: type: object type: array optional: + description: optional field specify whether the Secret or + its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: storageOS represents a StorageOS volume attached + and mounted on Kubernetes nodes. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + description: |- + volumeNamespace specifies the scope of the volume within StorageOS. If no + namespace is specified then the Pod's namespace will be used. type: string type: object vsphereVolume: + description: vsphereVolume represents a vSphere volume attached + and mounted on kubelets host machine properties: fsType: + description: |- + fsType is filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string storagePolicyID: + description: storagePolicyID is the storage Policy Based + Management (SPBM) profile ID associated with the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage Policy Based + Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies vSphere + volume vmdk type: string required: - volumePath @@ -1607,8 +3044,10 @@ spec: - endpoint type: object status: + description: OpAMPBridgeStatus defines the observed state of OpAMPBridge. properties: version: + description: Version of the managed OpAMP Bridge (operand) type: string type: object type: object diff --git a/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml b/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml index e15c1d80bf..95192f9395 100644 --- a/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml +++ b/bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml @@ -9,17 +9,6 @@ metadata: app.kubernetes.io/name: opentelemetry-operator name: opentelemetrycollectors.opentelemetry.io spec: - conversion: - strategy: Webhook - webhook: - clientConfig: - service: - name: opentelemetry-operator-webhook-service - namespace: opentelemetry-operator-system - path: /convert - conversionReviewVersions: - - v1alpha1 - - v1beta1 group: opentelemetry.io names: kind: OpenTelemetryCollector @@ -53,86 +42,153 @@ spec: jsonPath: .spec.managementState name: Management type: string - deprecated: true - deprecationWarning: OpenTelemetryCollector v1alpha1 is deprecated. Migrate to - v1beta1. name: v1alpha1 schema: openAPIV3Schema: + description: OpenTelemetryCollector is the Schema for the opentelemetrycollectors + API. properties: apiVersion: + description: |- + 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. type: string kind: + description: |- + 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. type: string metadata: type: object spec: + description: OpenTelemetryCollectorSpec defines the desired state of OpenTelemetryCollector. properties: additionalContainers: + description: AdditionalContainers allows injecting additional containers + into the Collector's pod definition. items: + description: A single application container that you want to run + within a pod. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. items: type: string type: array command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. items: type: string type: array env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be + a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -144,53 +200,104 @@ spec: type: object type: array envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. items: + description: EnvFromSource represents the source of a set + of ConfigMaps properties: configMapRef: + description: The ConfigMap to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap must be + defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: An optional identifier to prepend to each + key in the ConfigMap. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret must be defined type: boolean type: object x-kubernetes-map-type: atomic type: object type: array image: + description: |- + Container image name. + More info: https://kubernetes. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes. type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -198,57 +305,98 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the + container should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to + sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -256,33 +404,54 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the + container should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to + sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port @@ -290,37 +459,67 @@ spec: type: object type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -328,62 +527,119 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0. items: + description: ContainerPort represents a network port in a + single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -394,37 +650,67 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -432,51 +718,91 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource resize + policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -485,11 +811,27 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -505,6 +847,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -513,103 +858,216 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. type: boolean capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default is DefaultProcMount which uses the container runtime defaults for + readonly paths and masked paths. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a + non-root user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -617,61 +1075,117 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices to be + used by the container. items: + description: volumeDevice describes a mapping of a raw block + device within a container. properties: devicePath: + description: devicePath is the path inside of the container + that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -679,19 +1193,41 @@ spec: type: object type: array volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: Expanded path within the volume from which + the container's volume should be mounted. type: string required: - mountPath @@ -699,28 +1235,59 @@ spec: type: object type: array workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array affinity: + description: If specified, indicates the pod's scheduling constraints properties: nodeAffinity: + description: Describes node affinity scheduling rules for the + pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated with the + corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -730,13 +1297,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -748,6 +1329,8 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the corresponding + nodeSelectorTerm, in the range 1-100. format: int32 type: integer required: @@ -756,18 +1339,41 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -777,13 +1383,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -801,22 +1421,50 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. co-locate + this pod in the same node, zone, etc. as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -828,29 +1476,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -862,19 +1537,32 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -883,18 +1571,43 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -906,29 +1619,55 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -940,14 +1679,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods matching\nthe + labelSelector in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey @@ -955,22 +1704,51 @@ spec: type: array type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules (e.g. + avoid putting this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -982,29 +1760,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1016,19 +1821,32 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -1037,18 +1855,43 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1060,29 +1903,55 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1094,14 +1963,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods matching\nthe + labelSelector in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey @@ -1112,22 +1991,47 @@ spec: args: additionalProperties: type: string + description: Args is the set of arguments to pass to the OpenTelemetry + Collector binary type: object autoscaler: + description: |- + Autoscaler specifies the pod autoscaling configuration to use + for the OpenTelemetryCollector workload. properties: behavior: + description: |- + HorizontalPodAutoscalerBehavior configures the scaling behavior of the target + in both Up and Down directions (scaleUp and scaleDown fields respectively). properties: scaleDown: + description: |- + scaleDown is scaling policy for scaling Down. + If not set, the default value is to allow to scale down to minReplicas pods, with a + 300 second stabilization window (i.e. properties: policies: + description: |- + policies is a list of potential scaling polices which can be used during scaling. + At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid items: + description: HPAScalingPolicy is a single policy which + must hold true for a specified past interval. properties: periodSeconds: + description: |- + periodSeconds specifies the window of time for which the policy should hold true. + PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). format: int32 type: integer type: + description: type is used to specify the scaling + policy. type: string value: + description: |- + value contains the amount of change which is permitted by the policy. + It must be greater than zero format: int32 type: integer required: @@ -1138,22 +2042,42 @@ spec: type: array x-kubernetes-list-type: atomic selectPolicy: + description: |- + selectPolicy is used to specify which policy should be used. + If not set, the default value Max is used. type: string stabilizationWindowSeconds: + description: |- + stabilizationWindowSeconds is the number of seconds for which past recommendations should be + considered while scaling up or scaling down. format: int32 type: integer type: object scaleUp: + description: scaleUp is scaling policy for scaling Up. properties: policies: + description: |- + policies is a list of potential scaling polices which can be used during scaling. + At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid items: + description: HPAScalingPolicy is a single policy which + must hold true for a specified past interval. properties: periodSeconds: + description: |- + periodSeconds specifies the window of time for which the policy should hold true. + PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). format: int32 type: integer type: + description: type is used to specify the scaling + policy. type: string value: + description: |- + value contains the amount of change which is permitted by the policy. + It must be greater than zero format: int32 type: integer required: @@ -1164,34 +2088,73 @@ spec: type: array x-kubernetes-list-type: atomic selectPolicy: + description: |- + selectPolicy is used to specify which policy should be used. + If not set, the default value Max is used. type: string stabilizationWindowSeconds: + description: |- + stabilizationWindowSeconds is the number of seconds for which past recommendations should be + considered while scaling up or scaling down. format: int32 type: integer type: object type: object maxReplicas: + description: MaxReplicas sets an upper bound to the autoscaling + feature. If MaxReplicas is set autoscaling is enabled. format: int32 type: integer metrics: + description: |- + Metrics is meant to provide a customizable way to configure HPA metrics. + currently the only supported custom metrics is type=Pod. items: + description: |- + MetricSpec defines a subset of metrics to be defined for the HPA's metric array + more metric type can be supported as needed. + See https://pkg.go.dev/k8s.io/api/autoscaling/v2#MetricSpec for reference. properties: pods: + description: |- + PodsMetricSource indicates how to scale on a metric describing each pod in + the current scale target (for example, transactions-processed-per-second). properties: metric: + description: metric identifies the target metric by + name and selector properties: name: + description: name is the name of the given metric type: string selector: + description: |- + selector is the string-encoded form of a standard kubernetes label selector for the given metric + When set, it is passed as an additional parameter to the metrics server for more specific metrics scopi properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1203,6 +2166,8 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic @@ -1210,22 +2175,35 @@ spec: - name type: object target: + description: target specifies the target value for the + given metric properties: averageUtilization: + description: |- + averageUtilization is the target value of the average of the + resource metric across all relevant pods, represented as a percentage of + the requested value of the resource for the pods. format: int32 type: integer averageValue: anyOf: - type: integer - type: string + description: |- + averageValue is the target value of the average of the + metric across all relevant pods (as a quantity) pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: + description: type represents whether the metric + type is Utilization, Value, or AverageValue type: string value: anyOf: - type: integer - type: string + description: value is the target value of the metric + (as a quantity). pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true required: @@ -1236,29 +2214,46 @@ spec: - target type: object type: + description: MetricSourceType indicates the type of metric. type: string required: - type type: object type: array minReplicas: + description: MinReplicas sets a lower bound to the autoscaling + feature. Set this if your are using autoscaling. It must be + at least 1 format: int32 type: integer targetCPUUtilization: + description: |- + TargetCPUUtilization sets the target average CPU used across all replicas. + If average CPU exceeds this value, the HPA will scale up. Defaults to 90 percent. format: int32 type: integer targetMemoryUtilization: + description: TargetMemoryUtilization sets the target average memory + utilization across all replicas format: int32 type: integer type: object config: + description: Config is the raw JSON to be used as the collector's + configuration. Refer to the OpenTelemetry Collector documentation + for details. type: string configmaps: + description: |- + ConfigMaps is a list of ConfigMaps in the same namespace as the OpenTelemetryCollector + object, which shall be mounted into the Collector Pods. items: properties: mountpath: type: string name: + description: Configmap defines name and path where the configMaps + should be mounted. type: string required: - mountpath @@ -1266,77 +2261,139 @@ spec: type: object type: array deploymentUpdateStrategy: + description: |- + UpdateStrategy represents the strategy the operator will take replacing existing Deployment pods with new pods + https://kubernetes. properties: rollingUpdate: + description: |- + Rolling update config params. Present only if DeploymentStrategyType = + RollingUpdate. + --- + TODO: Update this to follow our convention for oneOf, whatever we decide it + to be. properties: maxSurge: anyOf: - type: integer - type: string + description: |- + The maximum number of pods that can be scheduled above the desired number of + pods. + Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). x-kubernetes-int-or-string: true maxUnavailable: anyOf: - type: integer - type: string + description: |- + The maximum number of pods that can be unavailable during the update. + Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). x-kubernetes-int-or-string: true type: object type: + description: Type of deployment. Can be "Recreate" or "RollingUpdate". + Default is RollingUpdate. type: string type: object env: + description: |- + ENV vars to set on the OpenTelemetry Collector's Pods. These can then in certain cases be + consumed in the config file for the Collector. items: + description: EnvVar represents an environment variable present in + a Container. properties: name: + description: Name of the environment variable. Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. Cannot + be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath is + written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the specified + API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the exposed + resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -1348,47 +2405,88 @@ spec: type: object type: array envFrom: + description: |- + List of sources to populate environment variables on the OpenTelemetry Collector's Pods. + These can then in certain cases be consumed in the config file for the Collector. items: + description: EnvFromSource represents the source of a set of ConfigMaps properties: configMapRef: + description: The ConfigMap to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: An optional identifier to prepend to each key in + the ConfigMap. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret must be defined type: boolean type: object x-kubernetes-map-type: atomic type: object type: array hostNetwork: + description: HostNetwork indicates if the pod should run in the host + networking namespace. type: boolean image: + description: Image indicates the container image to use for the OpenTelemetry + Collector. type: string imagePullPolicy: + description: ImagePullPolicy indicates the pull policy to be used + for retrieving the container image (Always, Never, IfNotPresent) type: string ingress: + description: |- + Ingress is used to specify how OpenTelemetry Collector is exposed. This + functionality is only available if one of the valid modes is set. + Valid modes are: deployment, daemonset and statefulset. properties: annotations: additionalProperties: type: string + description: |- + Annotations to add to ingress. + e.g. 'cert-manager.io/cluster-issuer: "letsencrypt"' type: object hostname: + description: Hostname by which the ingress proxy can be reached. type: string ingressClassName: + description: |- + IngressClassName is the name of an IngressClass cluster resource. Ingress + controller implementations use this field to know whether they should be + serving this Ingress resource. type: string route: + description: |- + Route is an OpenShift specific section that is only considered when + type "route" is used. properties: termination: + description: Termination indicates termination type. By default + "edge" is used. enum: - insecure - edge @@ -1397,93 +2495,167 @@ spec: type: string type: object ruleType: + description: |- + RuleType defines how Ingress exposes collector receivers. + IngressRuleTypePath ("path") exposes each receiver port on a unique path on single domain defined in Hostname. enum: - path - subdomain type: string tls: + description: TLS configuration. items: + description: IngressTLS describes the transport layer security + associated with an ingress. properties: hosts: + description: |- + hosts is a list of hosts included in the TLS certificate. The values in + this list must match the name/s used in the tlsSecret. items: type: string type: array x-kubernetes-list-type: atomic secretName: + description: |- + secretName is the name of the secret used to terminate TLS traffic on + port 443. Field is left optional to allow TLS routing based on SNI + hostname alone. type: string type: object type: array type: + description: |- + Type default value is: "" + Supported types are: ingress, route enum: - ingress - route type: string type: object initContainers: + description: InitContainers allows injecting initContainers to the + Collector's pod definition. items: + description: A single application container that you want to run + within a pod. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. items: type: string type: array command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. items: type: string type: array env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be + a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -1495,53 +2667,104 @@ spec: type: object type: array envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. items: + description: EnvFromSource represents the source of a set + of ConfigMaps properties: configMapRef: + description: The ConfigMap to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap must be + defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: An optional identifier to prepend to each + key in the ConfigMap. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret must be defined type: boolean type: object x-kubernetes-map-type: atomic type: object type: array image: + description: |- + Container image name. + More info: https://kubernetes. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes. type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -1549,57 +2772,98 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the + container should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to + sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -1607,33 +2871,54 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the + container should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to + sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port @@ -1641,37 +2926,67 @@ spec: type: object type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -1679,62 +2994,119 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0. items: + description: ContainerPort represents a network port in a + single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -1745,37 +3117,67 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -1783,51 +3185,91 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource resize + policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -1836,11 +3278,27 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -1856,6 +3314,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -1864,103 +3325,216 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. type: boolean capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default is DefaultProcMount which uses the container runtime defaults for + readonly paths and masked paths. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a + non-root user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -1968,61 +3542,117 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices to be + used by the container. items: + description: volumeDevice describes a mapping of a raw block + device within a container. properties: devicePath: + description: devicePath is the path inside of the container + that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -2030,19 +3660,41 @@ spec: type: object type: array volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: Expanded path within the volume from which + the container's volume should be mounted. type: string required: - mountPath @@ -2050,32 +3702,58 @@ spec: type: object type: array workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array lifecycle: + description: Actions that the management system should take in response + to container lifecycle events. Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header to + be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -2083,57 +3761,97 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the container + should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header to + be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -2141,33 +3859,53 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the container + should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port @@ -2175,39 +3913,72 @@ spec: type: object type: object livenessProbe: + description: Liveness config for the OpenTelemetry Collector except + the probe handler which is auto generated from the health extension + of the collector. properties: failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + Defaults to 0 seconds. Minimum value is 0. + More info: https://kubernetes. format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs to terminate + gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object managementState: default: managed + description: |- + ManagementState defines if the CR should be managed by the operator or not. + Default is managed. enum: - managed - unmanaged type: string maxReplicas: + description: |- + MaxReplicas sets an upper bound to the autoscaling feature. If MaxReplicas is set autoscaling is enabled. + Deprecated: use "OpenTelemetryCollector.Spec.Autoscaler.MaxReplicas" instead. format: int32 type: integer minReplicas: + description: |- + MinReplicas sets a lower bound to the autoscaling feature. Set this if you are using autoscaling. It must be at least 1 + Deprecated: use "OpenTelemetryCollector.Spec.Autoscaler.MinReplicas" instead. format: int32 type: integer mode: + description: Mode represents how the collector should be deployed + (deployment, daemonset, statefulset or sidecar) enum: - daemonset - deployment @@ -2217,80 +3988,164 @@ spec: nodeSelector: additionalProperties: type: string + description: |- + NodeSelector to schedule OpenTelemetry Collector pods. + This is only relevant to daemonset, statefulset, and deployment mode type: object observability: + description: ObservabilitySpec defines how telemetry data gets handled. properties: metrics: + description: Metrics defines the metrics configuration for operands. properties: DisablePrometheusAnnotations: + description: |- + DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations + ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path') type: boolean enableMetrics: + description: |- + EnableMetrics specifies if ServiceMonitor or PodMonitor(for sidecar mode) should be created for the service managed by the OpenTelemetry Operator. + The operator.observability. type: boolean type: object type: object podAnnotations: additionalProperties: type: string + description: |- + PodAnnotations is the set of annotations that will be attached to + Collector and Target Allocator pods. type: object podDisruptionBudget: + description: |- + PodDisruptionBudget specifies the pod disruption budget configuration to use + for the OpenTelemetryCollector workload. properties: maxUnavailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at most "maxUnavailable" pods selected by + "selector" are unavailable after the eviction, i.e. even in absence of + the evicted pod. x-kubernetes-int-or-string: true minAvailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at least "minAvailable" pods selected by + "selector" will still be available after the eviction, i.e. even in the + absence of the evicted pod. x-kubernetes-int-or-string: true type: object podSecurityContext: + description: |- + PodSecurityContext configures the pod security context for the + opentelemetry-collector pod, when running as a deployment, daemonset, + or statefulset. properties: fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + + 1. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. properties: level: + description: Level is SELinux level label that applies to + the container. type: string role: + description: Role is a SELinux role label that applies to + the container. type: string type: + description: Type is a SELinux type label that applies to + the container. type: string user: + description: User is a SELinux user label that applies to + the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in addition + to the container's primary GID, the fsGroup (if specified), and group memberships + defined in the container image for th items: format: int64 type: integer type: array sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -2298,37 +4153,73 @@ spec: type: object type: array windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object ports: + description: |- + Ports allows a set of ports to be exposed by the underlying v1.Service. By default, the operator + will attempt to infer the required ports by parsing the .Spec. items: + description: ServicePort contains information on service's port. properties: appProtocol: + description: |- + The application protocol for this port. + This is used as a hint for implementations to offer richer behavior for protocols that they understand. + This field follows standard Kubernetes label syntax. type: string name: + description: |- + The name of this port within the service. This must be a DNS_LABEL. + All ports within a ServiceSpec must have unique names. type: string nodePort: + description: |- + The port on each node on which this service is exposed when type is + NodePort or LoadBalancer. Usually assigned by the system. format: int32 type: integer port: + description: The port that will be exposed by this service. format: int32 type: integer protocol: default: TCP + description: |- + The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". + Default is TCP. type: string targetPort: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the pods targeted by the service. + Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port @@ -2336,16 +4227,35 @@ spec: type: array x-kubernetes-list-type: atomic priorityClassName: + description: |- + If specified, indicates the pod's priority. + If not specified, the pod priority will be default or zero if there is no + default. type: string replicas: + description: Replicas is the number of pod instances for the underlying + OpenTelemetry Collector. Set this if your are not using autoscaling format: int32 type: integer resources: + description: Resources to set on the OpenTelemetry Collector pods. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -2361,6 +4271,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -2369,92 +4282,205 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object securityContext: + description: |- + SecurityContext configures the container security context for + the opentelemetry-collector container. properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. type: boolean capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities type type: string type: array drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities type type: string type: array type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default is DefaultProcMount which uses the container runtime defaults for + readonly paths and masked paths. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. properties: level: + description: Level is SELinux level label that applies to + the container. type: string role: + description: Role is a SELinux role label that applies to + the container. type: string type: + description: Type is a SELinux type label that applies to + the container. type: string user: + description: User is a SELinux user label that applies to + the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object serviceAccount: + description: |- + ServiceAccount indicates the name of an existing service account to use with this instance. When set, + the operator will not automatically create a ServiceAccount for the collector. type: string shareProcessNamespace: + description: ShareProcessNamespace indicates if the pod's containers + should share process namespace. type: boolean targetAllocator: + description: TargetAllocator indicates a value which determines whether + to spawn a target allocation resource or not. properties: affinity: + description: If specified, indicates the pod's scheduling constraints properties: nodeAffinity: + description: Describes node affinity scheduling rules for + the pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated with + the corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -2464,13 +4490,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -2482,6 +4522,8 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the + corresponding nodeSelectorTerm, in the range 1-100. format: int32 type: integer required: @@ -2490,18 +4532,41 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -2511,13 +4576,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -2535,22 +4614,52 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. + co-locate this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2562,29 +4671,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2596,19 +4732,33 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located + (affinity) or not co-located (anti-affinity) + with the pods matching\nthe labelSelector + in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -2617,18 +4767,44 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2640,29 +4816,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2674,14 +4877,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey @@ -2689,22 +4902,52 @@ spec: type: array type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules + (e.g. avoid putting this pod in the same node, zone, etc. + as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2716,29 +4959,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2750,19 +5020,33 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located + (affinity) or not co-located (anti-affinity) + with the pods matching\nthe labelSelector + in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -2771,18 +5055,44 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2794,29 +5104,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2828,14 +5165,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey @@ -2845,67 +5192,119 @@ spec: type: object allocationStrategy: default: consistent-hashing + description: |- + AllocationStrategy determines which strategy the target allocator should use for allocation. + The current options are least-weighted, consistent-hashing and per-node. The default is + consistent-hashing. enum: - least-weighted - consistent-hashing - per-node type: string enabled: + description: Enabled indicates whether to use a target allocation + mechanism for Prometheus targets or not. type: boolean env: + description: |- + ENV vars to set on the OpenTelemetry TargetAllocator's Pods. These can then in certain cases be + consumed in the config file for the TargetAllocator. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -2918,82 +5317,168 @@ spec: type: array filterStrategy: default: relabel-config + description: |- + FilterStrategy determines how to filter targets before allocating them among the collectors. + The only current option is relabel-config (drops targets based on prom relabel_config). type: string image: + description: Image indicates the container image to use for the + OpenTelemetry TargetAllocator. type: string nodeSelector: additionalProperties: type: string + description: NodeSelector to schedule OpenTelemetry TargetAllocator + pods. type: object observability: + description: ObservabilitySpec defines how telemetry data gets + handled. properties: metrics: + description: Metrics defines the metrics configuration for + operands. properties: DisablePrometheusAnnotations: + description: |- + DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations + ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path') type: boolean enableMetrics: + description: |- + EnableMetrics specifies if ServiceMonitor or PodMonitor(for sidecar mode) should be created for the service managed by the OpenTelemetry Operator. + The operator.observability. type: boolean type: object type: object podDisruptionBudget: + description: |- + PodDisruptionBudget specifies the pod disruption budget configuration to use + for the target allocator workload. properties: maxUnavailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at most "maxUnavailable" pods selected by + "selector" are unavailable after the eviction, i.e. even in absence of + the evicted pod. x-kubernetes-int-or-string: true minAvailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at least "minAvailable" pods selected by + "selector" will still be available after the eviction, i.e. even in the + absence of the evicted pod. x-kubernetes-int-or-string: true type: object podSecurityContext: + description: |- + PodSecurityContext configures the pod security context for the + targetallocator. properties: fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + + 1. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in addition + to the container's primary GID, the fsGroup (if specified), and group memberships + defined in the container image for th items: format: int64 type: integer type: array sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -3001,43 +5486,93 @@ spec: type: object type: array windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object prometheusCR: + description: PrometheusCR defines the configuration for the retrieval + of PrometheusOperator CRDs ( servicemonitor.monitoring.coreos.com/v1 + and podmonitor.monitoring.coreos.com/v1 ) retrieval. properties: enabled: + description: Enabled indicates whether to use a PrometheusOperator + custom resources as targets or not. type: boolean podMonitorSelector: additionalProperties: type: string + description: |- + PodMonitors to be selected for target discovery. + This is a map of {key,value} pairs. Each {key,value} in the map is going to exactly match a label in a + PodMonitor's meta labels. type: object scrapeInterval: default: 30s + description: |- + Interval between consecutive scrapes. Equivalent to the same setting on the Prometheus CRD. + + + Default: "30s" format: duration type: string serviceMonitorSelector: additionalProperties: type: string + description: |- + ServiceMonitors to be selected for target discovery. + This is a map of {key,value} pairs. Each {key,value} in the map is going to exactly match a label in a + ServiceMonitor's meta labels. type: object type: object replicas: + description: |- + Replicas is the number of pod instances for the underlying TargetAllocator. This should only be set to a value + other than 1 if a strategy that allows for high availability is chosen. format: int32 type: integer resources: + description: Resources to set on the OpenTelemetryTargetAllocator + containers. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -3053,6 +5588,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -3061,100 +5599,230 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object securityContext: + description: |- + SecurityContext configures the container security context for + the targetallocator. properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. type: boolean capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default is DefaultProcMount which uses the container runtime defaults for + readonly paths and masked paths. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object serviceAccount: + description: |- + ServiceAccount indicates the name of an existing service account to use with this instance. When set, + the operator will not automatically create a ServiceAccount for the TargetAllocator. type: string tolerations: + description: |- + Toleration embedded kubernetes pod configuration option, + controls how pods can be scheduled with matching taints items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array topologySpreadConstraints: + description: |- + TopologySpreadConstraints embedded kubernetes pod configuration option, + controls how pods are spread across your cluster among failure-domains + such as regions, zones, nodes, and other user-defined top items: + description: TopologySpreadConstraint specifies how to spread + matching pods among the given topology. properties: labelSelector: + description: |- + LabelSelector is used to find matching pods. + Pods that match this label selector are counted to determine the number of pods + in their corresponding topology domain. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -3166,27 +5834,48 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select the pods over which + spreading will be calculated. items: type: string type: array x-kubernetes-list-type: atomic maxSkew: + description: MaxSkew describes the degree to which pods + may be unevenly distributed. format: int32 type: integer minDomains: + description: MinDomains indicates a minimum number of eligible + domains. format: int32 type: integer nodeAffinityPolicy: + description: |- + NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + when calculating pod topology spread skew. type: string nodeTaintsPolicy: + description: |- + NodeTaintsPolicy indicates how we will treat node taints when calculating + pod topology spread skew. type: string topologyKey: + description: |- + TopologyKey is the key of node labels. Nodes that have a label with this key + and identical values are considered to be in the same topology. type: string whenUnsatisfiable: + description: |- + WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + the spread constraint. + - DoNotSchedule (default) tells the scheduler not to schedule it. type: string required: - maxSkew @@ -3196,37 +5885,84 @@ spec: type: array type: object terminationGracePeriodSeconds: + description: Duration in seconds the pod needs to terminate gracefully + upon probe failure. format: int64 type: integer tolerations: + description: |- + Toleration to schedule OpenTelemetry Collector pods. + This is only relevant to daemonset, statefulset, and deployment mode items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array topologySpreadConstraints: + description: |- + TopologySpreadConstraints embedded kubernetes pod configuration option, + controls how pods are spread across your cluster among failure-domains + such as regions, zones, nodes, and other user-defined top items: + description: TopologySpreadConstraint specifies how to spread matching + pods among the given topology. properties: labelSelector: + description: |- + LabelSelector is used to find matching pods. + Pods that match this label selector are counted to determine the number of pods + in their corresponding topology domain. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -3238,27 +5974,48 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select the pods over which + spreading will be calculated. items: type: string type: array x-kubernetes-list-type: atomic maxSkew: + description: MaxSkew describes the degree to which pods may + be unevenly distributed. format: int32 type: integer minDomains: + description: MinDomains indicates a minimum number of eligible + domains. format: int32 type: integer nodeAffinityPolicy: + description: |- + NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + when calculating pod topology spread skew. type: string nodeTaintsPolicy: + description: |- + NodeTaintsPolicy indicates how we will treat node taints when calculating + pod topology spread skew. type: string topologyKey: + description: |- + TopologyKey is the key of node labels. Nodes that have a label with this key + and identical values are considered to be in the same topology. type: string whenUnsatisfiable: + description: |- + WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + the spread constraint. + - DoNotSchedule (default) tells the scheduler not to schedule it. type: string required: - maxSkew @@ -3267,36 +6024,70 @@ spec: type: object type: array updateStrategy: + description: |- + UpdateStrategy represents the strategy the operator will take replacing existing DaemonSet pods with new pods + https://kubernetes. properties: rollingUpdate: + description: |- + Rolling update config params. Present only if type = "RollingUpdate". + --- + TODO: Update this to follow our convention for oneOf, whatever we decide it + to be. Same as Deployment `strategy. properties: maxSurge: anyOf: - type: integer - type: string + description: |- + The maximum number of nodes with an existing available DaemonSet pod that + can have an updated DaemonSet pod during during an update. x-kubernetes-int-or-string: true maxUnavailable: anyOf: - type: integer - type: string + description: |- + The maximum number of DaemonSet pods that can be unavailable during the + update. x-kubernetes-int-or-string: true type: object type: + description: Type of daemon set update. Can be "RollingUpdate" + or "OnDelete". Default is RollingUpdate. type: string type: object upgradeStrategy: + description: UpgradeStrategy represents how the operator will handle + upgrades to the CR when a newer version of the operator is deployed enum: - automatic - none type: string volumeClaimTemplates: + description: VolumeClaimTemplates will provide stable storage using + PersistentVolumes. Only available when the mode=statefulset. items: + description: PersistentVolumeClaim is a user's request for and claim + to a persistent volume properties: apiVersion: + description: |- + 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. type: string kind: + description: |- + 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. type: string metadata: + description: |- + Standard object's metadata. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata properties: annotations: additionalProperties: @@ -3316,18 +6107,33 @@ spec: type: string type: object spec: + description: |- + spec defines the desired characteristics of a volume requested by a pod author. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being referenced type: string name: + description: Name is the name of resource being referenced type: string required: - kind @@ -3335,20 +6141,34 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being referenced type: string name: + description: Name is the name of resource being referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s. type: string required: - kind - name type: object resources: + description: resources represents the minimum resources + the volume should have. properties: limits: additionalProperties: @@ -3357,6 +6177,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -3365,18 +6188,36 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of + compute resources required. type: object type: object selector: + description: selector is a label query over volumes to consider + for binding. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -3388,27 +6229,52 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} pairs. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: volumeAttributesClassName may be used to set + the VolumeAttributesClass used by this claim. type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference to the + PersistentVolume backing this claim. type: string type: object status: + description: |- + status represents the current information/status of a persistent volume claim. + Read-only. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the actual access modes the volume backing the PVC has. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array allocatedResourceStatuses: additionalProperties: + description: |- + When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource + that it does not recognizes, then it should ignore that update and let other controllers + handle it. type: string + description: |- + allocatedResourceStatuses stores status of resource being resized for the given PVC. + Key names follow standard Kubernetes label syntax. type: object x-kubernetes-map-type: granular allocatedResources: @@ -3418,6 +6284,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + allocatedResources tracks the resources allocated to a PVC including its capacity. + Key names follow standard Kubernetes label syntax. type: object capacity: additionalProperties: @@ -3426,23 +6295,41 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: capacity represents the actual resources of + the underlying volume. type: object conditions: + description: |- + conditions is the current Condition of persistent volume claim. If underlying persistent volume is being + resized then the Condition will be set to 'ResizeStarted'. items: + description: PersistentVolumeClaimCondition contains details + about state of pvc properties: lastProbeTime: + description: lastProbeTime is the time we probed the + condition. format: date-time type: string lastTransitionTime: + description: lastTransitionTime is the time the condition + transitioned from one status to another. format: date-time type: string message: + description: message is the human-readable message + indicating details about last transition. type: string reason: + description: |- + reason is a unique, this should be a short, machine understandable string that gives the reason + for condition's last transition. type: string status: type: string type: + description: PersistentVolumeClaimConditionType is + a valid value of PersistentVolumeClaimCondition.Type type: string required: - status @@ -3450,36 +6337,68 @@ spec: type: object type: array currentVolumeAttributesClassName: + description: currentVolumeAttributesClassName is the current + name of the VolumeAttributesClass the PVC is using. type: string modifyVolumeStatus: + description: |- + ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. + When this is unset, there is no ModifyVolume operation being attempted. properties: status: + description: status is the status of the ControllerModifyVolume + operation. type: string targetVolumeAttributesClassName: + description: targetVolumeAttributesClassName is the + name of the VolumeAttributesClass the PVC currently + being reconciled type: string required: - status type: object phase: + description: phase represents the current phase of PersistentVolumeClaim. type: string type: object type: object type: array x-kubernetes-list-type: atomic volumeMounts: + description: VolumeMounts represents the mount points to use in the + underlying collector deployment(s) items: + description: VolumeMount describes a mounting of a Volume within + a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: Expanded path within the volume from which the + container's volume should be mounted. type: string required: - mountPath @@ -3488,106 +6407,219 @@ spec: type: array x-kubernetes-list-type: atomic volumes: + description: Volumes represents which volumes to use in the underlying + collector deployment(s). items: + description: Volume represents a named volume in a pod that may + be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://kubernetes. properties: fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: azureDisk represents an Azure Data Disk mount on + the host and bind mount to the pod. properties: cachingMode: + description: 'cachingMode is the Host Caching mode: None, + Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data disk in the + blob storage type: string diskURI: + description: diskURI is the URI of data disk in the blob + storage type: string fsType: + description: |- + fsType is Filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single blob + disk per storage account Managed: azure managed data + disk (only in managed availability set).' type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: azureFile represents an Azure File Service mount + on the host and bind mount to the pod. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret that contains + Azure Storage Account Name and Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: cephFS represents a Ceph FS mount on the host that + shares a pod's lifetime properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array path: + description: 'path is Optional: Used as the mounted root, + rather than the full Ceph tree, default is /' type: string readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: boolean secretFile: + description: |- + secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string secretRef: + description: |- + secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that should populate + this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -3595,66 +6627,127 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional specify whether the ConfigMap or its + keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents ephemeral + storage that is handled by certain external CSI drivers (Beta + feature). properties: driver: + description: |- + driver is the name of the CSI driver that handles this volume. + Consult with your admin for the correct name as registered in the cluster. type: string fsType: + description: |- + fsType to mount. Ex. "ext4", "xfs", "ntfs". + If not provided, the empty value is passed to the associated CSI driver + which will determine the default filesystem to apply. type: string nodePublishSecretRef: + description: |- + nodePublishSecretRef is a reference to the secret object containing + sensitive information to pass to the CSI driver to complete the CSI + NodePublishVolume and NodeUnpublishVolume calls. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about the pod + that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. format: int32 type: integer items: + description: Items is a list of downward API volume file items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field properties: fieldRef: + description: 'Required: Selects a field of the pod: + only annotations, labels, name and namespace are + supported.' properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: 'Required: Path is the relative path + name of the file to be created. Must not be absolute + or contain the ''..'' path. Must be utf-8 encoded. + The first item of the relative path must not start + with ''..''' type: string resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource @@ -3666,21 +6759,41 @@ spec: type: array type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents what type of storage medium should back this directory. + The default is "" which means to use the node's default medium. + Must be an empty string (default) or Memory. type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the total amount of local storage required for this EmptyDir volume. + The size limit is also applicable for memory medium. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: ephemeral represents a volume that is handled by + a cluster storage driver. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -3700,18 +6813,36 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string required: - kind @@ -3719,20 +6850,36 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s. type: string required: - kind - name type: object resources: + description: resources represents the minimum resources + the volume should have. properties: limits: additionalProperties: @@ -3741,6 +6888,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -3749,18 +6899,37 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum + amount of compute resources required. type: object type: object selector: + description: selector is a label query over volumes + to consider for binding. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -3772,16 +6941,29 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: volumeAttributesClassName may be used + to set the VolumeAttributesClass used by this + claim. type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. type: string type: object required: @@ -3789,38 +6971,76 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource that is + attached to a kubelet's host machine and then exposed to the + pod. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' items: type: string type: array wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. properties: driver: + description: driver is the name of the driver to use for + this volume. type: string fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. type: string options: additionalProperties: type: string + description: 'options is Optional: this field holds extra + command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is Optional: secretRef is reference to the secret object containing + sensitive information to pass to the plugin scripts. This may be + empty if no secret object is specified. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic @@ -3828,88 +7048,183 @@ spec: - driver type: object flocker: + description: flocker represents a Flocker volume attached to + a kubelet's host machine. This depends on the Flocker control + service being running properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. This + is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://kubernetes. properties: fsType: + description: |- + fsType is filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". format: int32 type: integer pdName: + description: |- + pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk type: string readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk type: boolean required: - pdName type: object gitRepo: + description: |- + gitRepo represents a git repository at a particular revision. + DEPRECATED: GitRepo is deprecated. properties: directory: + description: |- + directory is the target directory name. + Must not contain or start with '..'. If '.' is supplied, the volume directory will be the + git repository. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the specified + revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + description: |- + readOnly here will force the Glusterfs volume to be mounted with read-only permissions. + Defaults to false. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: boolean required: - endpoints - path type: object hostPath: + description: |- + hostPath represents a pre-existing file or directory on the host + machine that is directly exposed to the container. properties: path: + description: |- + path of the directory on the host. + If the path is a symlink, it will follow the link to the real path. + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object iscsi: + description: |- + iscsi represents an ISCSI Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://examples.k8s.io/volumes/iscsi/README.md properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether support iSCSI + Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support iSCSI + Session CHAP authentication type: boolean fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string initiatorName: + description: initiatorName is the custom iSCSI Initiator + Name. type: string iqn: + description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). items: type: string type: array readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for iSCSI target + and initiator authentication properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). type: string required: - iqn @@ -3917,68 +7232,146 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + description: |- + nfs represents an NFS mount on the host that shares a pod's lifetime + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + description: |- + readOnly here will force the NFS export to be mounted with read-only permissions. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes. properties: claimName: + description: |- + claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims type: string readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: photonPersistentDisk represents a PhotonController + persistent disk attached and mounted on kubelets host machine properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string pdID: + description: pdID is the ID that identifies Photon Controller + persistent disk type: string required: - pdID type: object portworxVolume: + description: portworxVolume represents a portworx volume attached + and mounted on kubelets host machine properties: fsType: + description: |- + fSType represents the filesystem type to mount + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources secrets, + configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer sources: + description: sources is the list of volume projections items: + description: Projection that may be projected along with + other supported volume types properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + + Alpha, gated by the ClusterTrustBundleProjection feature gate. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -3990,31 +7383,63 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. type: boolean path: + description: Relative path from the volume root + to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about the configMap + data to project properties: items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -4022,42 +7447,82 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about the downwardAPI + data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a field + of the pod: only annotations, labels, + name and namespace are supported.' properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: 'Required: Path is the relative + path name of the file to be created. Must + not be absolute or contain the ''..'' + path. Must be utf-8 encoded. The first + item of the relative path must not start + with ''..''' type: string resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource @@ -4069,16 +7534,33 @@ spec: type: array type: object secret: + description: secret information about the secret data + to project properties: items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -4086,19 +7568,38 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional field specify whether the + Secret or its key must be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information about + the serviceAccountToken data to project properties: audience: + description: |- + audience is the intended audience of the token. A recipient of a token + must identify itself with an identifier specified in the audience of the + token, and otherwise should reject the token. type: string expirationSeconds: + description: |- + expirationSeconds is the requested duration of validity of the service + account token. As the token approaches expiration, the kubelet volume + plugin will proactively rotate the service account token. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -4107,76 +7608,167 @@ spec: type: array type: object quobyte: + description: quobyte represents a Quobyte mount on the host + that shares a pod's lifetime properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + description: |- + registry represents a single or multiple Quobyte Registry services + specified as a string as host:port pair (multiple entries are separated with commas) + which acts as the central registry for volumes type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references an already + created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: + description: |- + keyring is the path to key ring for RBDUser. + Default is /etc/ceph/keyring. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array pool: + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: boolean secretRef: + description: |- + secretRef is name of the authentication secret for RBDUser. If provided + overrides keyring. + Default is nil. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: scaleIO represents a ScaleIO persistent volume + attached and mounted on Kubernetes nodes. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the ScaleIO + API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false type: boolean storageMode: + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage Pool associated + with the protection domain. type: string system: + description: system is the name of the storage system as + configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -4184,19 +7776,39 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer items: + description: |- + items If unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -4204,36 +7816,75 @@ spec: type: object type: array optional: + description: optional field specify whether the Secret or + its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: storageOS represents a StorageOS volume attached + and mounted on Kubernetes nodes. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + description: |- + volumeNamespace specifies the scope of the volume within StorageOS. If no + namespace is specified then the Pod's namespace will be used. type: string type: object vsphereVolume: + description: vsphereVolume represents a vSphere volume attached + and mounted on kubelets host machine properties: fsType: + description: |- + fsType is filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string storagePolicyID: + description: storagePolicyID is the storage Policy Based + Management (SPBM) profile ID associated with the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage Policy Based + Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies vSphere + volume vmdk type: string required: - volumePath @@ -4245,4338 +7896,50 @@ spec: x-kubernetes-list-type: atomic type: object status: + description: OpenTelemetryCollectorStatus defines the observed state of + OpenTelemetryCollector. properties: image: + description: Image indicates the container image to use for the OpenTelemetry + Collector. type: string messages: + description: |- + Messages about actions performed by the operator on this resource. + Deprecated: use Kubernetes events instead. items: type: string type: array x-kubernetes-list-type: atomic replicas: + description: |- + Replicas is currently not being set and might be removed in the next version. + Deprecated: use "OpenTelemetryCollector.Status.Scale.Replicas" instead. format: int32 type: integer scale: + description: Scale is the OpenTelemetryCollector's scale subresource + status. properties: replicas: + description: |- + The total number non-terminated pods targeted by this + OpenTelemetryCollector's deployment or statefulSet. format: int32 type: integer selector: + description: |- + The selector used to match the OpenTelemetryCollector's + deployment or statefulSet pods. type: string statusReplicas: + description: |- + StatusReplicas is the number of pods targeted by this OpenTelemetryCollector's with a Ready Condition / + Total number of non-terminated pods targeted by this OpenTelemetryCollector's (their labels matc type: string type: object version: - type: string - type: object - type: object - served: true - storage: false - subresources: - scale: - labelSelectorPath: .status.scale.selector - specReplicasPath: .spec.replicas - statusReplicasPath: .status.scale.replicas - status: {} - - additionalPrinterColumns: - - description: Deployment Mode - jsonPath: .spec.mode - name: Mode - type: string - - description: OpenTelemetry Version - jsonPath: .status.version - name: Version - type: string - - jsonPath: .status.scale.statusReplicas - name: Ready - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - - jsonPath: .status.image - name: Image - type: string - - description: Management State - jsonPath: .spec.managementState - name: Management - type: string - name: v1beta1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - properties: - additionalContainers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - args: - additionalProperties: - type: string - type: object - autoscaler: - properties: - behavior: - properties: - scaleDown: - properties: - policies: - items: - properties: - periodSeconds: - format: int32 - type: integer - type: - type: string - value: - format: int32 - type: integer - required: - - periodSeconds - - type - - value - type: object - type: array - x-kubernetes-list-type: atomic - selectPolicy: - type: string - stabilizationWindowSeconds: - format: int32 - type: integer - type: object - scaleUp: - properties: - policies: - items: - properties: - periodSeconds: - format: int32 - type: integer - type: - type: string - value: - format: int32 - type: integer - required: - - periodSeconds - - type - - value - type: object - type: array - x-kubernetes-list-type: atomic - selectPolicy: - type: string - stabilizationWindowSeconds: - format: int32 - type: integer - type: object - type: object - maxReplicas: - format: int32 - type: integer - metrics: - items: - properties: - pods: - properties: - metric: - properties: - name: - type: string - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - required: - - name - type: object - target: - properties: - averageUtilization: - format: int32 - type: integer - averageValue: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: - type: string - value: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - required: - - type - type: object - required: - - metric - - target - type: object - type: - type: string - required: - - type - type: object - type: array - minReplicas: - format: int32 - type: integer - targetCPUUtilization: - format: int32 - type: integer - targetMemoryUtilization: - format: int32 - type: integer - type: object - config: - properties: - connectors: - type: object - x-kubernetes-preserve-unknown-fields: true - exporters: - type: object - x-kubernetes-preserve-unknown-fields: true - extensions: - type: object - x-kubernetes-preserve-unknown-fields: true - processors: - type: object - x-kubernetes-preserve-unknown-fields: true - receivers: - type: object - x-kubernetes-preserve-unknown-fields: true - service: - properties: - extensions: - items: - type: string - type: array - pipelines: - type: object - x-kubernetes-preserve-unknown-fields: true - telemetry: - type: object - x-kubernetes-preserve-unknown-fields: true - required: - - pipelines - type: object - required: - - exporters - - receivers - - service - type: object - x-kubernetes-preserve-unknown-fields: true - configmaps: - items: - properties: - mountpath: - type: string - name: - type: string - required: - - mountpath - - name - type: object - type: array - daemonSetUpdateStrategy: - properties: - rollingUpdate: - properties: - maxSurge: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - maxUnavailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - type: - type: string - type: object - deploymentUpdateStrategy: - properties: - rollingUpdate: - properties: - maxSurge: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - maxUnavailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - type: - type: string - type: object - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - hostNetwork: - type: boolean - image: - type: string - imagePullPolicy: - type: string - ingress: - properties: - annotations: - additionalProperties: - type: string - type: object - hostname: - type: string - ingressClassName: - type: string - route: - properties: - termination: - enum: - - insecure - - edge - - passthrough - - reencrypt - type: string - type: object - ruleType: - enum: - - path - - subdomain - type: string - tls: - items: - properties: - hosts: - items: - type: string - type: array - x-kubernetes-list-type: atomic - secretName: - type: string - type: object - type: array - type: - enum: - - ingress - - route - type: string - type: object - initContainers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - failureThreshold: - format: int32 - type: integer - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - managementState: - default: managed - enum: - - managed - - unmanaged - type: string - mode: - enum: - - daemonset - - deployment - - sidecar - - statefulset - type: string - nodeSelector: - additionalProperties: - type: string - type: object - observability: - properties: - metrics: - properties: - disablePrometheusAnnotations: - type: boolean - enableMetrics: - type: boolean - type: object - type: object - podAnnotations: - additionalProperties: - type: string - type: object - podDisruptionBudget: - properties: - maxUnavailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - minAvailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - podSecurityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - ports: - items: - properties: - appProtocol: - type: string - name: - type: string - nodePort: - format: int32 - type: integer - port: - format: int32 - type: integer - protocol: - default: TCP - type: string - targetPort: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: array - x-kubernetes-list-type: atomic - priorityClassName: - type: string - replicas: - format: int32 - type: integer - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccount: - type: string - shareProcessNamespace: - type: boolean - targetAllocator: - properties: - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - allocationStrategy: - default: consistent-hashing - enum: - - least-weighted - - consistent-hashing - type: string - enabled: - type: boolean - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - filterStrategy: - default: relabel-config - enum: - - "" - - relabel-config - type: string - image: - type: string - nodeSelector: - additionalProperties: - type: string - type: object - observability: - properties: - metrics: - properties: - disablePrometheusAnnotations: - type: boolean - enableMetrics: - type: boolean - type: object - type: object - podDisruptionBudget: - properties: - maxUnavailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - minAvailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - podSecurityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - prometheusCR: - properties: - enabled: - type: boolean - podMonitorSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - scrapeInterval: - default: 30s - format: duration - type: string - serviceMonitorSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - type: object - replicas: - format: int32 - type: integer - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccount: - type: string - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - upgradeStrategy: - enum: - - automatic - - none - type: string - volumeClaimTemplates: - items: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - status: - properties: - accessModes: - items: - type: string - type: array - allocatedResourceStatuses: - additionalProperties: - type: string - type: object - x-kubernetes-map-type: granular - allocatedResources: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - capacity: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - conditions: - items: - properties: - lastProbeTime: - format: date-time - type: string - lastTransitionTime: - format: date-time - type: string - message: - type: string - reason: - type: string - status: - type: string - type: - type: string - required: - - status - - type - type: object - type: array - currentVolumeAttributesClassName: - type: string - modifyVolumeStatus: - properties: - status: - type: string - targetVolumeAttributesClassName: - type: string - required: - - status - type: object - phase: - type: string - type: object - type: object - type: array - x-kubernetes-list-type: atomic - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-type: atomic - volumes: - items: - properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - type: string - kind: - type: string - readOnly: - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: - type: string - type: array - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - readOnly: - type: boolean - volumeAttributes: - additionalProperties: - type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: - properties: - volumeClaimTemplate: - properties: - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - spec - type: object - type: object - fc: - properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean - targetWWNs: - items: - type: string - type: array - wwids: - items: - type: string - type: array - type: object - flexVolume: - properties: - driver: - type: string - fsType: - type: string - options: - additionalProperties: - type: string - type: object - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string - type: object - gcePersistentDisk: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - gitRepo: - properties: - directory: - type: string - repository: - type: string - revision: - type: string - required: - - repository - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - type: string - lun: - format: int32 - type: integer - portals: - items: - type: string - type: array - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal - type: object - name: - type: string - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: - properties: - fsType: - type: string - pdID: - type: string - required: - - pdID - type: object - portworxVolume: - properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: - properties: - clusterTrustBundle: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - name: - type: string - optional: - type: boolean - path: - type: string - signerName: - type: string - required: - - path - type: object - configMap: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - downwardAPI: - properties: - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - secret: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - serviceAccountToken: - properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path - type: object - type: object - type: array - type: object - quobyte: - properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: - type: string - required: - - registry - - volume - type: object - rbd: - properties: - fsType: - type: string - image: - type: string - keyring: - type: string - monitors: - items: - type: string - type: array - pool: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - image - - monitors - type: object - scaleIO: - properties: - fsType: - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - sslEnabled: - type: boolean - storageMode: - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - secret: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - x-kubernetes-list-type: atomic - required: - - config - type: object - status: - properties: - image: - type: string - scale: - properties: - replicas: - format: int32 - type: integer - selector: - type: string - statusReplicas: - type: string - type: object - version: + description: Version of the managed OpenTelemetry Collector (operand) type: string type: object type: object diff --git a/config/crd/bases/opentelemetry.io_instrumentations.yaml b/config/crd/bases/opentelemetry.io_instrumentations.yaml index 1d9afa606b..86a7ed0c47 100644 --- a/config/crd/bases/opentelemetry.io_instrumentations.yaml +++ b/config/crd/bases/opentelemetry.io_instrumentations.yaml @@ -33,71 +33,131 @@ spec: name: v1alpha1 schema: openAPIV3Schema: + description: Instrumentation is the spec for OpenTelemetry instrumentation. properties: apiVersion: + description: |- + 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. type: string kind: + description: |- + 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. type: string metadata: type: object spec: + description: InstrumentationSpec defines the desired state of OpenTelemetry + SDK and instrumentation. properties: apacheHttpd: + description: ApacheHttpd defines configuration for Apache HTTPD auto-instrumentation. properties: attrs: + description: |- + Attrs defines Apache HTTPD agent specific attributes. The precedence is: + `agent default attributes` > `instrument spec attributes` . + Attributes are documented at https://github. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -109,61 +169,108 @@ spec: type: object type: array configPath: + description: |- + Location of Apache HTTPD server configuration. + Needed only if different from default "/usr/local/apache2/conf" type: string env: + description: Env defines Apache HTTPD specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -175,13 +282,27 @@ spec: type: object type: array image: + description: Image is a container image with Apache SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -197,6 +318,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -205,73 +329,125 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object version: + description: Apache HTTPD server version. One of 2.4 or 2.2. Default + is 2.4 type: string volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object dotnet: + description: DotNet defines configuration for DotNet auto-instrumentation. properties: env: + description: Env defines DotNet specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -283,13 +459,27 @@ spec: type: object type: array image: + description: Image is a container image with DotNet SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -305,6 +495,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -313,69 +506,116 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object env: + description: Env defines common env vars. items: + description: EnvVar represents an environment variable present in + a Container. properties: name: + description: Name of the environment variable. Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. Cannot + be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath is + written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the specified + API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the exposed + resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -387,66 +627,113 @@ spec: type: object type: array exporter: + description: Exporter defines exporter configuration. properties: endpoint: + description: Endpoint is address of the collector with OTLP endpoint. type: string type: object go: + description: Go defines configuration for Go auto-instrumentation. properties: env: + description: Env defines Go specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -458,13 +745,27 @@ spec: type: object type: array image: + description: Image is a container image with Go SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -480,6 +781,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -488,71 +792,121 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object java: + description: Java defines configuration for java auto-instrumentation. properties: env: + description: Env defines java specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -564,13 +918,28 @@ spec: type: object type: array image: + description: Image is a container image with javaagent auto-instrumentation + JAR. type: string resources: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -586,6 +955,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -594,71 +966,124 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object nginx: + description: Nginx defines configuration for Nginx auto-instrumentation. properties: attrs: + description: |- + Attrs defines Nginx agent specific attributes. The precedence order is: + `agent default attributes` > `instrument spec attributes` . + Attributes are documented at https://github. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -670,61 +1095,108 @@ spec: type: object type: array configFile: + description: |- + Location of Nginx configuration file. + Needed only if different from default "/etx/nginx/nginx.conf" type: string env: + description: Env defines Nginx specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -736,13 +1208,27 @@ spec: type: object type: array image: + description: Image is a container image with Nginx SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -758,6 +1244,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -766,71 +1255,121 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object nodejs: + description: NodeJS defines configuration for nodejs auto-instrumentation. properties: env: + description: Env defines nodejs specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -842,13 +1381,27 @@ spec: type: object type: array image: + description: Image is a container image with NodeJS SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -864,6 +1417,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -872,17 +1428,27 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object propagators: + description: |- + Propagators defines inter-process context propagation configuration. + Values in this list will be set in the OTEL_PROPAGATORS env var. + Enum=tracecontext;baggage;b3;b3multi;jaeger;xray;ottrace;none items: + description: Propagator represents the propagation type. enum: - tracecontext - baggage @@ -895,61 +1461,106 @@ spec: type: string type: array python: + description: Python defines configuration for python auto-instrumentation. properties: env: + description: Env defines python specific env vars. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -961,13 +1572,27 @@ spec: type: object type: array image: + description: Image is a container image with Python SDK and auto-instrumentation. type: string resourceRequirements: + description: Resources describes the compute resource requirements. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -983,6 +1608,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -991,29 +1619,50 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object volumeLimitSize: anyOf: - type: integer - type: string + description: |- + VolumeSizeLimit defines size limit for volume used for auto-instrumentation. + The default size is 200Mi. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object resource: + description: Resource defines the configuration for the resource attributes, + as defined by the OpenTelemetry specification. properties: addK8sUIDAttributes: + description: AddK8sUIDAttributes defines whether K8s UID attributes + should be collected (e.g. k8s.deployment.uid). type: boolean resourceAttributes: additionalProperties: type: string + description: |- + Attributes defines attributes that are added to the resource. + For example environment: dev type: object type: object sampler: + description: Sampler defines sampling configuration. properties: argument: + description: |- + Argument defines sampler argument. + The value depends on the sampler type. + For instance for parentbased_traceidratio sampler type it is a number in range [0..1] e.g. 0.25. type: string type: + description: |- + Type defines sampler type. + The value will be set in the OTEL_TRACES_SAMPLER env var. + The value can be for instance parentbased_always_on, parentbased_always_off, parentbased_traceidratio... enum: - always_on - always_off @@ -1027,6 +1676,7 @@ spec: type: object type: object status: + description: InstrumentationStatus defines status of the instrumentation. type: object type: object served: true diff --git a/config/crd/bases/opentelemetry.io_opampbridges.yaml b/config/crd/bases/opentelemetry.io_opampbridges.yaml index 33cd7ed639..d9a229bc7f 100644 --- a/config/crd/bases/opentelemetry.io_opampbridges.yaml +++ b/config/crd/bases/opentelemetry.io_opampbridges.yaml @@ -28,32 +28,69 @@ spec: name: v1alpha1 schema: openAPIV3Schema: + description: OpAMPBridge is the Schema for the opampbridges API. properties: apiVersion: + description: |- + 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. type: string kind: + description: |- + 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. type: string metadata: type: object spec: + description: OpAMPBridgeSpec defines the desired state of OpAMPBridge. properties: affinity: + description: If specified, indicates the pod's scheduling constraints properties: nodeAffinity: + description: Describes node affinity scheduling rules for the + pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated with the + corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -63,13 +100,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -81,6 +132,8 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the corresponding + nodeSelectorTerm, in the range 1-100. format: int32 type: integer required: @@ -89,18 +142,41 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -110,13 +186,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -134,22 +224,50 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. co-locate + this pod in the same node, zone, etc. as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -161,29 +279,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -195,19 +340,32 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -216,18 +374,43 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -239,29 +422,55 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -273,14 +482,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods matching\nthe + labelSelector in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey @@ -288,22 +507,51 @@ spec: type: array type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules (e.g. + avoid putting this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -315,29 +563,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -349,19 +624,32 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -370,18 +658,43 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -393,29 +706,55 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -427,14 +766,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods matching\nthe + labelSelector in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey @@ -445,69 +794,115 @@ spec: capabilities: additionalProperties: type: boolean + description: Capabilities supported by the OpAMP Bridge type: object componentsAllowed: additionalProperties: items: type: string type: array + description: ComponentsAllowed is a list of allowed OpenTelemetry + components for each pipeline type (receiver, processor, etc.) type: object endpoint: + description: OpAMP backend Server endpoint type: string env: + description: ENV vars to set on the OpAMPBridge Pods. items: + description: EnvVar represents an environment variable present in + a Container. properties: name: + description: Name of the environment variable. Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. Cannot + be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath is + written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the specified + API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the exposed + resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -519,23 +914,40 @@ spec: type: object type: array envFrom: + description: List of sources to populate environment variables on + the OpAMPBridge Pods. items: + description: EnvFromSource represents the source of a set of ConfigMaps properties: configMapRef: + description: The ConfigMap to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: An optional identifier to prepend to each key in + the ConfigMap. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret must be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -544,67 +956,135 @@ spec: headers: additionalProperties: type: string + description: |- + Headers is an optional map of headers to use when connecting to the OpAMP Server, + typically used to set access tokens or other authorization headers. type: object hostNetwork: + description: HostNetwork indicates if the pod should run in the host + networking namespace. type: boolean image: + description: Image indicates the container image to use for the OpAMPBridge. type: string imagePullPolicy: + description: ImagePullPolicy indicates the pull policy to be used + for retrieving the container image (Always, Never, IfNotPresent) type: string nodeSelector: additionalProperties: type: string + description: NodeSelector to schedule OpAMPBridge pods. type: object podAnnotations: additionalProperties: type: string + description: |- + PodAnnotations is the set of annotations that will be attached to + OpAMPBridge pods. type: object podSecurityContext: + description: PodSecurityContext will be set as the pod security context. properties: fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + + 1. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. properties: level: + description: Level is SELinux level label that applies to + the container. type: string role: + description: Role is a SELinux role label that applies to + the container. type: string type: + description: Type is a SELinux type label that applies to + the container. type: string user: + description: User is a SELinux user label that applies to + the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in addition + to the container's primary GID, the fsGroup (if specified), and group memberships + defined in the container image for th items: format: int64 type: integer type: array sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -612,37 +1092,72 @@ spec: type: object type: array windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object ports: + description: Ports allows a set of ports to be exposed by the underlying + v1.Service. items: + description: ServicePort contains information on service's port. properties: appProtocol: + description: |- + The application protocol for this port. + This is used as a hint for implementations to offer richer behavior for protocols that they understand. + This field follows standard Kubernetes label syntax. type: string name: + description: |- + The name of this port within the service. This must be a DNS_LABEL. + All ports within a ServiceSpec must have unique names. type: string nodePort: + description: |- + The port on each node on which this service is exposed when type is + NodePort or LoadBalancer. Usually assigned by the system. format: int32 type: integer port: + description: The port that will be exposed by this service. format: int32 type: integer protocol: default: TCP + description: |- + The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". + Default is TCP. type: string targetPort: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the pods targeted by the service. + Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port @@ -650,17 +1165,35 @@ spec: type: array x-kubernetes-list-type: atomic priorityClassName: + description: |- + If specified, indicates the pod's priority. + If not specified, the pod priority will be default or zero if there is no + default. type: string replicas: + description: Replicas is the number of pod instances for the OpAMPBridge. format: int32 maximum: 1 type: integer resources: + description: Resources to set on the OpAMPBridge pods. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -676,6 +1209,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -684,100 +1220,225 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object securityContext: + description: SecurityContext will be set as the container security + context. properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. type: boolean capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities type type: string type: array drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities type type: string type: array type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default is DefaultProcMount which uses the container runtime defaults for + readonly paths and masked paths. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. properties: level: + description: Level is SELinux level label that applies to + the container. type: string role: + description: Role is a SELinux role label that applies to + the container. type: string type: + description: Type is a SELinux type label that applies to + the container. type: string user: + description: User is a SELinux user label that applies to + the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object serviceAccount: + description: |- + ServiceAccount indicates the name of an existing service account to use with this instance. When set, + the operator will not automatically create a ServiceAccount for the OpAMPBridge. type: string tolerations: + description: Toleration to schedule OpAMPBridge pods. items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array topologySpreadConstraints: + description: |- + TopologySpreadConstraints embedded kubernetes pod configuration option, + controls how pods are spread across your cluster among failure-domains + such as regions, zones, nodes, and other user-defined top items: + description: TopologySpreadConstraint specifies how to spread matching + pods among the given topology. properties: labelSelector: + description: |- + LabelSelector is used to find matching pods. + Pods that match this label selector are counted to determine the number of pods + in their corresponding topology domain. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -789,27 +1450,48 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select the pods over which + spreading will be calculated. items: type: string type: array x-kubernetes-list-type: atomic maxSkew: + description: MaxSkew describes the degree to which pods may + be unevenly distributed. format: int32 type: integer minDomains: + description: MinDomains indicates a minimum number of eligible + domains. format: int32 type: integer nodeAffinityPolicy: + description: |- + NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + when calculating pod topology spread skew. type: string nodeTaintsPolicy: + description: |- + NodeTaintsPolicy indicates how we will treat node taints when calculating + pod topology spread skew. type: string topologyKey: + description: |- + TopologyKey is the key of node labels. Nodes that have a label with this key + and identical values are considered to be in the same topology. type: string whenUnsatisfiable: + description: |- + WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + the spread constraint. + - DoNotSchedule (default) tells the scheduler not to schedule it. type: string required: - maxSkew @@ -818,24 +1500,47 @@ spec: type: object type: array upgradeStrategy: + description: UpgradeStrategy represents how the operator will handle + upgrades to the CR when a newer version of the operator is deployed enum: - automatic - none type: string volumeMounts: + description: VolumeMounts represents the mount points to use in the + underlying OpAMPBridge deployment(s) items: + description: VolumeMount describes a mounting of a Volume within + a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: Expanded path within the volume from which the + container's volume should be mounted. type: string required: - mountPath @@ -844,106 +1549,219 @@ spec: type: array x-kubernetes-list-type: atomic volumes: + description: Volumes represents which volumes to use in the underlying + OpAMPBridge deployment(s). items: + description: Volume represents a named volume in a pod that may + be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://kubernetes. properties: fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: azureDisk represents an Azure Data Disk mount on + the host and bind mount to the pod. properties: cachingMode: + description: 'cachingMode is the Host Caching mode: None, + Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data disk in the + blob storage type: string diskURI: + description: diskURI is the URI of data disk in the blob + storage type: string fsType: + description: |- + fsType is Filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single blob + disk per storage account Managed: azure managed data + disk (only in managed availability set).' type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: azureFile represents an Azure File Service mount + on the host and bind mount to the pod. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret that contains + Azure Storage Account Name and Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: cephFS represents a Ceph FS mount on the host that + shares a pod's lifetime properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array path: + description: 'path is Optional: Used as the mounted root, + rather than the full Ceph tree, default is /' type: string readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: boolean secretFile: + description: |- + secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string secretRef: + description: |- + secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that should populate + this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -951,66 +1769,127 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional specify whether the ConfigMap or its + keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents ephemeral + storage that is handled by certain external CSI drivers (Beta + feature). properties: driver: + description: |- + driver is the name of the CSI driver that handles this volume. + Consult with your admin for the correct name as registered in the cluster. type: string fsType: + description: |- + fsType to mount. Ex. "ext4", "xfs", "ntfs". + If not provided, the empty value is passed to the associated CSI driver + which will determine the default filesystem to apply. type: string nodePublishSecretRef: + description: |- + nodePublishSecretRef is a reference to the secret object containing + sensitive information to pass to the CSI driver to complete the CSI + NodePublishVolume and NodeUnpublishVolume calls. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about the pod + that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. format: int32 type: integer items: + description: Items is a list of downward API volume file items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field properties: fieldRef: + description: 'Required: Selects a field of the pod: + only annotations, labels, name and namespace are + supported.' properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: 'Required: Path is the relative path + name of the file to be created. Must not be absolute + or contain the ''..'' path. Must be utf-8 encoded. + The first item of the relative path must not start + with ''..''' type: string resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource @@ -1022,21 +1901,41 @@ spec: type: array type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents what type of storage medium should back this directory. + The default is "" which means to use the node's default medium. + Must be an empty string (default) or Memory. type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the total amount of local storage required for this EmptyDir volume. + The size limit is also applicable for memory medium. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: ephemeral represents a volume that is handled by + a cluster storage driver. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -1056,18 +1955,36 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string required: - kind @@ -1075,20 +1992,36 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s. type: string required: - kind - name type: object resources: + description: resources represents the minimum resources + the volume should have. properties: limits: additionalProperties: @@ -1097,6 +2030,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -1105,18 +2041,37 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum + amount of compute resources required. type: object type: object selector: + description: selector is a label query over volumes + to consider for binding. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1128,16 +2083,29 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: volumeAttributesClassName may be used + to set the VolumeAttributesClass used by this + claim. type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. type: string type: object required: @@ -1145,38 +2113,76 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource that is + attached to a kubelet's host machine and then exposed to the + pod. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' items: type: string type: array wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. properties: driver: + description: driver is the name of the driver to use for + this volume. type: string fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. type: string options: additionalProperties: type: string + description: 'options is Optional: this field holds extra + command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is Optional: secretRef is reference to the secret object containing + sensitive information to pass to the plugin scripts. This may be + empty if no secret object is specified. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic @@ -1184,88 +2190,183 @@ spec: - driver type: object flocker: + description: flocker represents a Flocker volume attached to + a kubelet's host machine. This depends on the Flocker control + service being running properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. This + is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://kubernetes. properties: fsType: + description: |- + fsType is filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". format: int32 type: integer pdName: + description: |- + pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk type: string readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk type: boolean required: - pdName type: object gitRepo: + description: |- + gitRepo represents a git repository at a particular revision. + DEPRECATED: GitRepo is deprecated. properties: directory: + description: |- + directory is the target directory name. + Must not contain or start with '..'. If '.' is supplied, the volume directory will be the + git repository. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the specified + revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + description: |- + readOnly here will force the Glusterfs volume to be mounted with read-only permissions. + Defaults to false. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: boolean required: - endpoints - path type: object hostPath: + description: |- + hostPath represents a pre-existing file or directory on the host + machine that is directly exposed to the container. properties: path: + description: |- + path of the directory on the host. + If the path is a symlink, it will follow the link to the real path. + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object iscsi: + description: |- + iscsi represents an ISCSI Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://examples.k8s.io/volumes/iscsi/README.md properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether support iSCSI + Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support iSCSI + Session CHAP authentication type: boolean fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string initiatorName: + description: initiatorName is the custom iSCSI Initiator + Name. type: string iqn: + description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). items: type: string type: array readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for iSCSI target + and initiator authentication properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). type: string required: - iqn @@ -1273,68 +2374,146 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + description: |- + nfs represents an NFS mount on the host that shares a pod's lifetime + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + description: |- + readOnly here will force the NFS export to be mounted with read-only permissions. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes. properties: claimName: + description: |- + claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims type: string readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: photonPersistentDisk represents a PhotonController + persistent disk attached and mounted on kubelets host machine properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string pdID: + description: pdID is the ID that identifies Photon Controller + persistent disk type: string required: - pdID type: object portworxVolume: + description: portworxVolume represents a portworx volume attached + and mounted on kubelets host machine properties: fsType: + description: |- + fSType represents the filesystem type to mount + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources secrets, + configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer sources: + description: sources is the list of volume projections items: + description: Projection that may be projected along with + other supported volume types properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + + Alpha, gated by the ClusterTrustBundleProjection feature gate. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1346,31 +2525,63 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. type: boolean path: + description: Relative path from the volume root + to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about the configMap + data to project properties: items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -1378,42 +2589,82 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about the downwardAPI + data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a field + of the pod: only annotations, labels, + name and namespace are supported.' properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: 'Required: Path is the relative + path name of the file to be created. Must + not be absolute or contain the ''..'' + path. Must be utf-8 encoded. The first + item of the relative path must not start + with ''..''' type: string resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource @@ -1425,16 +2676,33 @@ spec: type: array type: object secret: + description: secret information about the secret data + to project properties: items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -1442,19 +2710,38 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional field specify whether the + Secret or its key must be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information about + the serviceAccountToken data to project properties: audience: + description: |- + audience is the intended audience of the token. A recipient of a token + must identify itself with an identifier specified in the audience of the + token, and otherwise should reject the token. type: string expirationSeconds: + description: |- + expirationSeconds is the requested duration of validity of the service + account token. As the token approaches expiration, the kubelet volume + plugin will proactively rotate the service account token. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -1463,76 +2750,167 @@ spec: type: array type: object quobyte: + description: quobyte represents a Quobyte mount on the host + that shares a pod's lifetime properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + description: |- + registry represents a single or multiple Quobyte Registry services + specified as a string as host:port pair (multiple entries are separated with commas) + which acts as the central registry for volumes type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references an already + created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: + description: |- + keyring is the path to key ring for RBDUser. + Default is /etc/ceph/keyring. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array pool: + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: boolean secretRef: + description: |- + secretRef is name of the authentication secret for RBDUser. If provided + overrides keyring. + Default is nil. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: scaleIO represents a ScaleIO persistent volume + attached and mounted on Kubernetes nodes. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the ScaleIO + API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false type: boolean storageMode: + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage Pool associated + with the protection domain. type: string system: + description: system is the name of the storage system as + configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -1540,19 +2918,39 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer items: + description: |- + items If unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -1560,36 +2958,75 @@ spec: type: object type: array optional: + description: optional field specify whether the Secret or + its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: storageOS represents a StorageOS volume attached + and mounted on Kubernetes nodes. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + description: |- + volumeNamespace specifies the scope of the volume within StorageOS. If no + namespace is specified then the Pod's namespace will be used. type: string type: object vsphereVolume: + description: vsphereVolume represents a vSphere volume attached + and mounted on kubelets host machine properties: fsType: + description: |- + fsType is filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string storagePolicyID: + description: storagePolicyID is the storage Policy Based + Management (SPBM) profile ID associated with the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage Policy Based + Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies vSphere + volume vmdk type: string required: - volumePath @@ -1604,8 +3041,10 @@ spec: - endpoint type: object status: + description: OpAMPBridgeStatus defines the observed state of OpAMPBridge. properties: version: + description: Version of the managed OpAMP Bridge (operand) type: string type: object type: object diff --git a/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml b/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml index a61454cd86..4c16042603 100644 --- a/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml +++ b/config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml @@ -39,86 +39,153 @@ spec: jsonPath: .spec.managementState name: Management type: string - deprecated: true - deprecationWarning: OpenTelemetryCollector v1alpha1 is deprecated. Migrate to - v1beta1. name: v1alpha1 schema: openAPIV3Schema: + description: OpenTelemetryCollector is the Schema for the opentelemetrycollectors + API. properties: apiVersion: + description: |- + 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. type: string kind: + description: |- + 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. type: string metadata: type: object spec: + description: OpenTelemetryCollectorSpec defines the desired state of OpenTelemetryCollector. properties: additionalContainers: + description: AdditionalContainers allows injecting additional containers + into the Collector's pod definition. items: + description: A single application container that you want to run + within a pod. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. items: type: string type: array command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. items: type: string type: array env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be + a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -130,53 +197,104 @@ spec: type: object type: array envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. items: + description: EnvFromSource represents the source of a set + of ConfigMaps properties: configMapRef: + description: The ConfigMap to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap must be + defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: An optional identifier to prepend to each + key in the ConfigMap. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret must be defined type: boolean type: object x-kubernetes-map-type: atomic type: object type: array image: + description: |- + Container image name. + More info: https://kubernetes. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes. type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -184,57 +302,98 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the + container should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to + sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -242,33 +401,54 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the + container should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to + sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port @@ -276,37 +456,67 @@ spec: type: object type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -314,62 +524,119 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0. items: + description: ContainerPort represents a network port in a + single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -380,37 +647,67 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -418,51 +715,91 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource resize + policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -471,11 +808,27 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -491,6 +844,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -499,103 +855,216 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. type: boolean capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default is DefaultProcMount which uses the container runtime defaults for + readonly paths and masked paths. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a + non-root user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -603,61 +1072,117 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices to be + used by the container. items: + description: volumeDevice describes a mapping of a raw block + device within a container. properties: devicePath: + description: devicePath is the path inside of the container + that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -665,19 +1190,41 @@ spec: type: object type: array volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: Expanded path within the volume from which + the container's volume should be mounted. type: string required: - mountPath @@ -685,28 +1232,59 @@ spec: type: object type: array workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array affinity: + description: If specified, indicates the pod's scheduling constraints properties: nodeAffinity: + description: Describes node affinity scheduling rules for the + pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated with the + corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -716,13 +1294,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -734,6 +1326,8 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the corresponding + nodeSelectorTerm, in the range 1-100. format: int32 type: integer required: @@ -742,18 +1336,41 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -763,13 +1380,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -787,22 +1418,50 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. co-locate + this pod in the same node, zone, etc. as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -814,29 +1473,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -848,19 +1534,32 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -869,18 +1568,43 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -892,29 +1616,55 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -926,14 +1676,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods matching\nthe + labelSelector in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey @@ -941,22 +1701,51 @@ spec: type: array type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules (e.g. + avoid putting this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -968,29 +1757,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1002,19 +1818,32 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -1023,18 +1852,43 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1046,29 +1900,55 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1080,14 +1960,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods matching\nthe + labelSelector in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey @@ -1098,22 +1988,47 @@ spec: args: additionalProperties: type: string + description: Args is the set of arguments to pass to the OpenTelemetry + Collector binary type: object autoscaler: + description: |- + Autoscaler specifies the pod autoscaling configuration to use + for the OpenTelemetryCollector workload. properties: behavior: + description: |- + HorizontalPodAutoscalerBehavior configures the scaling behavior of the target + in both Up and Down directions (scaleUp and scaleDown fields respectively). properties: scaleDown: + description: |- + scaleDown is scaling policy for scaling Down. + If not set, the default value is to allow to scale down to minReplicas pods, with a + 300 second stabilization window (i.e. properties: policies: + description: |- + policies is a list of potential scaling polices which can be used during scaling. + At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid items: + description: HPAScalingPolicy is a single policy which + must hold true for a specified past interval. properties: periodSeconds: + description: |- + periodSeconds specifies the window of time for which the policy should hold true. + PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). format: int32 type: integer type: + description: type is used to specify the scaling + policy. type: string value: + description: |- + value contains the amount of change which is permitted by the policy. + It must be greater than zero format: int32 type: integer required: @@ -1124,22 +2039,42 @@ spec: type: array x-kubernetes-list-type: atomic selectPolicy: + description: |- + selectPolicy is used to specify which policy should be used. + If not set, the default value Max is used. type: string stabilizationWindowSeconds: + description: |- + stabilizationWindowSeconds is the number of seconds for which past recommendations should be + considered while scaling up or scaling down. format: int32 type: integer type: object scaleUp: + description: scaleUp is scaling policy for scaling Up. properties: policies: + description: |- + policies is a list of potential scaling polices which can be used during scaling. + At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid items: + description: HPAScalingPolicy is a single policy which + must hold true for a specified past interval. properties: periodSeconds: + description: |- + periodSeconds specifies the window of time for which the policy should hold true. + PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). format: int32 type: integer type: + description: type is used to specify the scaling + policy. type: string value: + description: |- + value contains the amount of change which is permitted by the policy. + It must be greater than zero format: int32 type: integer required: @@ -1150,34 +2085,73 @@ spec: type: array x-kubernetes-list-type: atomic selectPolicy: + description: |- + selectPolicy is used to specify which policy should be used. + If not set, the default value Max is used. type: string stabilizationWindowSeconds: + description: |- + stabilizationWindowSeconds is the number of seconds for which past recommendations should be + considered while scaling up or scaling down. format: int32 type: integer type: object type: object maxReplicas: + description: MaxReplicas sets an upper bound to the autoscaling + feature. If MaxReplicas is set autoscaling is enabled. format: int32 type: integer metrics: + description: |- + Metrics is meant to provide a customizable way to configure HPA metrics. + currently the only supported custom metrics is type=Pod. items: + description: |- + MetricSpec defines a subset of metrics to be defined for the HPA's metric array + more metric type can be supported as needed. + See https://pkg.go.dev/k8s.io/api/autoscaling/v2#MetricSpec for reference. properties: pods: + description: |- + PodsMetricSource indicates how to scale on a metric describing each pod in + the current scale target (for example, transactions-processed-per-second). properties: metric: + description: metric identifies the target metric by + name and selector properties: name: + description: name is the name of the given metric type: string selector: + description: |- + selector is the string-encoded form of a standard kubernetes label selector for the given metric + When set, it is passed as an additional parameter to the metrics server for more specific metrics scopi properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -1189,6 +2163,8 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic @@ -1196,22 +2172,35 @@ spec: - name type: object target: + description: target specifies the target value for the + given metric properties: averageUtilization: + description: |- + averageUtilization is the target value of the average of the + resource metric across all relevant pods, represented as a percentage of + the requested value of the resource for the pods. format: int32 type: integer averageValue: anyOf: - type: integer - type: string + description: |- + averageValue is the target value of the average of the + metric across all relevant pods (as a quantity) pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: + description: type represents whether the metric + type is Utilization, Value, or AverageValue type: string value: anyOf: - type: integer - type: string + description: value is the target value of the metric + (as a quantity). pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true required: @@ -1222,29 +2211,46 @@ spec: - target type: object type: + description: MetricSourceType indicates the type of metric. type: string required: - type type: object type: array minReplicas: + description: MinReplicas sets a lower bound to the autoscaling + feature. Set this if your are using autoscaling. It must be + at least 1 format: int32 type: integer targetCPUUtilization: + description: |- + TargetCPUUtilization sets the target average CPU used across all replicas. + If average CPU exceeds this value, the HPA will scale up. Defaults to 90 percent. format: int32 type: integer targetMemoryUtilization: + description: TargetMemoryUtilization sets the target average memory + utilization across all replicas format: int32 type: integer type: object config: + description: Config is the raw JSON to be used as the collector's + configuration. Refer to the OpenTelemetry Collector documentation + for details. type: string configmaps: + description: |- + ConfigMaps is a list of ConfigMaps in the same namespace as the OpenTelemetryCollector + object, which shall be mounted into the Collector Pods. items: properties: mountpath: type: string name: + description: Configmap defines name and path where the configMaps + should be mounted. type: string required: - mountpath @@ -1252,77 +2258,139 @@ spec: type: object type: array deploymentUpdateStrategy: + description: |- + UpdateStrategy represents the strategy the operator will take replacing existing Deployment pods with new pods + https://kubernetes. properties: rollingUpdate: + description: |- + Rolling update config params. Present only if DeploymentStrategyType = + RollingUpdate. + --- + TODO: Update this to follow our convention for oneOf, whatever we decide it + to be. properties: maxSurge: anyOf: - type: integer - type: string + description: |- + The maximum number of pods that can be scheduled above the desired number of + pods. + Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). x-kubernetes-int-or-string: true maxUnavailable: anyOf: - type: integer - type: string + description: |- + The maximum number of pods that can be unavailable during the update. + Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). x-kubernetes-int-or-string: true type: object type: + description: Type of deployment. Can be "Recreate" or "RollingUpdate". + Default is RollingUpdate. type: string type: object env: + description: |- + ENV vars to set on the OpenTelemetry Collector's Pods. These can then in certain cases be + consumed in the config file for the Collector. items: + description: EnvVar represents an environment variable present in + a Container. properties: name: + description: Name of the environment variable. Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. Cannot + be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath is + written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the specified + API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the exposed + resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -1334,47 +2402,88 @@ spec: type: object type: array envFrom: + description: |- + List of sources to populate environment variables on the OpenTelemetry Collector's Pods. + These can then in certain cases be consumed in the config file for the Collector. items: + description: EnvFromSource represents the source of a set of ConfigMaps properties: configMapRef: + description: The ConfigMap to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: An optional identifier to prepend to each key in + the ConfigMap. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret must be defined type: boolean type: object x-kubernetes-map-type: atomic type: object type: array hostNetwork: + description: HostNetwork indicates if the pod should run in the host + networking namespace. type: boolean image: + description: Image indicates the container image to use for the OpenTelemetry + Collector. type: string imagePullPolicy: + description: ImagePullPolicy indicates the pull policy to be used + for retrieving the container image (Always, Never, IfNotPresent) type: string ingress: + description: |- + Ingress is used to specify how OpenTelemetry Collector is exposed. This + functionality is only available if one of the valid modes is set. + Valid modes are: deployment, daemonset and statefulset. properties: annotations: additionalProperties: type: string + description: |- + Annotations to add to ingress. + e.g. 'cert-manager.io/cluster-issuer: "letsencrypt"' type: object hostname: + description: Hostname by which the ingress proxy can be reached. type: string ingressClassName: + description: |- + IngressClassName is the name of an IngressClass cluster resource. Ingress + controller implementations use this field to know whether they should be + serving this Ingress resource. type: string route: + description: |- + Route is an OpenShift specific section that is only considered when + type "route" is used. properties: termination: + description: Termination indicates termination type. By default + "edge" is used. enum: - insecure - edge @@ -1383,93 +2492,167 @@ spec: type: string type: object ruleType: + description: |- + RuleType defines how Ingress exposes collector receivers. + IngressRuleTypePath ("path") exposes each receiver port on a unique path on single domain defined in Hostname. enum: - path - subdomain type: string tls: + description: TLS configuration. items: + description: IngressTLS describes the transport layer security + associated with an ingress. properties: hosts: + description: |- + hosts is a list of hosts included in the TLS certificate. The values in + this list must match the name/s used in the tlsSecret. items: type: string type: array x-kubernetes-list-type: atomic secretName: + description: |- + secretName is the name of the secret used to terminate TLS traffic on + port 443. Field is left optional to allow TLS routing based on SNI + hostname alone. type: string type: object type: array type: + description: |- + Type default value is: "" + Supported types are: ingress, route enum: - ingress - route type: string type: object initContainers: + description: InitContainers allows injecting initContainers to the + Collector's pod definition. items: + description: A single application container that you want to run + within a pod. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. items: type: string type: array command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. items: type: string type: array env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be + a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -1481,53 +2664,104 @@ spec: type: object type: array envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. items: + description: EnvFromSource represents the source of a set + of ConfigMaps properties: configMapRef: + description: The ConfigMap to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap must be + defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: An optional identifier to prepend to each + key in the ConfigMap. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret must be defined type: boolean type: object x-kubernetes-map-type: atomic type: object type: array image: + description: |- + Container image name. + More info: https://kubernetes. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes. type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -1535,57 +2769,98 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the + container should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to + sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -1593,33 +2868,54 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the + container should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to + sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port @@ -1627,37 +2923,67 @@ spec: type: object type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -1665,62 +2991,119 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0. items: + description: ContainerPort represents a network port in a + single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -1731,37 +3114,67 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -1769,51 +3182,91 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource resize + policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -1822,11 +3275,27 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -1842,6 +3311,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -1850,103 +3322,216 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. type: boolean capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default is DefaultProcMount which uses the container runtime defaults for + readonly paths and masked paths. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a + non-root user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies an action involving a GRPC port. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). type: string required: - port type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -1954,61 +3539,117 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies an action involving a TCP + port. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs + to terminate gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices to be + used by the container. items: + description: volumeDevice describes a mapping of a raw block + device within a container. properties: devicePath: + description: devicePath is the path inside of the container + that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -2016,19 +3657,41 @@ spec: type: object type: array volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: Expanded path within the volume from which + the container's volume should be mounted. type: string required: - mountPath @@ -2036,32 +3699,58 @@ spec: type: object type: array workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array lifecycle: + description: Actions that the management system should take in response + to container lifecycle events. Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header to + be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -2069,57 +3758,97 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the container + should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. properties: exec: + description: Exec specifies the action to take. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. items: type: string type: array type: object httpGet: + description: HTTPGet specifies the http request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. items: + description: HTTPHeader describes a custom header to + be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -2127,33 +3856,53 @@ spec: type: object type: array path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents the duration that the container + should sleep before being terminated. properties: seconds: + description: Seconds is the number of seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for the backward compatibility. properties: host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port @@ -2161,39 +3910,72 @@ spec: type: object type: object livenessProbe: + description: Liveness config for the OpenTelemetry Collector except + the probe handler which is auto generated from the health extension + of the collector. properties: failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + Defaults to 0 seconds. Minimum value is 0. + More info: https://kubernetes. format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer terminationGracePeriodSeconds: + description: Optional duration in seconds the pod needs to terminate + gracefully upon probe failure. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object managementState: default: managed + description: |- + ManagementState defines if the CR should be managed by the operator or not. + Default is managed. enum: - managed - unmanaged type: string maxReplicas: + description: |- + MaxReplicas sets an upper bound to the autoscaling feature. If MaxReplicas is set autoscaling is enabled. + Deprecated: use "OpenTelemetryCollector.Spec.Autoscaler.MaxReplicas" instead. format: int32 type: integer minReplicas: + description: |- + MinReplicas sets a lower bound to the autoscaling feature. Set this if you are using autoscaling. It must be at least 1 + Deprecated: use "OpenTelemetryCollector.Spec.Autoscaler.MinReplicas" instead. format: int32 type: integer mode: + description: Mode represents how the collector should be deployed + (deployment, daemonset, statefulset or sidecar) enum: - daemonset - deployment @@ -2203,80 +3985,164 @@ spec: nodeSelector: additionalProperties: type: string + description: |- + NodeSelector to schedule OpenTelemetry Collector pods. + This is only relevant to daemonset, statefulset, and deployment mode type: object observability: + description: ObservabilitySpec defines how telemetry data gets handled. properties: metrics: + description: Metrics defines the metrics configuration for operands. properties: DisablePrometheusAnnotations: + description: |- + DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations + ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path') type: boolean enableMetrics: + description: |- + EnableMetrics specifies if ServiceMonitor or PodMonitor(for sidecar mode) should be created for the service managed by the OpenTelemetry Operator. + The operator.observability. type: boolean type: object type: object podAnnotations: additionalProperties: type: string + description: |- + PodAnnotations is the set of annotations that will be attached to + Collector and Target Allocator pods. type: object podDisruptionBudget: + description: |- + PodDisruptionBudget specifies the pod disruption budget configuration to use + for the OpenTelemetryCollector workload. properties: maxUnavailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at most "maxUnavailable" pods selected by + "selector" are unavailable after the eviction, i.e. even in absence of + the evicted pod. x-kubernetes-int-or-string: true minAvailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at least "minAvailable" pods selected by + "selector" will still be available after the eviction, i.e. even in the + absence of the evicted pod. x-kubernetes-int-or-string: true type: object podSecurityContext: + description: |- + PodSecurityContext configures the pod security context for the + opentelemetry-collector pod, when running as a deployment, daemonset, + or statefulset. properties: fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + + 1. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. properties: level: + description: Level is SELinux level label that applies to + the container. type: string role: + description: Role is a SELinux role label that applies to + the container. type: string type: + description: Type is a SELinux type label that applies to + the container. type: string user: + description: User is a SELinux user label that applies to + the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in addition + to the container's primary GID, the fsGroup (if specified), and group memberships + defined in the container image for th items: format: int64 type: integer type: array sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -2284,37 +4150,73 @@ spec: type: object type: array windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object ports: + description: |- + Ports allows a set of ports to be exposed by the underlying v1.Service. By default, the operator + will attempt to infer the required ports by parsing the .Spec. items: + description: ServicePort contains information on service's port. properties: appProtocol: + description: |- + The application protocol for this port. + This is used as a hint for implementations to offer richer behavior for protocols that they understand. + This field follows standard Kubernetes label syntax. type: string name: + description: |- + The name of this port within the service. This must be a DNS_LABEL. + All ports within a ServiceSpec must have unique names. type: string nodePort: + description: |- + The port on each node on which this service is exposed when type is + NodePort or LoadBalancer. Usually assigned by the system. format: int32 type: integer port: + description: The port that will be exposed by this service. format: int32 type: integer protocol: default: TCP + description: |- + The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". + Default is TCP. type: string targetPort: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the pods targeted by the service. + Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port @@ -2322,16 +4224,35 @@ spec: type: array x-kubernetes-list-type: atomic priorityClassName: + description: |- + If specified, indicates the pod's priority. + If not specified, the pod priority will be default or zero if there is no + default. type: string replicas: + description: Replicas is the number of pod instances for the underlying + OpenTelemetry Collector. Set this if your are not using autoscaling format: int32 type: integer resources: + description: Resources to set on the OpenTelemetry Collector pods. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -2347,6 +4268,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -2355,92 +4279,205 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object securityContext: + description: |- + SecurityContext configures the container security context for + the opentelemetry-collector container. properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. type: boolean capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities type type: string type: array drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities type type: string type: array type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default is DefaultProcMount which uses the container runtime defaults for + readonly paths and masked paths. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. properties: level: + description: Level is SELinux level label that applies to + the container. type: string role: + description: Role is a SELinux role label that applies to + the container. type: string type: + description: Type is a SELinux type label that applies to + the container. type: string user: + description: User is a SELinux user label that applies to + the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object serviceAccount: + description: |- + ServiceAccount indicates the name of an existing service account to use with this instance. When set, + the operator will not automatically create a ServiceAccount for the collector. type: string shareProcessNamespace: + description: ShareProcessNamespace indicates if the pod's containers + should share process namespace. type: boolean targetAllocator: + description: TargetAllocator indicates a value which determines whether + to spawn a target allocation resource or not. properties: affinity: + description: If specified, indicates the pod's scheduling constraints properties: nodeAffinity: + description: Describes node affinity scheduling rules for + the pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated with + the corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -2450,13 +4487,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -2468,6 +4519,8 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the + corresponding nodeSelectorTerm, in the range 1-100. format: int32 type: integer required: @@ -2476,18 +4529,41 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -2497,13 +4573,27 @@ spec: type: object type: array matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + 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. items: type: string type: array @@ -2521,22 +4611,52 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. + co-locate this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2548,29 +4668,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2582,19 +4729,33 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located + (affinity) or not co-located (anti-affinity) + with the pods matching\nthe labelSelector + in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -2603,18 +4764,44 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2626,29 +4813,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2660,14 +4874,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey @@ -2675,22 +4899,52 @@ spec: type: array type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules + (e.g. avoid putting this pod in the same node, zone, etc. + as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2702,29 +4956,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2736,19 +5017,33 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located + (affinity) or not co-located (anti-affinity) + with the pods matching\nthe labelSelector + in the specified namespaces, where co-located + is defined as running on a node\nwhose " type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -2757,18 +5052,44 @@ spec: type: object type: array requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-locate properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2780,29 +5101,56 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -2814,14 +5162,24 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. items: type: string type: array topologyKey: + description: "This pod should be co-located (affinity) + or not co-located (anti-affinity) with the pods + matching\nthe labelSelector in the specified namespaces, + where co-located is defined as running on a node\nwhose " type: string required: - topologyKey @@ -2831,67 +5189,119 @@ spec: type: object allocationStrategy: default: consistent-hashing + description: |- + AllocationStrategy determines which strategy the target allocator should use for allocation. + The current options are least-weighted, consistent-hashing and per-node. The default is + consistent-hashing. enum: - least-weighted - consistent-hashing - per-node type: string enabled: + description: Enabled indicates whether to use a target allocation + mechanism for Prometheus targets or not. type: boolean env: + description: |- + ENV vars to set on the OpenTelemetry TargetAllocator's Pods. These can then in certain cases be + consumed in the config file for the TargetAllocator. items: + description: EnvVar represents an environment variable present + in a Container. properties: name: + description: Name of the environment variable. Must be a + C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. type: string valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic secretKeyRef: + description: Selects a key of a secret in the pod's + namespace properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -2904,82 +5314,168 @@ spec: type: array filterStrategy: default: relabel-config + description: |- + FilterStrategy determines how to filter targets before allocating them among the collectors. + The only current option is relabel-config (drops targets based on prom relabel_config). type: string image: + description: Image indicates the container image to use for the + OpenTelemetry TargetAllocator. type: string nodeSelector: additionalProperties: type: string + description: NodeSelector to schedule OpenTelemetry TargetAllocator + pods. type: object observability: + description: ObservabilitySpec defines how telemetry data gets + handled. properties: metrics: + description: Metrics defines the metrics configuration for + operands. properties: DisablePrometheusAnnotations: + description: |- + DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations + ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path') type: boolean enableMetrics: + description: |- + EnableMetrics specifies if ServiceMonitor or PodMonitor(for sidecar mode) should be created for the service managed by the OpenTelemetry Operator. + The operator.observability. type: boolean type: object type: object podDisruptionBudget: + description: |- + PodDisruptionBudget specifies the pod disruption budget configuration to use + for the target allocator workload. properties: maxUnavailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at most "maxUnavailable" pods selected by + "selector" are unavailable after the eviction, i.e. even in absence of + the evicted pod. x-kubernetes-int-or-string: true minAvailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at least "minAvailable" pods selected by + "selector" will still be available after the eviction, i.e. even in the + absence of the evicted pod. x-kubernetes-int-or-string: true type: object podSecurityContext: + description: |- + PodSecurityContext configures the pod security context for the + targetallocator. properties: fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + + 1. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in addition + to the container's primary GID, the fsGroup (if specified), and group memberships + defined in the container image for th items: format: int64 type: integer type: array sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -2987,43 +5483,93 @@ spec: type: object type: array windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object prometheusCR: + description: PrometheusCR defines the configuration for the retrieval + of PrometheusOperator CRDs ( servicemonitor.monitoring.coreos.com/v1 + and podmonitor.monitoring.coreos.com/v1 ) retrieval. properties: enabled: + description: Enabled indicates whether to use a PrometheusOperator + custom resources as targets or not. type: boolean podMonitorSelector: additionalProperties: type: string + description: |- + PodMonitors to be selected for target discovery. + This is a map of {key,value} pairs. Each {key,value} in the map is going to exactly match a label in a + PodMonitor's meta labels. type: object scrapeInterval: default: 30s + description: |- + Interval between consecutive scrapes. Equivalent to the same setting on the Prometheus CRD. + + + Default: "30s" format: duration type: string serviceMonitorSelector: additionalProperties: type: string + description: |- + ServiceMonitors to be selected for target discovery. + This is a map of {key,value} pairs. Each {key,value} in the map is going to exactly match a label in a + ServiceMonitor's meta labels. type: object type: object replicas: + description: |- + Replicas is the number of pod instances for the underlying TargetAllocator. This should only be set to a value + other than 1 if a strategy that allows for high availability is chosen. format: int32 type: integer resources: + description: Resources to set on the OpenTelemetryTargetAllocator + containers. properties: claims: + description: |- + 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. items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. properties: name: + description: |- + 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. type: string required: - name @@ -3039,6 +5585,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -3047,100 +5596,230 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of compute + resources required. type: object type: object securityContext: + description: |- + SecurityContext configures the container security context for + the targetallocator. properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. type: boolean capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default is DefaultProcMount which uses the container runtime defaults for + readonly paths and masked paths. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. format: int64 type: integer runAsNonRoot: + description: Indicates that the container must run as a non-root + user. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + + Localhost - a profile defined in a file on the node should be used. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: HostProcess determines if a container should + be run as a 'Host Process' container. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. type: string type: object type: object serviceAccount: + description: |- + ServiceAccount indicates the name of an existing service account to use with this instance. When set, + the operator will not automatically create a ServiceAccount for the TargetAllocator. type: string tolerations: + description: |- + Toleration embedded kubernetes pod configuration option, + controls how pods can be scheduled with matching taints items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array topologySpreadConstraints: + description: |- + TopologySpreadConstraints embedded kubernetes pod configuration option, + controls how pods are spread across your cluster among failure-domains + such as regions, zones, nodes, and other user-defined top items: + description: TopologySpreadConstraint specifies how to spread + matching pods among the given topology. properties: labelSelector: + description: |- + LabelSelector is used to find matching pods. + Pods that match this label selector are counted to determine the number of pods + in their corresponding topology domain. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -3152,27 +5831,48 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select the pods over which + spreading will be calculated. items: type: string type: array x-kubernetes-list-type: atomic maxSkew: + description: MaxSkew describes the degree to which pods + may be unevenly distributed. format: int32 type: integer minDomains: + description: MinDomains indicates a minimum number of eligible + domains. format: int32 type: integer nodeAffinityPolicy: + description: |- + NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + when calculating pod topology spread skew. type: string nodeTaintsPolicy: + description: |- + NodeTaintsPolicy indicates how we will treat node taints when calculating + pod topology spread skew. type: string topologyKey: + description: |- + TopologyKey is the key of node labels. Nodes that have a label with this key + and identical values are considered to be in the same topology. type: string whenUnsatisfiable: + description: |- + WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + the spread constraint. + - DoNotSchedule (default) tells the scheduler not to schedule it. type: string required: - maxSkew @@ -3182,37 +5882,84 @@ spec: type: array type: object terminationGracePeriodSeconds: + description: Duration in seconds the pod needs to terminate gracefully + upon probe failure. format: int64 type: integer tolerations: + description: |- + Toleration to schedule OpenTelemetry Collector pods. + This is only relevant to daemonset, statefulset, and deployment mode items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array topologySpreadConstraints: + description: |- + TopologySpreadConstraints embedded kubernetes pod configuration option, + controls how pods are spread across your cluster among failure-domains + such as regions, zones, nodes, and other user-defined top items: + description: TopologySpreadConstraint specifies how to spread matching + pods among the given topology. properties: labelSelector: + description: |- + LabelSelector is used to find matching pods. + Pods that match this label selector are counted to determine the number of pods + in their corresponding topology domain. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -3224,27 +5971,48 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} pairs. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select the pods over which + spreading will be calculated. items: type: string type: array x-kubernetes-list-type: atomic maxSkew: + description: MaxSkew describes the degree to which pods may + be unevenly distributed. format: int32 type: integer minDomains: + description: MinDomains indicates a minimum number of eligible + domains. format: int32 type: integer nodeAffinityPolicy: + description: |- + NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + when calculating pod topology spread skew. type: string nodeTaintsPolicy: + description: |- + NodeTaintsPolicy indicates how we will treat node taints when calculating + pod topology spread skew. type: string topologyKey: + description: |- + TopologyKey is the key of node labels. Nodes that have a label with this key + and identical values are considered to be in the same topology. type: string whenUnsatisfiable: + description: |- + WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + the spread constraint. + - DoNotSchedule (default) tells the scheduler not to schedule it. type: string required: - maxSkew @@ -3253,36 +6021,70 @@ spec: type: object type: array updateStrategy: + description: |- + UpdateStrategy represents the strategy the operator will take replacing existing DaemonSet pods with new pods + https://kubernetes. properties: rollingUpdate: + description: |- + Rolling update config params. Present only if type = "RollingUpdate". + --- + TODO: Update this to follow our convention for oneOf, whatever we decide it + to be. Same as Deployment `strategy. properties: maxSurge: anyOf: - type: integer - type: string + description: |- + The maximum number of nodes with an existing available DaemonSet pod that + can have an updated DaemonSet pod during during an update. x-kubernetes-int-or-string: true maxUnavailable: anyOf: - type: integer - type: string + description: |- + The maximum number of DaemonSet pods that can be unavailable during the + update. x-kubernetes-int-or-string: true type: object type: + description: Type of daemon set update. Can be "RollingUpdate" + or "OnDelete". Default is RollingUpdate. type: string type: object upgradeStrategy: + description: UpgradeStrategy represents how the operator will handle + upgrades to the CR when a newer version of the operator is deployed enum: - automatic - none type: string volumeClaimTemplates: + description: VolumeClaimTemplates will provide stable storage using + PersistentVolumes. Only available when the mode=statefulset. items: + description: PersistentVolumeClaim is a user's request for and claim + to a persistent volume properties: apiVersion: + description: |- + 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. type: string kind: + description: |- + 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. type: string metadata: + description: |- + Standard object's metadata. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata properties: annotations: additionalProperties: @@ -3302,18 +6104,33 @@ spec: type: string type: object spec: + description: |- + spec defines the desired characteristics of a volume requested by a pod author. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being referenced type: string name: + description: Name is the name of resource being referenced type: string required: - kind @@ -3321,20 +6138,34 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being referenced type: string name: + description: Name is the name of resource being referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s. type: string required: - kind - name type: object resources: + description: resources represents the minimum resources + the volume should have. properties: limits: additionalProperties: @@ -3343,6 +6174,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -3351,18 +6185,36 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum amount of + compute resources required. type: object type: object selector: + description: selector is a label query over volumes to consider + for binding. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -3374,27 +6226,52 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} pairs. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: volumeAttributesClassName may be used to set + the VolumeAttributesClass used by this claim. type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference to the + PersistentVolume backing this claim. type: string type: object status: + description: |- + status represents the current information/status of a persistent volume claim. + Read-only. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the actual access modes the volume backing the PVC has. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array allocatedResourceStatuses: additionalProperties: + description: |- + When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource + that it does not recognizes, then it should ignore that update and let other controllers + handle it. type: string + description: |- + allocatedResourceStatuses stores status of resource being resized for the given PVC. + Key names follow standard Kubernetes label syntax. type: object x-kubernetes-map-type: granular allocatedResources: @@ -3404,6 +6281,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + allocatedResources tracks the resources allocated to a PVC including its capacity. + Key names follow standard Kubernetes label syntax. type: object capacity: additionalProperties: @@ -3412,23 +6292,41 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: capacity represents the actual resources of + the underlying volume. type: object conditions: + description: |- + conditions is the current Condition of persistent volume claim. If underlying persistent volume is being + resized then the Condition will be set to 'ResizeStarted'. items: + description: PersistentVolumeClaimCondition contains details + about state of pvc properties: lastProbeTime: + description: lastProbeTime is the time we probed the + condition. format: date-time type: string lastTransitionTime: + description: lastTransitionTime is the time the condition + transitioned from one status to another. format: date-time type: string message: + description: message is the human-readable message + indicating details about last transition. type: string reason: + description: |- + reason is a unique, this should be a short, machine understandable string that gives the reason + for condition's last transition. type: string status: type: string type: + description: PersistentVolumeClaimConditionType is + a valid value of PersistentVolumeClaimCondition.Type type: string required: - status @@ -3436,36 +6334,68 @@ spec: type: object type: array currentVolumeAttributesClassName: + description: currentVolumeAttributesClassName is the current + name of the VolumeAttributesClass the PVC is using. type: string modifyVolumeStatus: + description: |- + ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. + When this is unset, there is no ModifyVolume operation being attempted. properties: status: + description: status is the status of the ControllerModifyVolume + operation. type: string targetVolumeAttributesClassName: + description: targetVolumeAttributesClassName is the + name of the VolumeAttributesClass the PVC currently + being reconciled type: string required: - status type: object phase: + description: phase represents the current phase of PersistentVolumeClaim. type: string type: object type: object type: array x-kubernetes-list-type: atomic volumeMounts: + description: VolumeMounts represents the mount points to use in the + underlying collector deployment(s) items: + description: VolumeMount describes a mounting of a Volume within + a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: Expanded path within the volume from which the + container's volume should be mounted. type: string required: - mountPath @@ -3474,106 +6404,219 @@ spec: type: array x-kubernetes-list-type: atomic volumes: + description: Volumes represents which volumes to use in the underlying + collector deployment(s). items: + description: Volume represents a named volume in a pod that may + be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://kubernetes. properties: fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: azureDisk represents an Azure Data Disk mount on + the host and bind mount to the pod. properties: cachingMode: + description: 'cachingMode is the Host Caching mode: None, + Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data disk in the + blob storage type: string diskURI: + description: diskURI is the URI of data disk in the blob + storage type: string fsType: + description: |- + fsType is Filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single blob + disk per storage account Managed: azure managed data + disk (only in managed availability set).' type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: azureFile represents an Azure File Service mount + on the host and bind mount to the pod. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret that contains + Azure Storage Account Name and Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: cephFS represents a Ceph FS mount on the host that + shares a pod's lifetime properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array path: + description: 'path is Optional: Used as the mounted root, + rather than the full Ceph tree, default is /' type: string readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: boolean secretFile: + description: |- + secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string secretRef: + description: |- + secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that should populate + this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -3581,66 +6624,127 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional specify whether the ConfigMap or its + keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents ephemeral + storage that is handled by certain external CSI drivers (Beta + feature). properties: driver: + description: |- + driver is the name of the CSI driver that handles this volume. + Consult with your admin for the correct name as registered in the cluster. type: string fsType: + description: |- + fsType to mount. Ex. "ext4", "xfs", "ntfs". + If not provided, the empty value is passed to the associated CSI driver + which will determine the default filesystem to apply. type: string nodePublishSecretRef: + description: |- + nodePublishSecretRef is a reference to the secret object containing + sensitive information to pass to the CSI driver to complete the CSI + NodePublishVolume and NodeUnpublishVolume calls. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about the pod + that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. format: int32 type: integer items: + description: Items is a list of downward API volume file items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field properties: fieldRef: + description: 'Required: Selects a field of the pod: + only annotations, labels, name and namespace are + supported.' properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: 'Required: Path is the relative path + name of the file to be created. Must not be absolute + or contain the ''..'' path. Must be utf-8 encoded. + The first item of the relative path must not start + with ''..''' type: string resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource @@ -3652,21 +6756,41 @@ spec: type: array type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents what type of storage medium should back this directory. + The default is "" which means to use the node's default medium. + Must be an empty string (default) or Memory. type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the total amount of local storage required for this EmptyDir volume. + The size limit is also applicable for memory medium. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: ephemeral represents a volume that is handled by + a cluster storage driver. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -3686,18 +6810,36 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string required: - kind @@ -3705,20 +6847,36 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s. type: string required: - kind - name type: object resources: + description: resources represents the minimum resources + the volume should have. properties: limits: additionalProperties: @@ -3727,6 +6885,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -3735,18 +6896,37 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: Requests describes the minimum + amount of compute resources required. type: object type: object selector: + description: selector is a label query over volumes + to consider for binding. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -3758,16 +6938,29 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: volumeAttributesClassName may be used + to set the VolumeAttributesClass used by this + claim. type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. type: string type: object required: @@ -3775,38 +6968,76 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource that is + attached to a kubelet's host machine and then exposed to the + pod. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' items: type: string type: array wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. properties: driver: + description: driver is the name of the driver to use for + this volume. type: string fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. type: string options: additionalProperties: type: string + description: 'options is Optional: this field holds extra + command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is Optional: secretRef is reference to the secret object containing + sensitive information to pass to the plugin scripts. This may be + empty if no secret object is specified. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic @@ -3814,88 +7045,183 @@ spec: - driver type: object flocker: + description: flocker represents a Flocker volume attached to + a kubelet's host machine. This depends on the Flocker control + service being running properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. This + is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://kubernetes. properties: fsType: + description: |- + fsType is filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". format: int32 type: integer pdName: + description: |- + pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk type: string readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk type: boolean required: - pdName type: object gitRepo: + description: |- + gitRepo represents a git repository at a particular revision. + DEPRECATED: GitRepo is deprecated. properties: directory: + description: |- + directory is the target directory name. + Must not contain or start with '..'. If '.' is supplied, the volume directory will be the + git repository. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the specified + revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + description: |- + readOnly here will force the Glusterfs volume to be mounted with read-only permissions. + Defaults to false. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: boolean required: - endpoints - path type: object hostPath: + description: |- + hostPath represents a pre-existing file or directory on the host + machine that is directly exposed to the container. properties: path: + description: |- + path of the directory on the host. + If the path is a symlink, it will follow the link to the real path. + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object iscsi: + description: |- + iscsi represents an ISCSI Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://examples.k8s.io/volumes/iscsi/README.md properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether support iSCSI + Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support iSCSI + Session CHAP authentication type: boolean fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string initiatorName: + description: initiatorName is the custom iSCSI Initiator + Name. type: string iqn: + description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). items: type: string type: array readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for iSCSI target + and initiator authentication properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). type: string required: - iqn @@ -3903,68 +7229,146 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + description: |- + nfs represents an NFS mount on the host that shares a pod's lifetime + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + description: |- + readOnly here will force the NFS export to be mounted with read-only permissions. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes. properties: claimName: + description: |- + claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims type: string readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: photonPersistentDisk represents a PhotonController + persistent disk attached and mounted on kubelets host machine properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string pdID: + description: pdID is the ID that identifies Photon Controller + persistent disk type: string required: - pdID type: object portworxVolume: + description: portworxVolume represents a portworx volume attached + and mounted on kubelets host machine properties: fsType: + description: |- + fSType represents the filesystem type to mount + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources secrets, + configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer sources: + description: sources is the list of volume projections items: + description: Projection that may be projected along with + other supported volume types properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + + Alpha, gated by the ClusterTrustBundleProjection feature gate. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + 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. items: type: string type: array @@ -3976,31 +7380,63 @@ spec: matchLabels: additionalProperties: type: string + description: matchLabels is a map of {key,value} + pairs. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. type: boolean path: + description: Relative path from the volume root + to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about the configMap + data to project properties: items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -4008,42 +7444,82 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about the downwardAPI + data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a field + of the pod: only annotations, labels, + name and namespace are supported.' properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: 'Required: Path is the relative + path name of the file to be created. Must + not be absolute or contain the ''..'' + path. Must be utf-8 encoded. The first + item of the relative path must not start + with ''..''' type: string resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource @@ -4055,16 +7531,33 @@ spec: type: array type: object secret: + description: secret information about the secret data + to project properties: items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -4072,19 +7565,38 @@ spec: type: object type: array name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string optional: + description: optional field specify whether the + Secret or its key must be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information about + the serviceAccountToken data to project properties: audience: + description: |- + audience is the intended audience of the token. A recipient of a token + must identify itself with an identifier specified in the audience of the + token, and otherwise should reject the token. type: string expirationSeconds: + description: |- + expirationSeconds is the requested duration of validity of the service + account token. As the token approaches expiration, the kubelet volume + plugin will proactively rotate the service account token. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -4093,76 +7605,167 @@ spec: type: array type: object quobyte: + description: quobyte represents a Quobyte mount on the host + that shares a pod's lifetime properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + description: |- + registry represents a single or multiple Quobyte Registry services + specified as a string as host:port pair (multiple entries are separated with commas) + which acts as the central registry for volumes type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references an already + created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: + description: |- + keyring is the path to key ring for RBDUser. + Default is /etc/ceph/keyring. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array pool: + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: boolean secretRef: + description: |- + secretRef is name of the authentication secret for RBDUser. If provided + overrides keyring. + Default is nil. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: scaleIO represents a ScaleIO persistent volume + attached and mounted on Kubernetes nodes. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the ScaleIO + API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false type: boolean storageMode: + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage Pool associated + with the protection domain. type: string system: + description: system is the name of the storage system as + configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -4170,19 +7773,39 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer items: + description: |- + items If unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. format: int32 type: integer path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. type: string required: - key @@ -4190,36 +7813,75 @@ spec: type: object type: array optional: + description: optional field specify whether the Secret or + its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: storageOS represents a StorageOS volume attached + and mounted on Kubernetes nodes. properties: fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + description: |- + volumeNamespace specifies the scope of the volume within StorageOS. If no + namespace is specified then the Pod's namespace will be used. type: string type: object vsphereVolume: + description: vsphereVolume represents a vSphere volume attached + and mounted on kubelets host machine properties: fsType: + description: |- + fsType is filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. type: string storagePolicyID: + description: storagePolicyID is the storage Policy Based + Management (SPBM) profile ID associated with the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage Policy Based + Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies vSphere + volume vmdk type: string required: - volumePath @@ -4231,4338 +7893,50 @@ spec: x-kubernetes-list-type: atomic type: object status: + description: OpenTelemetryCollectorStatus defines the observed state of + OpenTelemetryCollector. properties: image: + description: Image indicates the container image to use for the OpenTelemetry + Collector. type: string messages: + description: |- + Messages about actions performed by the operator on this resource. + Deprecated: use Kubernetes events instead. items: type: string type: array x-kubernetes-list-type: atomic replicas: + description: |- + Replicas is currently not being set and might be removed in the next version. + Deprecated: use "OpenTelemetryCollector.Status.Scale.Replicas" instead. format: int32 type: integer scale: + description: Scale is the OpenTelemetryCollector's scale subresource + status. properties: replicas: + description: |- + The total number non-terminated pods targeted by this + OpenTelemetryCollector's deployment or statefulSet. format: int32 type: integer selector: + description: |- + The selector used to match the OpenTelemetryCollector's + deployment or statefulSet pods. type: string statusReplicas: + description: |- + StatusReplicas is the number of pods targeted by this OpenTelemetryCollector's with a Ready Condition / + Total number of non-terminated pods targeted by this OpenTelemetryCollector's (their labels matc type: string type: object version: - type: string - type: object - type: object - served: true - storage: false - subresources: - scale: - labelSelectorPath: .status.scale.selector - specReplicasPath: .spec.replicas - statusReplicasPath: .status.scale.replicas - status: {} - - additionalPrinterColumns: - - description: Deployment Mode - jsonPath: .spec.mode - name: Mode - type: string - - description: OpenTelemetry Version - jsonPath: .status.version - name: Version - type: string - - jsonPath: .status.scale.statusReplicas - name: Ready - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - - jsonPath: .status.image - name: Image - type: string - - description: Management State - jsonPath: .spec.managementState - name: Management - type: string - name: v1beta1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - properties: - additionalContainers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - args: - additionalProperties: - type: string - type: object - autoscaler: - properties: - behavior: - properties: - scaleDown: - properties: - policies: - items: - properties: - periodSeconds: - format: int32 - type: integer - type: - type: string - value: - format: int32 - type: integer - required: - - periodSeconds - - type - - value - type: object - type: array - x-kubernetes-list-type: atomic - selectPolicy: - type: string - stabilizationWindowSeconds: - format: int32 - type: integer - type: object - scaleUp: - properties: - policies: - items: - properties: - periodSeconds: - format: int32 - type: integer - type: - type: string - value: - format: int32 - type: integer - required: - - periodSeconds - - type - - value - type: object - type: array - x-kubernetes-list-type: atomic - selectPolicy: - type: string - stabilizationWindowSeconds: - format: int32 - type: integer - type: object - type: object - maxReplicas: - format: int32 - type: integer - metrics: - items: - properties: - pods: - properties: - metric: - properties: - name: - type: string - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - required: - - name - type: object - target: - properties: - averageUtilization: - format: int32 - type: integer - averageValue: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: - type: string - value: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - required: - - type - type: object - required: - - metric - - target - type: object - type: - type: string - required: - - type - type: object - type: array - minReplicas: - format: int32 - type: integer - targetCPUUtilization: - format: int32 - type: integer - targetMemoryUtilization: - format: int32 - type: integer - type: object - config: - properties: - connectors: - type: object - x-kubernetes-preserve-unknown-fields: true - exporters: - type: object - x-kubernetes-preserve-unknown-fields: true - extensions: - type: object - x-kubernetes-preserve-unknown-fields: true - processors: - type: object - x-kubernetes-preserve-unknown-fields: true - receivers: - type: object - x-kubernetes-preserve-unknown-fields: true - service: - properties: - extensions: - items: - type: string - type: array - pipelines: - type: object - x-kubernetes-preserve-unknown-fields: true - telemetry: - type: object - x-kubernetes-preserve-unknown-fields: true - required: - - pipelines - type: object - required: - - exporters - - receivers - - service - type: object - x-kubernetes-preserve-unknown-fields: true - configmaps: - items: - properties: - mountpath: - type: string - name: - type: string - required: - - mountpath - - name - type: object - type: array - daemonSetUpdateStrategy: - properties: - rollingUpdate: - properties: - maxSurge: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - maxUnavailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - type: - type: string - type: object - deploymentUpdateStrategy: - properties: - rollingUpdate: - properties: - maxSurge: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - maxUnavailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - type: - type: string - type: object - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - hostNetwork: - type: boolean - image: - type: string - imagePullPolicy: - type: string - ingress: - properties: - annotations: - additionalProperties: - type: string - type: object - hostname: - type: string - ingressClassName: - type: string - route: - properties: - termination: - enum: - - insecure - - edge - - passthrough - - reencrypt - type: string - type: object - ruleType: - enum: - - path - - subdomain - type: string - tls: - items: - properties: - hosts: - items: - type: string - type: array - x-kubernetes-list-type: atomic - secretName: - type: string - type: object - type: array - type: - enum: - - ingress - - route - type: string - type: object - initContainers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - failureThreshold: - format: int32 - type: integer - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - managementState: - default: managed - enum: - - managed - - unmanaged - type: string - mode: - enum: - - daemonset - - deployment - - sidecar - - statefulset - type: string - nodeSelector: - additionalProperties: - type: string - type: object - observability: - properties: - metrics: - properties: - disablePrometheusAnnotations: - type: boolean - enableMetrics: - type: boolean - type: object - type: object - podAnnotations: - additionalProperties: - type: string - type: object - podDisruptionBudget: - properties: - maxUnavailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - minAvailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - podSecurityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - ports: - items: - properties: - appProtocol: - type: string - name: - type: string - nodePort: - format: int32 - type: integer - port: - format: int32 - type: integer - protocol: - default: TCP - type: string - targetPort: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: array - x-kubernetes-list-type: atomic - priorityClassName: - type: string - replicas: - format: int32 - type: integer - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccount: - type: string - shareProcessNamespace: - type: boolean - targetAllocator: - properties: - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - allocationStrategy: - default: consistent-hashing - enum: - - least-weighted - - consistent-hashing - type: string - enabled: - type: boolean - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - filterStrategy: - default: relabel-config - enum: - - "" - - relabel-config - type: string - image: - type: string - nodeSelector: - additionalProperties: - type: string - type: object - observability: - properties: - metrics: - properties: - disablePrometheusAnnotations: - type: boolean - enableMetrics: - type: boolean - type: object - type: object - podDisruptionBudget: - properties: - maxUnavailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - minAvailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - podSecurityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - prometheusCR: - properties: - enabled: - type: boolean - podMonitorSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - scrapeInterval: - default: 30s - format: duration - type: string - serviceMonitorSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - type: object - replicas: - format: int32 - type: integer - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccount: - type: string - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - upgradeStrategy: - enum: - - automatic - - none - type: string - volumeClaimTemplates: - items: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - status: - properties: - accessModes: - items: - type: string - type: array - allocatedResourceStatuses: - additionalProperties: - type: string - type: object - x-kubernetes-map-type: granular - allocatedResources: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - capacity: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - conditions: - items: - properties: - lastProbeTime: - format: date-time - type: string - lastTransitionTime: - format: date-time - type: string - message: - type: string - reason: - type: string - status: - type: string - type: - type: string - required: - - status - - type - type: object - type: array - currentVolumeAttributesClassName: - type: string - modifyVolumeStatus: - properties: - status: - type: string - targetVolumeAttributesClassName: - type: string - required: - - status - type: object - phase: - type: string - type: object - type: object - type: array - x-kubernetes-list-type: atomic - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-type: atomic - volumes: - items: - properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - type: string - kind: - type: string - readOnly: - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: - type: string - type: array - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - readOnly: - type: boolean - volumeAttributes: - additionalProperties: - type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: - properties: - volumeClaimTemplate: - properties: - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - spec - type: object - type: object - fc: - properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean - targetWWNs: - items: - type: string - type: array - wwids: - items: - type: string - type: array - type: object - flexVolume: - properties: - driver: - type: string - fsType: - type: string - options: - additionalProperties: - type: string - type: object - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string - type: object - gcePersistentDisk: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - gitRepo: - properties: - directory: - type: string - repository: - type: string - revision: - type: string - required: - - repository - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - type: string - lun: - format: int32 - type: integer - portals: - items: - type: string - type: array - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal - type: object - name: - type: string - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: - properties: - fsType: - type: string - pdID: - type: string - required: - - pdID - type: object - portworxVolume: - properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: - properties: - clusterTrustBundle: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - name: - type: string - optional: - type: boolean - path: - type: string - signerName: - type: string - required: - - path - type: object - configMap: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - downwardAPI: - properties: - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - secret: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - serviceAccountToken: - properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path - type: object - type: object - type: array - type: object - quobyte: - properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: - type: string - required: - - registry - - volume - type: object - rbd: - properties: - fsType: - type: string - image: - type: string - keyring: - type: string - monitors: - items: - type: string - type: array - pool: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - image - - monitors - type: object - scaleIO: - properties: - fsType: - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - sslEnabled: - type: boolean - storageMode: - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - secret: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - x-kubernetes-list-type: atomic - required: - - config - type: object - status: - properties: - image: - type: string - scale: - properties: - replicas: - format: int32 - type: integer - selector: - type: string - statusReplicas: - type: string - type: object - version: + description: Version of the managed OpenTelemetry Collector (operand) type: string type: object type: object diff --git a/config/crd/bases/opentelemetry.io_targetallocators.yaml b/config/crd/bases/opentelemetry.io_targetallocators.yaml deleted file mode 100644 index 0091a808fb..0000000000 --- a/config/crd/bases/opentelemetry.io_targetallocators.yaml +++ /dev/null @@ -1,3423 +0,0 @@ ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.14.0 - name: targetallocators.opentelemetry.io -spec: - group: opentelemetry.io - names: - kind: TargetAllocator - listKind: TargetAllocatorList - plural: targetallocators - singular: targetallocator - scope: Namespaced - versions: - - name: v1beta1 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - type: object - spec: - properties: - additionalContainers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - allocationStrategy: - default: consistent-hashing - enum: - - least-weighted - - consistent-hashing - type: string - args: - additionalProperties: - type: string - type: object - autoscaler: - properties: - behavior: - properties: - scaleDown: - properties: - policies: - items: - properties: - periodSeconds: - format: int32 - type: integer - type: - type: string - value: - format: int32 - type: integer - required: - - periodSeconds - - type - - value - type: object - type: array - x-kubernetes-list-type: atomic - selectPolicy: - type: string - stabilizationWindowSeconds: - format: int32 - type: integer - type: object - scaleUp: - properties: - policies: - items: - properties: - periodSeconds: - format: int32 - type: integer - type: - type: string - value: - format: int32 - type: integer - required: - - periodSeconds - - type - - value - type: object - type: array - x-kubernetes-list-type: atomic - selectPolicy: - type: string - stabilizationWindowSeconds: - format: int32 - type: integer - type: object - type: object - maxReplicas: - format: int32 - type: integer - metrics: - items: - properties: - pods: - properties: - metric: - properties: - name: - type: string - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - required: - - name - type: object - target: - properties: - averageUtilization: - format: int32 - type: integer - averageValue: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: - type: string - value: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - required: - - type - type: object - required: - - metric - - target - type: object - type: - type: string - required: - - type - type: object - type: array - minReplicas: - format: int32 - type: integer - targetCPUUtilization: - format: int32 - type: integer - targetMemoryUtilization: - format: int32 - type: integer - type: object - collectorSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - filterStrategy: - default: relabel-config - enum: - - "" - - relabel-config - type: string - hostNetwork: - type: boolean - image: - type: string - imagePullPolicy: - type: string - initContainers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - managementState: - default: managed - enum: - - managed - - unmanaged - type: string - nodeSelector: - additionalProperties: - type: string - type: object - observability: - properties: - metrics: - properties: - disablePrometheusAnnotations: - type: boolean - enableMetrics: - type: boolean - type: object - type: object - podAnnotations: - additionalProperties: - type: string - type: object - podDisruptionBudget: - properties: - maxUnavailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - minAvailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - podSecurityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - ports: - items: - properties: - appProtocol: - type: string - name: - type: string - nodePort: - format: int32 - type: integer - port: - format: int32 - type: integer - protocol: - default: TCP - type: string - targetPort: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: array - x-kubernetes-list-type: atomic - priorityClassName: - type: string - prometheusCR: - properties: - enabled: - type: boolean - podMonitorSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - scrapeInterval: - default: 30s - format: duration - type: string - serviceMonitorSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - type: object - replicas: - format: int32 - type: integer - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - scrapeConfigs: - items: - type: object - type: array - x-kubernetes-list-type: atomic - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccount: - type: string - shareProcessNamespace: - type: boolean - terminationGracePeriodSeconds: - format: int64 - type: integer - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - volumeClaimTemplates: - items: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - status: - properties: - accessModes: - items: - type: string - type: array - allocatedResourceStatuses: - additionalProperties: - type: string - type: object - x-kubernetes-map-type: granular - allocatedResources: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - capacity: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - conditions: - items: - properties: - lastProbeTime: - format: date-time - type: string - lastTransitionTime: - format: date-time - type: string - message: - type: string - reason: - type: string - status: - type: string - type: - type: string - required: - - status - - type - type: object - type: array - currentVolumeAttributesClassName: - type: string - modifyVolumeStatus: - properties: - status: - type: string - targetVolumeAttributesClassName: - type: string - required: - - status - type: object - phase: - type: string - type: object - type: object - type: array - x-kubernetes-list-type: atomic - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-type: atomic - volumes: - items: - properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - type: string - kind: - type: string - readOnly: - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: - type: string - type: array - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - readOnly: - type: boolean - volumeAttributes: - additionalProperties: - type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: - properties: - volumeClaimTemplate: - properties: - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - spec - type: object - type: object - fc: - properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean - targetWWNs: - items: - type: string - type: array - wwids: - items: - type: string - type: array - type: object - flexVolume: - properties: - driver: - type: string - fsType: - type: string - options: - additionalProperties: - type: string - type: object - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string - type: object - gcePersistentDisk: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - gitRepo: - properties: - directory: - type: string - repository: - type: string - revision: - type: string - required: - - repository - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - type: string - lun: - format: int32 - type: integer - portals: - items: - type: string - type: array - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal - type: object - name: - type: string - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: - properties: - fsType: - type: string - pdID: - type: string - required: - - pdID - type: object - portworxVolume: - properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: - properties: - clusterTrustBundle: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - name: - type: string - optional: - type: boolean - path: - type: string - signerName: - type: string - required: - - path - type: object - configMap: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - downwardAPI: - properties: - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - secret: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - serviceAccountToken: - properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path - type: object - type: object - type: array - type: object - quobyte: - properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: - type: string - required: - - registry - - volume - type: object - rbd: - properties: - fsType: - type: string - image: - type: string - keyring: - type: string - monitors: - items: - type: string - type: array - pool: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - image - - monitors - type: object - scaleIO: - properties: - fsType: - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - sslEnabled: - type: boolean - storageMode: - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - secret: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - x-kubernetes-list-type: atomic - type: object - status: - properties: - image: - type: string - version: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} diff --git a/config/crd/kustomization.yaml b/config/crd/kustomization.yaml index 0c8025da20..c8ddc32df9 100644 --- a/config/crd/kustomization.yaml +++ b/config/crd/kustomization.yaml @@ -15,7 +15,6 @@ patchesStrategicMerge: # - patches/webhook_in_opampbridges.yaml - patches/cainjection_in_opentelemetrycollectors.yaml - patches/cainjection_in_opampbridges.yaml -- patches/webhook_in_opentelemetrycollectors.yaml # +kubebuilder:scaffold:crdkustomizecainjectionpatch # the following config is for teaching kustomize how to do kustomization for CRDs. diff --git a/config/crd/patches/webhook_in_opentelemetrycollectors.yaml b/config/crd/patches/webhook_in_opampbridges.yaml similarity index 69% rename from config/crd/patches/webhook_in_opentelemetrycollectors.yaml rename to config/crd/patches/webhook_in_opampbridges.yaml index 212b37de60..8bf7a8144d 100644 --- a/config/crd/patches/webhook_in_opentelemetrycollectors.yaml +++ b/config/crd/patches/webhook_in_opampbridges.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - name: opentelemetrycollectors.opentelemetry.io + name: opampbridges.opentelemetry.io spec: conversion: strategy: Webhook @@ -10,8 +10,7 @@ spec: clientConfig: service: namespace: system - name: opentelemetry-operator-webhook-service + name: webhook-service path: /convert conversionReviewVersions: - - v1alpha1 - - v1beta1 + - v1 diff --git a/config/manifests/bases/opentelemetry-operator.clusterserviceversion.yaml b/config/manifests/bases/opentelemetry-operator.clusterserviceversion.yaml index ed0690c3e8..5d08f6174e 100644 --- a/config/manifests/bases/opentelemetry-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/opentelemetry-operator.clusterserviceversion.yaml @@ -23,56 +23,6 @@ spec: kind: OpenTelemetryCollector name: opentelemetrycollectors.core.opentelemetry.io version: v1alpha1 - - description: OpenTelemetryCollector is the Schema for the opentelemetrycollectors - API. - displayName: OpenTelemetry Collector - kind: OpenTelemetryCollector - name: opentelemetrycollectors.opentelemetry.io - resources: - - kind: ConfigMaps - name: "" - version: v1 - - kind: DaemonSets - name: "" - version: apps/v1 - - kind: Deployment - name: "" - version: apps/v1 - - kind: Pod - name: "" - version: v1 - - kind: Service - name: "" - version: v1 - - kind: StatefulSets - name: "" - version: apps/v1 - specDescriptors: - - description: ObservabilitySpec defines how telemetry data gets handled. - displayName: Observability - path: observability - - description: Metrics defines the metrics configuration for operands. - displayName: Metrics Config - path: observability.metrics - - description: EnableMetrics specifies if ServiceMonitor or PodMonitor(for sidecar - mode) should be created for the service managed by the OpenTelemetry Operator. - The operator.observability.prometheus feature gate must be enabled to use - this feature. - displayName: Create ServiceMonitors for OpenTelemetry Collector - path: observability.metrics.enableMetrics - - description: ObservabilitySpec defines how telemetry data gets handled. - displayName: Observability - path: targetAllocator.observability - - description: Metrics defines the metrics configuration for operands. - displayName: Metrics Config - path: targetAllocator.observability.metrics - - description: EnableMetrics specifies if ServiceMonitor or PodMonitor(for sidecar - mode) should be created for the service managed by the OpenTelemetry Operator. - The operator.observability.prometheus feature gate must be enabled to use - this feature. - displayName: Create ServiceMonitors for OpenTelemetry Collector - path: targetAllocator.observability.metrics.enableMetrics - version: v1beta1 - description: Instrumentation is the spec for OpenTelemetry instrumentation. displayName: OpenTelemetry Instrumentation kind: Instrumentation @@ -168,9 +118,9 @@ spec: deployments: null strategy: "" installModes: - - supported: false + - supported: true type: OwnNamespace - - supported: false + - supported: true type: SingleNamespace - supported: false type: MultiNamespace diff --git a/config/samples/core_v1beta1_opentelemetrycollector.yaml b/config/samples/core_v1beta1_opentelemetrycollector.yaml deleted file mode 100644 index ce3509efc6..0000000000 --- a/config/samples/core_v1beta1_opentelemetrycollector.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: opentelemetry.io/v1beta1 -kind: OpenTelemetryCollector -metadata: - name: otel -spec: - config: - receivers: - otlp: - protocols: - grpc: {} - http: {} - - exporters: - debug: {} - - service: - pipelines: - traces: - receivers: [otlp] - exporters: [debug] diff --git a/config/samples/kustomization.yaml b/config/samples/kustomization.yaml index df91b810ab..5bca251052 100644 --- a/config/samples/kustomization.yaml +++ b/config/samples/kustomization.yaml @@ -1,7 +1,6 @@ ## Append samples you want in your CSV to this file as resources ## resources: - core_v1alpha1_opentelemetrycollector.yaml -- core_v1beta1_opentelemetrycollector.yaml - instrumentation_v1alpha1_instrumentation.yaml - _v1alpha1_opampbridge.yaml #+kubebuilder:scaffold:manifestskustomizesamples diff --git a/config/webhook/manifests.yaml b/config/webhook/manifests.yaml index 1361f76380..9246d8c4fb 100644 --- a/config/webhook/manifests.yaml +++ b/config/webhook/manifests.yaml @@ -4,26 +4,6 @@ kind: MutatingWebhookConfiguration metadata: name: mutating-webhook-configuration webhooks: -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: webhook-service - namespace: system - path: /mutate-opentelemetry-io-v1beta1-opentelemetrycollector - failurePolicy: Fail - name: mopentelemetrycollectorbeta.kb.io - rules: - - apiGroups: - - opentelemetry.io - apiVersions: - - v1beta1 - operations: - - CREATE - - UPDATE - resources: - - opentelemetrycollectors - sideEffects: None - admissionReviewVersions: - v1 clientConfig: @@ -109,45 +89,6 @@ kind: ValidatingWebhookConfiguration metadata: name: validating-webhook-configuration webhooks: -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: webhook-service - namespace: system - path: /validate-opentelemetry-io-v1beta1-opentelemetrycollector - failurePolicy: Fail - name: vopentelemetrycollectorcreateupdatebeta.kb.io - rules: - - apiGroups: - - opentelemetry.io - apiVersions: - - v1beta1 - operations: - - CREATE - - UPDATE - resources: - - opentelemetrycollectors - sideEffects: None -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: webhook-service - namespace: system - path: /validate-opentelemetry-io-v1beta1-opentelemetrycollector - failurePolicy: Ignore - name: vopentelemetrycollectordeletebeta.kb.io - rules: - - apiGroups: - - opentelemetry.io - apiVersions: - - v1beta1 - operations: - - DELETE - resources: - - opentelemetrycollectors - sideEffects: None - admissionReviewVersions: - v1 clientConfig: diff --git a/controllers/opentelemetrycollector_controller.go b/controllers/opentelemetrycollector_controller.go index 89e52629b8..77ef164ae6 100644 --- a/controllers/opentelemetrycollector_controller.go +++ b/controllers/opentelemetrycollector_controller.go @@ -36,6 +36,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" "github.com/open-telemetry/opentelemetry-operator/internal/autodetect/openshift" "github.com/open-telemetry/opentelemetry-operator/internal/config" @@ -129,25 +130,30 @@ func (r *OpenTelemetryCollectorReconciler) findOtelOwnedObjects(ctx context.Cont return ownedObjects, nil } -func (r *OpenTelemetryCollectorReconciler) getParams(instance v1beta1.OpenTelemetryCollector) (manifests.Params, error) { - p := manifests.Params{ +func (r *OpenTelemetryCollectorReconciler) getParams(instance v1alpha1.OpenTelemetryCollector) (manifests.Params, error) { + otelCol := v1beta1.OpenTelemetryCollector{} + err := instance.ConvertTo(&otelCol) + if err != nil { + return manifests.Params{}, err + } + params := manifests.Params{ Config: r.config, Client: r.Client, - OtelCol: instance, + OtelCol: otelCol, Log: r.log, Scheme: r.scheme, Recorder: r.recorder, } // generate the target allocator CR from the collector CR - targetAllocator, err := collector.TargetAllocator(p) + targetAllocator, err := collector.TargetAllocator(params) if err != nil { - return p, err + return params, err } if targetAllocator != nil { - p.TargetAllocator = *targetAllocator + params.TargetAllocator = *targetAllocator } - return p, nil + return params, nil } // NewReconciler creates a new reconciler for OpenTelemetryCollector objects. @@ -180,7 +186,7 @@ func NewReconciler(p Params) *OpenTelemetryCollectorReconciler { func (r *OpenTelemetryCollectorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { log := r.log.WithValues("opentelemetrycollector", req.NamespacedName) - var instance v1beta1.OpenTelemetryCollector + var instance v1alpha1.OpenTelemetryCollector if err := r.Get(ctx, req.NamespacedName, &instance); err != nil { if !apierrors.IsNotFound(err) { log.Error(err, "unable to fetch OpenTelemetryCollector") @@ -196,7 +202,7 @@ func (r *OpenTelemetryCollectorReconciler) Reconcile(ctx context.Context, req ct return ctrl.Result{}, nil } - if instance.Spec.ManagementState == v1beta1.ManagementStateUnmanaged { + if instance.Spec.ManagementState == v1alpha1.ManagementStateUnmanaged { log.Info("Skipping reconciliation for unmanaged OpenTelemetryCollector resource", "name", req.String()) // Stop requeueing for unmanaged OpenTelemetryCollector custom resources return ctrl.Result{}, nil @@ -225,7 +231,7 @@ func (r *OpenTelemetryCollectorReconciler) Reconcile(ctx context.Context, req ct // SetupWithManager tells the manager what our controller is interested in. func (r *OpenTelemetryCollectorReconciler) SetupWithManager(mgr ctrl.Manager) error { builder := ctrl.NewControllerManagedBy(mgr). - For(&v1beta1.OpenTelemetryCollector{}). + For(&v1alpha1.OpenTelemetryCollector{}). Owns(&corev1.ConfigMap{}). Owns(&corev1.ServiceAccount{}). Owns(&corev1.Service{}). diff --git a/controllers/suite_test.go b/controllers/suite_test.go index ff17ae73e2..e814c4519c 100644 --- a/controllers/suite_test.go +++ b/controllers/suite_test.go @@ -52,7 +52,6 @@ import ( "sigs.k8s.io/controller-runtime/pkg/webhook" "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" - "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" "github.com/open-telemetry/opentelemetry-operator/internal/autodetect" "github.com/open-telemetry/opentelemetry-operator/internal/autodetect/openshift" "github.com/open-telemetry/opentelemetry-operator/internal/config" @@ -115,7 +114,6 @@ func TestMain(m *testing.M) { utilruntime.Must(networkingv1.AddToScheme(testScheme)) utilruntime.Must(routev1.AddToScheme(testScheme)) utilruntime.Must(v1alpha1.AddToScheme(testScheme)) - utilruntime.Must(v1beta1.AddToScheme(testScheme)) testEnv = &envtest.Environment{ CRDDirectoryPaths: []string{filepath.Join("..", "config", "crd", "bases")}, @@ -161,10 +159,6 @@ func TestMain(m *testing.M) { fmt.Printf("failed to SetupWebhookWithManager: %v", err) os.Exit(1) } - if err = v1beta1.SetupCollectorWebhook(mgr, config.New(), reviewer); err != nil { - fmt.Printf("failed to SetupWebhookWithManager: %v", err) - os.Exit(1) - } if err = v1alpha1.SetupOpAMPBridgeWebhook(mgr, config.New()); err != nil { fmt.Printf("failed to SetupWebhookWithManager: %v", err) diff --git a/docs/api.md b/docs/api.md index 0fdbb73b92..259cf829ea 100644 --- a/docs/api.md +++ b/docs/api.md @@ -3,7 +3,6 @@ Packages: - [opentelemetry.io/v1alpha1](#opentelemetryiov1alpha1) -- [opentelemetry.io/v1beta1](#opentelemetryiov1beta1) # opentelemetry.io/v1alpha1 @@ -26,7 +25,7 @@ Resource Types: - +Instrumentation is the spec for OpenTelemetry instrumentation. @@ -58,14 +57,14 @@ Resource Types: @@ -77,7 +76,7 @@ Resource Types: - +InstrumentationSpec defines the desired state of OpenTelemetry SDK and instrumentation.
spec object -
+ InstrumentationSpec defines the desired state of OpenTelemetry SDK and instrumentation.
false
status object -
+ InstrumentationStatus defines status of the instrumentation.
false
@@ -92,84 +91,86 @@ Resource Types: @@ -181,7 +182,7 @@ Resource Types: - +ApacheHttpd defines configuration for Apache HTTPD auto-instrumentation.
apacheHttpd object -
+ ApacheHttpd defines configuration for Apache HTTPD auto-instrumentation.
false
dotnet object -
+ DotNet defines configuration for DotNet auto-instrumentation.
false
env []object -
+ Env defines common env vars.
false
exporter object -
+ Exporter defines exporter configuration.
false
go object -
+ Go defines configuration for Go auto-instrumentation.
false
java object -
+ Java defines configuration for java auto-instrumentation.
false
nginx object -
+ Nginx defines configuration for Nginx auto-instrumentation.
false
nodejs object -
+ NodeJS defines configuration for nodejs auto-instrumentation.
false
propagators []enum -
+ Propagators defines inter-process context propagation configuration. +Values in this list will be set in the OTEL_PROPAGATORS env var. +Enum=tracecontext;baggage;b3;b3multi;jaeger;xray;ottrace;none
false
python object -
+ Python defines configuration for python auto-instrumentation.
false
resource object -
+ Resource defines the configuration for the resource attributes, as defined by the OpenTelemetry specification.
false
sampler object -
+ Sampler defines sampling configuration.
false
@@ -196,49 +197,53 @@ Resource Types: @@ -250,7 +255,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
attrs []object -
+ Attrs defines Apache HTTPD agent specific attributes. The precedence is: +`agent default attributes` > `instrument spec attributes` . +Attributes are documented at https://github.
false
configPath string -
+ Location of Apache HTTPD server configuration. +Needed only if different from default "/usr/local/apache2/conf"
false
env []object -
+ Env defines Apache HTTPD specific env vars.
false
image string -
+ Image is a container image with Apache SDK and auto-instrumentation.
false
resourceRequirements object -
+ Resources describes the compute resource requirements.
false
version string -
+ Apache HTTPD server version. One of 2.4 or 2.2. Default is 2.4
false
volumeLimitSize int or string -
+ VolumeSizeLimit defines size limit for volume used for auto-instrumentation. +The default size is 200Mi.
false
@@ -265,21 +270,23 @@ Resource Types: @@ -291,7 +298,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -306,28 +313,30 @@ Resource Types: @@ -339,7 +348,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -354,21 +363,23 @@ Resource Types: @@ -380,7 +391,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -395,14 +407,14 @@ Resource Types: @@ -414,7 +426,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -429,21 +442,21 @@ Resource Types: @@ -455,7 +468,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -470,21 +483,23 @@ Resource Types: @@ -496,7 +511,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -511,21 +526,23 @@ Resource Types: @@ -537,7 +554,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -552,28 +569,30 @@ Resource Types: @@ -585,7 +604,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -600,21 +619,23 @@ Resource Types: @@ -626,7 +647,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -641,14 +663,14 @@ Resource Types: @@ -660,7 +682,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -675,21 +698,21 @@ Resource Types: @@ -701,7 +724,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -716,21 +739,23 @@ Resource Types: @@ -742,7 +767,7 @@ Resource Types: - +Resources describes the compute resource requirements.
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -757,21 +782,27 @@ Resource Types: @@ -783,7 +814,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -798,7 +829,9 @@ Resource Types: @@ -810,7 +843,7 @@ Resource Types: - +DotNet defines configuration for DotNet auto-instrumentation.
name string -
+ 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.
true
@@ -825,28 +858,29 @@ Resource Types: @@ -858,7 +892,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
env []object -
+ Env defines DotNet specific env vars.
false
image string -
+ Image is a container image with DotNet SDK and auto-instrumentation.
false
resourceRequirements object -
+ Resources describes the compute resource requirements.
false
volumeLimitSize int or string -
+ VolumeSizeLimit defines size limit for volume used for auto-instrumentation. +The default size is 200Mi.
false
@@ -873,21 +907,23 @@ Resource Types: @@ -899,7 +935,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -914,28 +950,30 @@ Resource Types: @@ -947,7 +985,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -962,21 +1000,23 @@ Resource Types: @@ -988,7 +1028,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -1003,14 +1044,14 @@ Resource Types: @@ -1022,7 +1063,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -1037,21 +1079,21 @@ Resource Types: @@ -1063,7 +1105,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -1078,21 +1120,23 @@ Resource Types: @@ -1104,7 +1148,7 @@ Resource Types: - +Resources describes the compute resource requirements.
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -1119,21 +1163,27 @@ Resource Types: @@ -1145,7 +1195,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -1160,7 +1210,9 @@ Resource Types: @@ -1172,7 +1224,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
name string -
+ 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.
true
@@ -1187,21 +1239,23 @@ Resource Types: @@ -1213,7 +1267,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -1228,28 +1282,30 @@ Resource Types: @@ -1261,7 +1317,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -1276,21 +1332,23 @@ Resource Types: @@ -1302,7 +1360,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -1317,14 +1376,14 @@ Resource Types: @@ -1336,7 +1395,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -1351,21 +1411,21 @@ Resource Types: @@ -1377,7 +1437,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -1392,21 +1452,23 @@ Resource Types: @@ -1418,7 +1480,7 @@ Resource Types: - +Exporter defines exporter configuration.
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -1433,7 +1495,7 @@ Resource Types: @@ -1445,7 +1507,7 @@ Resource Types: - +Go defines configuration for Go auto-instrumentation.
endpoint string -
+ Endpoint is address of the collector with OTLP endpoint.
false
@@ -1460,28 +1522,29 @@ Resource Types: @@ -1493,7 +1556,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
env []object -
+ Env defines Go specific env vars.
false
image string -
+ Image is a container image with Go SDK and auto-instrumentation.
false
resourceRequirements object -
+ Resources describes the compute resource requirements.
false
volumeLimitSize int or string -
+ VolumeSizeLimit defines size limit for volume used for auto-instrumentation. +The default size is 200Mi.
false
@@ -1508,21 +1571,23 @@ Resource Types: @@ -1534,7 +1599,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -1549,28 +1614,30 @@ Resource Types: @@ -1582,7 +1649,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -1597,21 +1664,23 @@ Resource Types: @@ -1623,7 +1692,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -1638,14 +1708,14 @@ Resource Types: @@ -1657,7 +1727,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -1672,21 +1743,21 @@ Resource Types: @@ -1698,7 +1769,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -1713,21 +1784,23 @@ Resource Types: @@ -1739,7 +1812,7 @@ Resource Types: - +Resources describes the compute resource requirements.
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -1754,21 +1827,27 @@ Resource Types: @@ -1780,7 +1859,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -1795,7 +1874,9 @@ Resource Types: @@ -1807,7 +1888,7 @@ Resource Types: - +Java defines configuration for java auto-instrumentation.
name string -
+ 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.
true
@@ -1822,28 +1903,29 @@ Resource Types: @@ -1855,7 +1937,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
env []object -
+ Env defines java specific env vars.
false
image string -
+ Image is a container image with javaagent auto-instrumentation JAR.
false
resources object -
+ Resources describes the compute resource requirements.
false
volumeLimitSize int or string -
+ VolumeSizeLimit defines size limit for volume used for auto-instrumentation. +The default size is 200Mi.
false
@@ -1870,21 +1952,23 @@ Resource Types: @@ -1896,7 +1980,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -1911,28 +1995,30 @@ Resource Types: @@ -1944,7 +2030,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -1959,21 +2045,23 @@ Resource Types: @@ -1985,7 +2073,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -2000,14 +2089,14 @@ Resource Types: @@ -2019,7 +2108,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -2034,21 +2124,21 @@ Resource Types: @@ -2060,7 +2150,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -2075,21 +2165,23 @@ Resource Types: @@ -2101,7 +2193,7 @@ Resource Types: - +Resources describes the compute resource requirements.
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -2116,21 +2208,27 @@ Resource Types: @@ -2142,7 +2240,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -2157,7 +2255,9 @@ Resource Types: @@ -2169,7 +2269,7 @@ Resource Types: - +Nginx defines configuration for Nginx auto-instrumentation.
name string -
+ 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.
true
@@ -2184,42 +2284,46 @@ Resource Types: @@ -2231,7 +2335,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
attrs []object -
+ Attrs defines Nginx agent specific attributes. The precedence order is: +`agent default attributes` > `instrument spec attributes` . +Attributes are documented at https://github.
false
configFile string -
+ Location of Nginx configuration file. +Needed only if different from default "/etx/nginx/nginx.conf"
false
env []object -
+ Env defines Nginx specific env vars.
false
image string -
+ Image is a container image with Nginx SDK and auto-instrumentation.
false
resourceRequirements object -
+ Resources describes the compute resource requirements.
false
volumeLimitSize int or string -
+ VolumeSizeLimit defines size limit for volume used for auto-instrumentation. +The default size is 200Mi.
false
@@ -2246,21 +2350,23 @@ Resource Types: @@ -2272,7 +2378,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -2287,28 +2393,30 @@ Resource Types: @@ -2320,7 +2428,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -2335,21 +2443,23 @@ Resource Types: @@ -2361,7 +2471,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -2376,14 +2487,14 @@ Resource Types: @@ -2395,7 +2506,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -2410,21 +2522,21 @@ Resource Types: @@ -2436,7 +2548,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -2451,21 +2563,23 @@ Resource Types: @@ -2477,7 +2591,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -2492,21 +2606,23 @@ Resource Types: @@ -2518,7 +2634,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -2533,28 +2649,30 @@ Resource Types: @@ -2566,7 +2684,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -2581,21 +2699,23 @@ Resource Types: @@ -2607,7 +2727,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -2622,14 +2743,14 @@ Resource Types: @@ -2641,7 +2762,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -2656,21 +2778,21 @@ Resource Types: @@ -2682,7 +2804,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -2697,21 +2819,23 @@ Resource Types: @@ -2723,7 +2847,7 @@ Resource Types: - +Resources describes the compute resource requirements.
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -2738,21 +2862,27 @@ Resource Types: @@ -2764,7 +2894,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -2779,7 +2909,9 @@ Resource Types: @@ -2791,7 +2923,7 @@ Resource Types: - +NodeJS defines configuration for nodejs auto-instrumentation.
name string -
+ 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.
true
@@ -2806,28 +2938,29 @@ Resource Types: @@ -2839,7 +2972,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
env []object -
+ Env defines nodejs specific env vars.
false
image string -
+ Image is a container image with NodeJS SDK and auto-instrumentation.
false
resourceRequirements object -
+ Resources describes the compute resource requirements.
false
volumeLimitSize int or string -
+ VolumeSizeLimit defines size limit for volume used for auto-instrumentation. +The default size is 200Mi.
false
@@ -2854,21 +2987,23 @@ Resource Types: @@ -2880,7 +3015,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -2895,28 +3030,30 @@ Resource Types: @@ -2928,7 +3065,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -2943,21 +3080,23 @@ Resource Types: @@ -2969,7 +3108,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -2984,14 +3124,14 @@ Resource Types: @@ -3003,7 +3143,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -3018,21 +3159,21 @@ Resource Types: @@ -3044,7 +3185,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -3059,21 +3200,23 @@ Resource Types: @@ -3085,7 +3228,7 @@ Resource Types: - +Resources describes the compute resource requirements.
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -3100,21 +3243,27 @@ Resource Types: @@ -3126,7 +3275,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -3141,7 +3290,9 @@ Resource Types: @@ -3153,7 +3304,7 @@ Resource Types: - +Python defines configuration for python auto-instrumentation.
name string -
+ 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.
true
@@ -3168,28 +3319,29 @@ Resource Types: @@ -3201,7 +3353,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
env []object -
+ Env defines python specific env vars.
false
image string -
+ Image is a container image with Python SDK and auto-instrumentation.
false
resourceRequirements object -
+ Resources describes the compute resource requirements.
false
volumeLimitSize int or string -
+ VolumeSizeLimit defines size limit for volume used for auto-instrumentation. +The default size is 200Mi.
false
@@ -3216,21 +3368,23 @@ Resource Types: @@ -3242,7 +3396,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -3257,28 +3411,30 @@ Resource Types: @@ -3290,7 +3446,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -3305,21 +3461,23 @@ Resource Types: @@ -3331,7 +3489,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -3346,14 +3505,14 @@ Resource Types: @@ -3365,7 +3524,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -3380,21 +3540,21 @@ Resource Types: @@ -3406,7 +3566,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -3421,21 +3581,23 @@ Resource Types: @@ -3447,7 +3609,7 @@ Resource Types: - +Resources describes the compute resource requirements.
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -3462,21 +3624,27 @@ Resource Types: @@ -3488,7 +3656,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -3503,7 +3671,9 @@ Resource Types: @@ -3515,7 +3685,7 @@ Resource Types: - +Resource defines the configuration for the resource attributes, as defined by the OpenTelemetry specification.
name string -
+ 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.
true
@@ -3530,14 +3700,15 @@ Resource Types: @@ -3549,7 +3720,7 @@ Resource Types: - +Sampler defines sampling configuration.
addK8sUIDAttributes boolean -
+ AddK8sUIDAttributes defines whether K8s UID attributes should be collected (e.g. k8s.deployment.uid).
false
resourceAttributes map[string]string -
+ Attributes defines attributes that are added to the resource. +For example environment: dev
false
@@ -3564,14 +3735,18 @@ Resource Types: @@ -3587,7 +3762,7 @@ Resource Types: - +OpAMPBridge is the Schema for the opampbridges API.
argument string -
+ Argument defines sampler argument. +The value depends on the sampler type. +For instance for parentbased_traceidratio sampler type it is a number in range [0..1] e.g. 0.25.
false
type enum -
+ Type defines sampler type. +The value will be set in the OTEL_TRACES_SAMPLER env var. +The value can be for instance parentbased_always_on, parentbased_always_off, parentbased_traceidratio...

Enum: always_on, always_off, traceidratio, parentbased_always_on, parentbased_always_off, parentbased_traceidratio, jaeger_remote, xray
@@ -3619,14 +3794,14 @@ Resource Types: @@ -3638,7 +3813,7 @@ Resource Types: - +OpAMPBridgeSpec defines the desired state of OpAMPBridge.
spec object -
+ OpAMPBridgeSpec defines the desired state of OpAMPBridge.
false
status object -
+ OpAMPBridgeStatus defines the observed state of OpAMPBridge.
false
@@ -3653,112 +3828,116 @@ Resource Types: @@ -3812,14 +3994,14 @@ Resource Types: @@ -3831,7 +4013,7 @@ Resource Types: - +If specified, indicates the pod's scheduling constraints
capabilities map[string]boolean -
+ Capabilities supported by the OpAMP Bridge
true
endpoint string -
+ OpAMP backend Server endpoint
true
affinity object -
+ If specified, indicates the pod's scheduling constraints
false
componentsAllowed map[string][]string -
+ ComponentsAllowed is a list of allowed OpenTelemetry components for each pipeline type (receiver, processor, etc.)
false
env []object -
+ ENV vars to set on the OpAMPBridge Pods.
false
envFrom []object -
+ List of sources to populate environment variables on the OpAMPBridge Pods.
false
headers map[string]string -
+ Headers is an optional map of headers to use when connecting to the OpAMP Server, +typically used to set access tokens or other authorization headers.
false
hostNetwork boolean -
+ HostNetwork indicates if the pod should run in the host networking namespace.
false
image string -
+ Image indicates the container image to use for the OpAMPBridge.
false
imagePullPolicy string -
+ ImagePullPolicy indicates the pull policy to be used for retrieving the container image (Always, Never, IfNotPresent)
false
nodeSelector map[string]string -
+ NodeSelector to schedule OpAMPBridge pods.
false
podAnnotations map[string]string -
+ PodAnnotations is the set of annotations that will be attached to +OpAMPBridge pods.
false
podSecurityContext object -
+ PodSecurityContext will be set as the pod security context.
false
ports []object -
+ Ports allows a set of ports to be exposed by the underlying v1.Service.
false
priorityClassName string -
+ If specified, indicates the pod's priority. +If not specified, the pod priority will be default or zero if there is no +default.
false
replicas integer -
+ Replicas is the number of pod instances for the OpAMPBridge.

Format: int32
Maximum: 1
@@ -3768,42 +3947,45 @@ Resource Types:
resources object -
+ Resources to set on the OpAMPBridge pods.
false
securityContext object -
+ SecurityContext will be set as the container security context.
false
serviceAccount string -
+ ServiceAccount indicates the name of an existing service account to use with this instance. When set, +the operator will not automatically create a ServiceAccount for the OpAMPBridge.
false
tolerations []object -
+ Toleration to schedule OpAMPBridge pods.
false
topologySpreadConstraints []object -
+ TopologySpreadConstraints embedded kubernetes pod configuration option, +controls how pods are spread across your cluster among failure-domains +such as regions, zones, nodes, and other user-defined top
false
upgradeStrategy enum -
+ UpgradeStrategy represents how the operator will handle upgrades to the CR when a newer version of the operator is deployed

Enum: automatic, none
volumeMounts []object -
+ VolumeMounts represents the mount points to use in the underlying OpAMPBridge deployment(s)
false
volumes []object -
+ Volumes represents which volumes to use in the underlying OpAMPBridge deployment(s).
false
@@ -3846,21 +4028,21 @@ Resource Types: @@ -3872,7 +4054,7 @@ Resource Types: - +Describes node affinity scheduling rules for the pod.
nodeAffinity object -
+ Describes node affinity scheduling rules for the pod.
false
podAffinity object -
+ Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
false
podAntiAffinity object -
+ Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
false
@@ -3887,14 +4069,17 @@ Resource Types: @@ -3906,7 +4091,8 @@ Resource Types: - +An empty preferred scheduling term matches all objects with implicit weight 0 +(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
preferredDuringSchedulingIgnoredDuringExecution []object -
+ The scheduler will prefer to schedule pods to nodes that satisfy +the affinity expressions specified by this field, but it may choose +a node that violates one or more of the expressions.
false
requiredDuringSchedulingIgnoredDuringExecution object -
+ If the affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
false
@@ -3921,14 +4107,14 @@ Resource Types: @@ -3942,7 +4128,7 @@ Resource Types: - +A node selector term, associated with the corresponding weight.
preference object -
+ A node selector term, associated with the corresponding weight.
true
weight integer -
+ Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.

Format: int32
@@ -3957,14 +4143,14 @@ Resource Types: @@ -3976,7 +4162,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
matchExpressions []object -
+ A list of node selector requirements by node's labels.
false
matchFields []object -
+ A list of node selector requirements by node's fields.
false
@@ -3991,21 +4178,24 @@ Resource Types: @@ -4017,7 +4207,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -4032,21 +4223,24 @@ Resource Types: @@ -4058,7 +4252,8 @@ Resource Types: - +If the affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -4073,7 +4268,7 @@ Resource Types: @@ -4085,7 +4280,9 @@ Resource Types: - +A null or empty node selector term matches no objects. The requirements of +them are ANDed. +The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
nodeSelectorTerms []object -
+ Required. A list of node selector terms. The terms are ORed.
true
@@ -4100,14 +4297,14 @@ Resource Types: @@ -4119,7 +4316,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
matchExpressions []object -
+ A list of node selector requirements by node's labels.
false
matchFields []object -
+ A list of node selector requirements by node's fields.
false
@@ -4134,21 +4332,24 @@ Resource Types: @@ -4160,7 +4361,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -4175,21 +4377,24 @@ Resource Types: @@ -4201,7 +4406,7 @@ Resource Types: - +Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -4216,14 +4421,17 @@ Resource Types: @@ -4235,7 +4443,7 @@ Resource Types: - +The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
preferredDuringSchedulingIgnoredDuringExecution []object -
+ The scheduler will prefer to schedule pods to nodes that satisfy +the affinity expressions specified by this field, but it may choose +a node that violates one or more of the expressions.
false
requiredDuringSchedulingIgnoredDuringExecution []object -
+ If the affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
false
@@ -4250,14 +4458,15 @@ Resource Types: @@ -4271,7 +4480,7 @@ Resource Types: - +Required. A pod affinity term, associated with the corresponding weight.
podAffinityTerm object -
+ Required. A pod affinity term, associated with the corresponding weight.
true
weight integer -
+ weight associated with matching the corresponding podAffinityTerm, +in the range 1-100.

Format: int32
@@ -4286,42 +4495,51 @@ Resource Types: @@ -4333,7 +4551,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -4348,14 +4567,14 @@ Resource Types: @@ -4367,7 +4586,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -4382,21 +4602,24 @@ Resource Types: @@ -4408,7 +4631,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -4423,14 +4648,14 @@ Resource Types: @@ -4442,7 +4667,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -4457,21 +4683,24 @@ Resource Types: @@ -4483,7 +4712,10 @@ Resource Types: - +Defines a set of pods (namely those matching the labelSelector +relative to the given namespace(s)) that this pod should be +co-located (affinity) or not co-located (anti-affinity) with, +where co-locate
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -4498,42 +4730,51 @@ Resource Types: @@ -4545,7 +4786,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -4560,14 +4802,14 @@ Resource Types: @@ -4579,7 +4821,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -4594,21 +4837,24 @@ Resource Types: @@ -4620,7 +4866,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -4635,14 +4883,14 @@ Resource Types: @@ -4654,7 +4902,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -4669,21 +4918,24 @@ Resource Types: @@ -4695,7 +4947,7 @@ Resource Types: - +Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -4710,14 +4962,17 @@ Resource Types: @@ -4729,7 +4984,7 @@ Resource Types: - +The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
preferredDuringSchedulingIgnoredDuringExecution []object -
+ The scheduler will prefer to schedule pods to nodes that satisfy +the anti-affinity expressions specified by this field, but it may choose +a node that violates one or more of the expressions.
false
requiredDuringSchedulingIgnoredDuringExecution []object -
+ If the anti-affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
false
@@ -4744,14 +4999,15 @@ Resource Types: @@ -4765,7 +5021,7 @@ Resource Types: - +Required. A pod affinity term, associated with the corresponding weight.
podAffinityTerm object -
+ Required. A pod affinity term, associated with the corresponding weight.
true
weight integer -
+ weight associated with matching the corresponding podAffinityTerm, +in the range 1-100.

Format: int32
@@ -4780,42 +5036,51 @@ Resource Types: @@ -4827,7 +5092,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -4842,14 +5108,14 @@ Resource Types: @@ -4861,7 +5127,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -4876,21 +5143,24 @@ Resource Types: @@ -4902,7 +5172,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -4917,14 +5189,14 @@ Resource Types: @@ -4936,7 +5208,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -4951,21 +5224,24 @@ Resource Types: @@ -4977,7 +5253,10 @@ Resource Types: - +Defines a set of pods (namely those matching the labelSelector +relative to the given namespace(s)) that this pod should be +co-located (affinity) or not co-located (anti-affinity) with, +where co-locate
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -4992,42 +5271,51 @@ Resource Types: @@ -5039,7 +5327,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -5054,14 +5343,14 @@ Resource Types: @@ -5073,7 +5362,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -5088,21 +5378,24 @@ Resource Types: @@ -5114,7 +5407,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -5129,14 +5424,14 @@ Resource Types: @@ -5148,7 +5443,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -5163,21 +5459,24 @@ Resource Types: @@ -5189,7 +5488,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -5204,21 +5503,23 @@ Resource Types: @@ -5230,7 +5531,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -5245,28 +5546,30 @@ Resource Types: @@ -5278,7 +5581,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -5293,21 +5596,23 @@ Resource Types: @@ -5319,7 +5624,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -5334,14 +5640,14 @@ Resource Types: @@ -5353,7 +5659,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -5368,21 +5675,21 @@ Resource Types: @@ -5394,7 +5701,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -5409,21 +5716,23 @@ Resource Types: @@ -5435,7 +5744,7 @@ Resource Types: - +EnvFromSource represents the source of a set of ConfigMaps
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -5450,21 +5759,21 @@ Resource Types: @@ -5476,7 +5785,7 @@ Resource Types: - +The ConfigMap to select from
configMapRef object -
+ The ConfigMap to select from
false
prefix string -
+ An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
false
secretRef object -
+ The Secret to select from
false
@@ -5491,14 +5800,16 @@ Resource Types: @@ -5510,7 +5821,7 @@ Resource Types: - +The Secret to select from
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap must be defined
false
@@ -5525,14 +5836,16 @@ Resource Types: @@ -5544,7 +5857,7 @@ Resource Types: - +PodSecurityContext will be set as the pod security context.
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret must be defined
false
@@ -5559,7 +5872,12 @@ Resource Types: @@ -5568,14 +5886,17 @@ Resource Types: @@ -5584,14 +5905,16 @@ Resource Types: @@ -5600,35 +5923,43 @@ Resource Types: @@ -5640,7 +5971,9 @@ Resource Types: - +The SELinux context to be applied to all containers. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in SecurityContext.
fsGroup integer -
+ A special supplemental group that applies to all containers in a pod. +Some volume types allow the Kubelet to change the ownership of that volume +to be owned by the pod: + + +1.

Format: int64
fsGroupChangePolicy string -
+ fsGroupChangePolicy defines behavior of changing ownership and permission of the volume +before being exposed inside Pod.
false
runAsGroup integer -
+ The GID to run the entrypoint of the container process. +Uses runtime default if unset. +May also be set in SecurityContext.

Format: int64
runAsNonRoot boolean -
+ Indicates that the container must run as a non-root user.
false
runAsUser integer -
+ The UID to run the entrypoint of the container process. +Defaults to user specified in image metadata if unspecified. +May also be set in SecurityContext.

Format: int64
seLinuxOptions object -
+ The SELinux context to be applied to all containers. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in SecurityContext.
false
seccompProfile object -
+ The seccomp options to use by the containers in this pod. +Note that this field cannot be set when spec.os.name is windows.
false
supplementalGroups []integer -
+ A list of groups applied to the first process run in each container, in addition +to the container's primary GID, the fsGroup (if specified), and group memberships +defined in the container image for th
false
sysctls []object -
+ Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported +sysctls (by the container runtime) might fail to launch. +Note that this field cannot be set when spec.os.
false
windowsOptions object -
+ The Windows specific settings applied to all containers. +If unspecified, the options within a container's SecurityContext will be used.
false
@@ -5655,28 +5988,28 @@ Resource Types: @@ -5688,7 +6021,8 @@ Resource Types: - +The seccomp options to use by the containers in this pod. +Note that this field cannot be set when spec.os.name is windows.
level string -
+ Level is SELinux level label that applies to the container.
false
role string -
+ Role is a SELinux role label that applies to the container.
false
type string -
+ Type is a SELinux type label that applies to the container.
false
user string -
+ User is a SELinux user label that applies to the container.
false
@@ -5703,14 +6037,19 @@ Resource Types: @@ -5722,7 +6061,7 @@ Resource Types: - +Sysctl defines a kernel parameter to be set
type string -
+ type indicates which kind of seccomp profile will be applied. +Valid options are: + + +Localhost - a profile defined in a file on the node should be used.
true
localhostProfile string -
+ localhostProfile indicates a profile defined in a file on the node should be used. +The profile must be preconfigured on the node to work.
false
@@ -5737,14 +6076,14 @@ Resource Types: @@ -5756,7 +6095,8 @@ Resource Types: - +The Windows specific settings applied to all containers. +If unspecified, the options within a container's SecurityContext will be used.
name string -
+ Name of a property to set
true
value string -
+ Value of a property to set
true
@@ -5771,28 +6111,32 @@ Resource Types: @@ -5804,7 +6148,7 @@ Resource Types: - +ServicePort contains information on service's port.
gmsaCredentialSpec string -
+ GMSACredentialSpec is where the GMSA admission webhook +(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the +GMSA credential spec named by the GMSACredentialSpecName field.
false
gmsaCredentialSpecName string -
+ GMSACredentialSpecName is the name of the GMSA credential spec to use.
false
hostProcess boolean -
+ HostProcess determines if a container should be run as a 'Host Process' container.
false
runAsUserName string -
+ The UserName in Windows to run the entrypoint of the container process. +Defaults to the user specified in image metadata if unspecified. +May also be set in PodSecurityContext.
false
@@ -5819,7 +6163,7 @@ Resource Types: @@ -5828,21 +6172,25 @@ Resource Types: @@ -5851,7 +6199,8 @@ Resource Types: @@ -5860,7 +6209,8 @@ Resource Types: @@ -5872,7 +6222,7 @@ Resource Types: - +Resources to set on the OpAMPBridge pods.
port integer -
+ The port that will be exposed by this service.

Format: int32
appProtocol string -
+ The application protocol for this port. +This is used as a hint for implementations to offer richer behavior for protocols that they understand. +This field follows standard Kubernetes label syntax.
false
name string -
+ The name of this port within the service. This must be a DNS_LABEL. +All ports within a ServiceSpec must have unique names.
false
nodePort integer -
+ The port on each node on which this service is exposed when type is +NodePort or LoadBalancer. Usually assigned by the system.

Format: int32
protocol string -
+ The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". +Default is TCP.

Default: TCP
targetPort int or string -
+ Number or name of the port to access on the pods targeted by the service. +Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
false
@@ -5887,21 +6237,27 @@ Resource Types: @@ -5913,7 +6269,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -5928,7 +6284,9 @@ Resource Types: @@ -5940,7 +6298,7 @@ Resource Types: - +SecurityContext will be set as the container security context.
name string -
+ 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.
true
@@ -5955,42 +6313,55 @@ Resource Types: @@ -5999,14 +6370,16 @@ Resource Types: @@ -6015,21 +6388,26 @@ Resource Types: @@ -6041,7 +6419,9 @@ Resource Types: - +The capabilities to add/drop when running containers. +Defaults to the default set of capabilities granted by the container runtime. +Note that this field cannot be set when spec.os.name is windows.
allowPrivilegeEscalation boolean -
+ AllowPrivilegeEscalation controls whether a process can gain more +privileges than its parent process. This bool directly controls if +the no_new_privs flag will be set on the container process.
false
capabilities object -
+ The capabilities to add/drop when running containers. +Defaults to the default set of capabilities granted by the container runtime. +Note that this field cannot be set when spec.os.name is windows.
false
privileged boolean -
+ Run container in privileged mode. +Processes in privileged containers are essentially equivalent to root on the host. +Defaults to false. +Note that this field cannot be set when spec.os.name is windows.
false
procMount string -
+ procMount denotes the type of proc mount to use for the containers. +The default is DefaultProcMount which uses the container runtime defaults for +readonly paths and masked paths.
false
readOnlyRootFilesystem boolean -
+ Whether this container has a read-only root filesystem. +Default is false. +Note that this field cannot be set when spec.os.name is windows.
false
runAsGroup integer -
+ The GID to run the entrypoint of the container process. +Uses runtime default if unset. +May also be set in PodSecurityContext.

Format: int64
runAsNonRoot boolean -
+ Indicates that the container must run as a non-root user.
false
runAsUser integer -
+ The UID to run the entrypoint of the container process. +Defaults to user specified in image metadata if unspecified. +May also be set in PodSecurityContext.

Format: int64
seLinuxOptions object -
+ The SELinux context to be applied to the container. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in PodSecurityContext.
false
seccompProfile object -
+ The seccomp options to use by this container. If seccomp options are +provided at both the pod & container level, the container options +override the pod options.
false
windowsOptions object -
+ The Windows specific settings applied to all containers. +If unspecified, the options from the PodSecurityContext will be used.
false
@@ -6056,14 +6436,14 @@ Resource Types: @@ -6075,7 +6455,9 @@ Resource Types: - +The SELinux context to be applied to the container. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in PodSecurityContext.
add []string -
+ Added capabilities
false
drop []string -
+ Removed capabilities
false
@@ -6090,28 +6472,28 @@ Resource Types: @@ -6123,7 +6505,9 @@ Resource Types: - +The seccomp options to use by this container. If seccomp options are +provided at both the pod & container level, the container options +override the pod options.
level string -
+ Level is SELinux level label that applies to the container.
false
role string -
+ Role is a SELinux role label that applies to the container.
false
type string -
+ Type is a SELinux type label that applies to the container.
false
user string -
+ User is a SELinux user label that applies to the container.
false
@@ -6138,14 +6522,19 @@ Resource Types: @@ -6157,7 +6546,8 @@ Resource Types: - +The Windows specific settings applied to all containers. +If unspecified, the options from the PodSecurityContext will be used.
type string -
+ type indicates which kind of seccomp profile will be applied. +Valid options are: + + +Localhost - a profile defined in a file on the node should be used.
true
localhostProfile string -
+ localhostProfile indicates a profile defined in a file on the node should be used. +The profile must be preconfigured on the node to work.
false
@@ -6172,28 +6562,32 @@ Resource Types: @@ -6205,7 +6599,8 @@ Resource Types: - +The pod this Toleration is attached to tolerates any taint that matches +the triple using the matching operator .
gmsaCredentialSpec string -
+ GMSACredentialSpec is where the GMSA admission webhook +(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the +GMSA credential spec named by the GMSACredentialSpecName field.
false
gmsaCredentialSpecName string -
+ GMSACredentialSpecName is the name of the GMSA credential spec to use.
false
hostProcess boolean -
+ HostProcess determines if a container should be run as a 'Host Process' container.
false
runAsUserName string -
+ The UserName in Windows to run the entrypoint of the container process. +Defaults to the user specified in image metadata if unspecified. +May also be set in PodSecurityContext.
false
@@ -6220,28 +6615,32 @@ Resource Types: @@ -6250,7 +6649,8 @@ Resource Types: @@ -6262,7 +6662,7 @@ Resource Types: - +TopologySpreadConstraint specifies how to spread matching pods among the given topology.
effect string -
+ Effect indicates the taint effect to match. Empty means match all taint effects. +When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
false
key string -
+ Key is the taint key that the toleration applies to. Empty means match all taint keys. +If the key is empty, operator must be Exists; this combination means to match all values and all keys.
false
operator string -
+ Operator represents a key's relationship to the value. +Valid operators are Exists and Equal. Defaults to Equal.
false
tolerationSeconds integer -
+ TolerationSeconds represents the period of time the toleration (which must be +of effect NoExecute, otherwise this field is ignored) tolerates the taint.

Format: int64
value string -
+ Value is the taint value the toleration matches to. +If the operator is Exists, the value should be empty, otherwise just a regular string.
false
@@ -6277,7 +6677,7 @@ Resource Types: @@ -6286,35 +6686,41 @@ Resource Types: @@ -6323,14 +6729,16 @@ Resource Types: @@ -6342,7 +6750,9 @@ Resource Types: - +LabelSelector is used to find matching pods. +Pods that match this label selector are counted to determine the number of pods +in their corresponding topology domain.
maxSkew integer -
+ MaxSkew describes the degree to which pods may be unevenly distributed.

Format: int32
topologyKey string -
+ TopologyKey is the key of node labels. Nodes that have a label with this key +and identical values are considered to be in the same topology.
true
whenUnsatisfiable string -
+ WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy +the spread constraint. +- DoNotSchedule (default) tells the scheduler not to schedule it.
true
labelSelector object -
+ LabelSelector is used to find matching pods. +Pods that match this label selector are counted to determine the number of pods +in their corresponding topology domain.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select the pods over which +spreading will be calculated.
false
minDomains integer -
+ MinDomains indicates a minimum number of eligible domains.

Format: int32
nodeAffinityPolicy string -
+ NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector +when calculating pod topology spread skew.
false
nodeTaintsPolicy string -
+ NodeTaintsPolicy indicates how we will treat node taints when calculating +pod topology spread skew.
false
@@ -6357,14 +6767,14 @@ Resource Types: @@ -6376,7 +6786,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -6391,21 +6802,24 @@ Resource Types: @@ -6417,7 +6831,7 @@ Resource Types: - +VolumeMount describes a mounting of a Volume within a container.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -6432,42 +6846,48 @@ Resource Types: @@ -6479,7 +6899,7 @@ Resource Types: - +Volume represents a named volume in a pod that may be accessed by any container in the pod.
mountPath string -
+ Path within the container at which the volume should be mounted. Must +not contain ':'.
true
name string -
+ This must match the Name of a Volume.
true
mountPropagation string -
+ mountPropagation determines how mounts are propagated from the host +to container and the other way around. +When not set, MountPropagationNone is used. +This field is beta in 1.10.
false
readOnly boolean -
+ Mounted read-only if true, read-write otherwise (false or unspecified). +Defaults to false.
false
subPath string -
+ Path within the volume from which the container's volume should be mounted. +Defaults to "" (volume's root).
false
subPathExpr string -
+ Expanded path within the volume from which the container's volume should be mounted.
false
@@ -6494,210 +6914,229 @@ Resource Types: @@ -6709,7 +7148,9 @@ Resource Types: - +awsElasticBlockStore represents an AWS Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://kubernetes.
name string -
+ name of the volume. +Must be a DNS_LABEL and unique within the pod. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
true
awsElasticBlockStore object -
+ awsElasticBlockStore represents an AWS Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://kubernetes.
false
azureDisk object -
+ azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
false
azureFile object -
+ azureFile represents an Azure File Service mount on the host and bind mount to the pod.
false
cephfs object -
+ cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
false
cinder object -
+ cinder represents a cinder volume attached and mounted on kubelets host machine. +More info: https://examples.k8s.io/mysql-cinder-pd/README.md
false
configMap object -
+ configMap represents a configMap that should populate this volume
false
csi object -
+ csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
false
downwardAPI object -
+ downwardAPI represents downward API about the pod that should populate this volume
false
emptyDir object -
+ emptyDir represents a temporary directory that shares a pod's lifetime. +More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
false
ephemeral object -
+ ephemeral represents a volume that is handled by a cluster storage driver.
false
fc object -
+ fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
false
flexVolume object -
+ flexVolume represents a generic volume resource that is +provisioned/attached using an exec based plugin.
false
flocker object -
+ flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
false
gcePersistentDisk object -
+ gcePersistentDisk represents a GCE Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://kubernetes.
false
gitRepo object -
+ gitRepo represents a git repository at a particular revision. +DEPRECATED: GitRepo is deprecated.
false
glusterfs object -
+ glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. +More info: https://examples.k8s.io/volumes/glusterfs/README.md
false
hostPath object -
+ hostPath represents a pre-existing file or directory on the host +machine that is directly exposed to the container.
false
iscsi object -
+ iscsi represents an ISCSI Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://examples.k8s.io/volumes/iscsi/README.md
false
nfs object -
+ nfs represents an NFS mount on the host that shares a pod's lifetime +More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
false
persistentVolumeClaim object -
+ persistentVolumeClaimVolumeSource represents a reference to a +PersistentVolumeClaim in the same namespace. +More info: https://kubernetes.
false
photonPersistentDisk object -
+ photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
false
portworxVolume object -
+ portworxVolume represents a portworx volume attached and mounted on kubelets host machine
false
projected object -
+ projected items for all in one resources secrets, configmaps, and downward API
false
quobyte object -
+ quobyte represents a Quobyte mount on the host that shares a pod's lifetime
false
rbd object -
+ rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. +More info: https://examples.k8s.io/volumes/rbd/README.md
false
scaleIO object -
+ scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
false
secret object -
+ secret represents a secret that should populate this volume. +More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
false
storageos object -
+ storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
false
vsphereVolume object -
+ vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
false
@@ -6724,21 +7165,26 @@ Resource Types: @@ -6747,7 +7193,8 @@ Resource Types: @@ -6759,7 +7206,7 @@ Resource Types: - +azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
volumeID string -
+ volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). +More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
true
fsType string -
+ fsType is the filesystem type of the volume that you want to mount. +Tip: Ensure that the filesystem type is supported by the host operating system. +Examples: "ext4", "xfs", "ntfs".
false
partition integer -
+ partition is the partition in the volume that you want to mount. +If omitted, the default is to mount by volume name. +Examples: For volume /dev/sda1, you specify the partition as "1".

Format: int32
readOnly boolean -
+ readOnly value true will force the readOnly setting in VolumeMounts. +More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
false
@@ -6774,42 +7221,45 @@ Resource Types: @@ -6821,7 +7271,7 @@ Resource Types: - +azureFile represents an Azure File Service mount on the host and bind mount to the pod.
diskName string -
+ diskName is the Name of the data disk in the blob storage
true
diskURI string -
+ diskURI is the URI of data disk in the blob storage
true
cachingMode string -
+ cachingMode is the Host Caching mode: None, Read Only, Read Write.
false
fsType string -
+ fsType is Filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
kind string -
+ kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set).
false
readOnly boolean -
+ readOnly Defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
@@ -6836,21 +7286,22 @@ Resource Types: @@ -6862,7 +7313,7 @@ Resource Types: - +cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
secretName string -
+ secretName is the name of secret that contains Azure Storage Account Name and Key
true
shareName string -
+ shareName is the azure share Name
true
readOnly boolean -
+ readOnly defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
@@ -6877,42 +7328,48 @@ Resource Types: @@ -6924,7 +7381,8 @@ Resource Types: - +secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
monitors []string -
+ monitors is Required: Monitors is a collection of Ceph monitors +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
true
path string -
+ path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
false
readOnly boolean -
+ readOnly is Optional: Defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts. +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
false
secretFile string -
+ secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
false
secretRef object -
+ secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
false
user string -
+ user is optional: User is the rados user name, default is admin +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
false
@@ -6939,7 +7397,9 @@ Resource Types: @@ -6951,7 +7411,8 @@ Resource Types: - +cinder represents a cinder volume attached and mounted on kubelets host machine. +More info: https://examples.k8s.io/mysql-cinder-pd/README.md
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -6966,28 +7427,34 @@ Resource Types: @@ -6999,7 +7466,8 @@ Resource Types: - +secretRef is optional: points to a secret object containing parameters used to connect +to OpenStack.
volumeID string -
+ volumeID used to identify the volume in cinder. +More info: https://examples.k8s.io/mysql-cinder-pd/README.md
true
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
readOnly boolean -
+ readOnly defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts. +More info: https://examples.k8s.io/mysql-cinder-pd/README.md
false
secretRef object -
+ secretRef is optional: points to a secret object containing parameters used to connect +to OpenStack.
false
@@ -7014,7 +7482,9 @@ Resource Types: @@ -7026,7 +7496,7 @@ Resource Types: - +configMap represents a configMap that should populate this volume
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -7041,7 +7511,8 @@ Resource Types: @@ -7050,21 +7521,25 @@ Resource Types: @@ -7076,7 +7551,7 @@ Resource Types: - +Maps a string key to a path within a volume.
defaultMode integer -
+ defaultMode is optional: mode bits used to set permissions on created files by default. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
items []object -
+ items if unspecified, each key-value pair in the Data field of the referenced +ConfigMap will be projected into the volume as a file whose name is the +key and content is the value.
false
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ optional specify whether the ConfigMap or its keys must be defined
false
@@ -7091,21 +7566,25 @@ Resource Types: @@ -7119,7 +7598,7 @@ Resource Types: - +csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
key string -
+ key is the key to project.
true
path string -
+ path is the relative path of the file to map the key to. +May not be an absolute path. +May not contain the path element '..'. +May not start with the string '..'.
true
mode integer -
+ mode is Optional: mode bits used to set permissions on this file. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
@@ -7134,35 +7613,42 @@ Resource Types: @@ -7174,7 +7660,9 @@ Resource Types: - +nodePublishSecretRef is a reference to the secret object containing +sensitive information to pass to the CSI driver to complete the CSI +NodePublishVolume and NodeUnpublishVolume calls.
driver string -
+ driver is the name of the CSI driver that handles this volume. +Consult with your admin for the correct name as registered in the cluster.
true
fsType string -
+ fsType to mount. Ex. "ext4", "xfs", "ntfs". +If not provided, the empty value is passed to the associated CSI driver +which will determine the default filesystem to apply.
false
nodePublishSecretRef object -
+ nodePublishSecretRef is a reference to the secret object containing +sensitive information to pass to the CSI driver to complete the CSI +NodePublishVolume and NodeUnpublishVolume calls.
false
readOnly boolean -
+ readOnly specifies a read-only configuration for the volume. +Defaults to false (read/write).
false
volumeAttributes map[string]string -
+ volumeAttributes stores driver-specific properties that are passed to the CSI +driver. Consult your driver's documentation for supported values.
false
@@ -7189,7 +7677,9 @@ Resource Types: @@ -7201,7 +7691,7 @@ Resource Types: - +downwardAPI represents downward API about the pod that should populate this volume
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -7216,7 +7706,8 @@ Resource Types: @@ -7225,7 +7716,7 @@ Resource Types: @@ -7237,7 +7728,7 @@ Resource Types: - +DownwardAPIVolumeFile represents information to create the file containing the pod field
defaultMode integer -
+ Optional: mode bits to use on created files by default. Must be a +Optional: mode bits used to set permissions on created files by default.

Format: int32
items []object -
+ Items is a list of downward API volume file
false
@@ -7252,21 +7743,22 @@ Resource Types: @@ -7275,7 +7767,8 @@ Resource Types: @@ -7287,7 +7780,7 @@ Resource Types: - +Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
path string -
+ Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
true
fieldRef object -
+ Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
false
mode integer -
+ Optional: mode bits used to set permissions on this file, must be an octal value +between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
false
@@ -7302,14 +7795,14 @@ Resource Types: @@ -7321,7 +7814,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -7336,21 +7830,21 @@ Resource Types: @@ -7362,7 +7856,8 @@ Resource Types: - +emptyDir represents a temporary directory that shares a pod's lifetime. +More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -7377,14 +7872,17 @@ Resource Types: @@ -7396,7 +7894,7 @@ Resource Types: - +ephemeral represents a volume that is handled by a cluster storage driver.
medium string -
+ medium represents what type of storage medium should back this directory. +The default is "" which means to use the node's default medium. +Must be an empty string (default) or Memory.
false
sizeLimit int or string -
+ sizeLimit is the total amount of local storage required for this EmptyDir volume. +The size limit is also applicable for memory medium.
false
@@ -7411,7 +7909,9 @@ Resource Types: @@ -7423,7 +7923,9 @@ Resource Types: - +Will be used to create a stand-alone PVC to provision the volume. +The pod in which this EphemeralVolumeSource is embedded will be the +owner of the PVC, i.e.
volumeClaimTemplate object -
+ Will be used to create a stand-alone PVC to provision the volume. +The pod in which this EphemeralVolumeSource is embedded will be the +owner of the PVC, i.e.
false
@@ -7438,14 +7940,18 @@ Resource Types: @@ -7457,7 +7963,9 @@ Resource Types: - +The specification for the PersistentVolumeClaim. The entire content is +copied unchanged into the PVC that gets created from this +template.
spec object -
+ The specification for the PersistentVolumeClaim. The entire content is +copied unchanged into the PVC that gets created from this +template.
true
metadata object -
+ May contain labels and annotations that will be copied into the PVC +when creating it. No other fields are allowed and will be rejected during +validation.
false
@@ -7472,63 +7980,68 @@ Resource Types: @@ -7540,7 +8053,8 @@ Resource Types: - +dataSource field can be used to specify either: +* An existing VolumeSnapshot object (snapshot.storage.k8s.
accessModes []string -
+ accessModes contains the desired access modes the volume should have. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
false
dataSource object -
+ dataSource field can be used to specify either: +* An existing VolumeSnapshot object (snapshot.storage.k8s.
false
dataSourceRef object -
+ dataSourceRef specifies the object from which to populate the volume with data, if a non-empty +volume is desired.
false
resources object -
+ resources represents the minimum resources the volume should have.
false
selector object -
+ selector is a label query over volumes to consider for binding.
false
storageClassName string -
+ storageClassName is the name of the StorageClass required by the claim. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
false
volumeAttributesClassName string -
+ volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
false
volumeMode string -
+ volumeMode defines what type of volume is required by the claim. +Value of Filesystem is implied when not included in claim spec.
false
volumeName string -
+ volumeName is the binding reference to the PersistentVolume backing this claim.
false
@@ -7555,21 +8069,23 @@ Resource Types: @@ -7581,7 +8097,8 @@ Resource Types: - +dataSourceRef specifies the object from which to populate the volume with data, if a non-empty +volume is desired.
kind string -
+ Kind is the type of resource being referenced
true
name string -
+ Name is the name of resource being referenced
true
apiGroup string -
+ APIGroup is the group for the resource being referenced. +If APIGroup is not specified, the specified Kind must be in the core API group. +For any other third-party types, APIGroup is required.
false
@@ -7596,28 +8113,31 @@ Resource Types: @@ -7629,7 +8149,7 @@ Resource Types: - +resources represents the minimum resources the volume should have.
kind string -
+ Kind is the type of resource being referenced
true
name string -
+ Name is the name of resource being referenced
true
apiGroup string -
+ APIGroup is the group for the resource being referenced. +If APIGroup is not specified, the specified Kind must be in the core API group. +For any other third-party types, APIGroup is required.
false
namespace string -
+ Namespace is the namespace of resource being referenced +Note that when a namespace is specified, a gateway.networking.k8s.
false
@@ -7644,14 +8164,15 @@ Resource Types: @@ -7663,7 +8184,7 @@ Resource Types: - +selector is a label query over volumes to consider for binding.
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -7678,14 +8199,14 @@ Resource Types: @@ -7697,7 +8218,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -7712,21 +8234,24 @@ Resource Types: @@ -7738,7 +8263,9 @@ Resource Types: - +May contain labels and annotations that will be copied into the PVC +when creating it. No other fields are allowed and will be rejected during +validation.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -7793,7 +8320,7 @@ Resource Types: - +fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
@@ -7808,14 +8335,16 @@ Resource Types: @@ -7824,21 +8353,23 @@ Resource Types: @@ -7850,7 +8381,8 @@ Resource Types: - +flexVolume represents a generic volume resource that is +provisioned/attached using an exec based plugin.
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
lun integer -
+ lun is Optional: FC target lun number

Format: int32
readOnly boolean -
+ readOnly is Optional: Defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
targetWWNs []string -
+ targetWWNs is Optional: FC target worldwide names (WWNs)
false
wwids []string -
+ wwids Optional: FC volume world wide identifiers (wwids) +Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
false
@@ -7865,35 +8397,40 @@ Resource Types: @@ -7905,7 +8442,9 @@ Resource Types: - +secretRef is Optional: secretRef is reference to the secret object containing +sensitive information to pass to the plugin scripts. This may be +empty if no secret object is specified.
driver string -
+ driver is the name of the driver to use for this volume.
true
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
false
options map[string]string -
+ options is Optional: this field holds extra command options if any.
false
readOnly boolean -
+ readOnly is Optional: defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
secretRef object -
+ secretRef is Optional: secretRef is reference to the secret object containing +sensitive information to pass to the plugin scripts. This may be +empty if no secret object is specified.
false
@@ -7920,7 +8459,9 @@ Resource Types: @@ -7932,7 +8473,7 @@ Resource Types: - +flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -7947,14 +8488,15 @@ Resource Types: @@ -7966,7 +8508,9 @@ Resource Types: - +gcePersistentDisk represents a GCE Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://kubernetes.
datasetName string -
+ datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker +should be considered as deprecated
false
datasetUUID string -
+ datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
false
@@ -7981,21 +8525,26 @@ Resource Types: @@ -8004,7 +8553,9 @@ Resource Types: @@ -8016,7 +8567,8 @@ Resource Types: - +gitRepo represents a git repository at a particular revision. +DEPRECATED: GitRepo is deprecated.
pdName string -
+ pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. +More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
true
fsType string -
+ fsType is filesystem type of the volume that you want to mount. +Tip: Ensure that the filesystem type is supported by the host operating system. +Examples: "ext4", "xfs", "ntfs".
false
partition integer -
+ partition is the partition in the volume that you want to mount. +If omitted, the default is to mount by volume name. +Examples: For volume /dev/sda1, you specify the partition as "1".

Format: int32
readOnly boolean -
+ readOnly here will force the ReadOnly setting in VolumeMounts. +Defaults to false. +More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
false
@@ -8031,21 +8583,23 @@ Resource Types: @@ -8057,7 +8611,8 @@ Resource Types: - +glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. +More info: https://examples.k8s.io/volumes/glusterfs/README.md
repository string -
+ repository is the URL
true
directory string -
+ directory is the target directory name. +Must not contain or start with '..'. If '.' is supplied, the volume directory will be the +git repository.
false
revision string -
+ revision is the commit hash for the specified revision.
false
@@ -8072,21 +8627,25 @@ Resource Types: @@ -8098,7 +8657,8 @@ Resource Types: - +hostPath represents a pre-existing file or directory on the host +machine that is directly exposed to the container.
endpoints string -
+ endpoints is the endpoint name that details Glusterfs topology. +More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
true
path string -
+ path is the Glusterfs volume path. +More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
true
readOnly boolean -
+ readOnly here will force the Glusterfs volume to be mounted with read-only permissions. +Defaults to false. +More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
false
@@ -8113,14 +8673,18 @@ Resource Types: @@ -8132,7 +8696,9 @@ Resource Types: - +iscsi represents an ISCSI Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://examples.k8s.io/volumes/iscsi/README.md
path string -
+ path of the directory on the host. +If the path is a symlink, it will follow the link to the real path. +More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
true
type string -
+ type for HostPath Volume +Defaults to "" +More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
false
@@ -8147,14 +8713,14 @@ Resource Types: @@ -8163,63 +8729,69 @@ Resource Types: @@ -8231,7 +8803,7 @@ Resource Types: - +secretRef is the CHAP Secret for iSCSI target and initiator authentication
iqn string -
+ iqn is the target iSCSI Qualified Name.
true
lun integer -
+ lun represents iSCSI Target Lun number.

Format: int32
targetPortal string -
+ targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port +is other than default (typically TCP ports 860 and 3260).
true
chapAuthDiscovery boolean -
+ chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
false
chapAuthSession boolean -
+ chapAuthSession defines whether support iSCSI Session CHAP authentication
false
fsType string -
+ fsType is the filesystem type of the volume that you want to mount. +Tip: Ensure that the filesystem type is supported by the host operating system. +Examples: "ext4", "xfs", "ntfs".
false
initiatorName string -
+ initiatorName is the custom iSCSI Initiator Name.
false
iscsiInterface string -
+ iscsiInterface is the interface Name that uses an iSCSI transport. +Defaults to 'default' (tcp).
false
portals []string -
+ portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port +is other than default (typically TCP ports 860 and 3260).
false
readOnly boolean -
+ readOnly here will force the ReadOnly setting in VolumeMounts. +Defaults to false.
false
secretRef object -
+ secretRef is the CHAP Secret for iSCSI target and initiator authentication
false
@@ -8246,7 +8818,9 @@ Resource Types: @@ -8258,7 +8832,8 @@ Resource Types: - +nfs represents an NFS mount on the host that shares a pod's lifetime +More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -8273,21 +8848,25 @@ Resource Types: @@ -8299,7 +8878,9 @@ Resource Types: - +persistentVolumeClaimVolumeSource represents a reference to a +PersistentVolumeClaim in the same namespace. +More info: https://kubernetes.
path string -
+ path that is exported by the NFS server. +More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
true
server string -
+ server is the hostname or IP address of the NFS server. +More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
true
readOnly boolean -
+ readOnly here will force the NFS export to be mounted with read-only permissions. +Defaults to false. +More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
false
@@ -8314,14 +8895,16 @@ Resource Types: @@ -8333,7 +8916,7 @@ Resource Types: - +photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
claimName string -
+ claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
true
readOnly boolean -
+ readOnly Will force the ReadOnly setting in VolumeMounts. +Default false.
false
@@ -8348,14 +8931,16 @@ Resource Types: @@ -8367,7 +8952,7 @@ Resource Types: - +portworxVolume represents a portworx volume attached and mounted on kubelets host machine
pdID string -
+ pdID is the ID that identifies Photon Controller persistent disk
true
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
@@ -8382,21 +8967,24 @@ Resource Types: @@ -8408,7 +8996,7 @@ Resource Types: - +projected items for all in one resources secrets, configmaps, and downward API
volumeID string -
+ volumeID uniquely identifies a Portworx volume
true
fsType string -
+ fSType represents the filesystem type to mount +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
false
readOnly boolean -
+ readOnly defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
@@ -8423,7 +9011,8 @@ Resource Types: @@ -8432,7 +9021,7 @@ Resource Types: @@ -8444,7 +9033,7 @@ Resource Types: - +Projection that may be projected along with other supported volume types
defaultMode integer -
+ defaultMode are the mode bits used to set permissions on created files by default. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
sources []object -
+ sources is the list of volume projections
false
@@ -8459,35 +9048,39 @@ Resource Types: @@ -8499,8 +9092,12 @@ Resource Types: +ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field +of ClusterTrustBundle objects in an auto-updating file. +Alpha, gated by the ClusterTrustBundleProjection feature gate. +
clusterTrustBundle object -
+ ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field +of ClusterTrustBundle objects in an auto-updating file. + + +Alpha, gated by the ClusterTrustBundleProjection feature gate.
false
configMap object -
+ configMap information about the configMap data to project
false
downwardAPI object -
+ downwardAPI information about the downwardAPI data to project
false
secret object -
+ secret information about the secret data to project
false
serviceAccountToken object -
+ serviceAccountToken is information about the serviceAccountToken data to project
false
@@ -8514,35 +9111,42 @@ Resource Types: @@ -8554,7 +9158,9 @@ Resource Types: - +Select all ClusterTrustBundles that match this label selector. Only has +effect if signerName is set. Mutually-exclusive with name. If unset, +interpreted as "match nothing".
path string -
+ Relative path from the volume root to write the bundle.
true
labelSelector object -
+ Select all ClusterTrustBundles that match this label selector. Only has +effect if signerName is set. Mutually-exclusive with name. If unset, +interpreted as "match nothing".
false
name string -
+ Select a single ClusterTrustBundle by object name. Mutually-exclusive +with signerName and labelSelector.
false
optional boolean -
+ If true, don't block pod startup if the referenced ClusterTrustBundle(s) +aren't available. If using name, then the named ClusterTrustBundle is +allowed not to exist.
false
signerName string -
+ Select all ClusterTrustBundles that match this signer name. +Mutually-exclusive with name. The contents of all selected +ClusterTrustBundles will be unified and deduplicated.
false
@@ -8569,14 +9175,14 @@ Resource Types: @@ -8588,7 +9194,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -8603,21 +9210,24 @@ Resource Types: @@ -8629,7 +9239,7 @@ Resource Types: - +configMap information about the configMap data to project
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -8644,21 +9254,25 @@ Resource Types: @@ -8670,7 +9284,7 @@ Resource Types: - +Maps a string key to a path within a volume.
items []object -
+ items if unspecified, each key-value pair in the Data field of the referenced +ConfigMap will be projected into the volume as a file whose name is the +key and content is the value.
false
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ optional specify whether the ConfigMap or its keys must be defined
false
@@ -8685,21 +9299,25 @@ Resource Types: @@ -8713,7 +9331,7 @@ Resource Types: - +downwardAPI information about the downwardAPI data to project
key string -
+ key is the key to project.
true
path string -
+ path is the relative path of the file to map the key to. +May not be an absolute path. +May not contain the path element '..'. +May not start with the string '..'.
true
mode integer -
+ mode is Optional: mode bits used to set permissions on this file. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
@@ -8728,7 +9346,7 @@ Resource Types: @@ -8740,7 +9358,7 @@ Resource Types: - +DownwardAPIVolumeFile represents information to create the file containing the pod field
items []object -
+ Items is a list of DownwardAPIVolume file
false
@@ -8755,21 +9373,22 @@ Resource Types: @@ -8778,7 +9397,8 @@ Resource Types: @@ -8790,7 +9410,7 @@ Resource Types: - +Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
path string -
+ Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
true
fieldRef object -
+ Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
false
mode integer -
+ Optional: mode bits used to set permissions on this file, must be an octal value +between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
false
@@ -8805,14 +9425,14 @@ Resource Types: @@ -8824,7 +9444,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -8839,21 +9460,21 @@ Resource Types: @@ -8865,7 +9486,7 @@ Resource Types: - +secret information about the secret data to project
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -8880,21 +9501,25 @@ Resource Types: @@ -8906,7 +9531,7 @@ Resource Types: - +Maps a string key to a path within a volume.
items []object -
+ items if unspecified, each key-value pair in the Data field of the referenced +Secret will be projected into the volume as a file whose name is the +key and content is the value.
false
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ optional field specify whether the Secret or its key must be defined
false
@@ -8921,21 +9546,25 @@ Resource Types: @@ -8949,7 +9578,7 @@ Resource Types: - +serviceAccountToken is information about the serviceAccountToken data to project
key string -
+ key is the key to project.
true
path string -
+ path is the relative path of the file to map the key to. +May not be an absolute path. +May not contain the path element '..'. +May not start with the string '..'.
true
mode integer -
+ mode is Optional: mode bits used to set permissions on this file. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
@@ -8964,21 +9593,26 @@ Resource Types: @@ -8992,7 +9626,7 @@ Resource Types: - +quobyte represents a Quobyte mount on the host that shares a pod's lifetime
path string -
+ path is the path relative to the mount point of the file to project the +token into.
true
audience string -
+ audience is the intended audience of the token. A recipient of a token +must identify itself with an identifier specified in the audience of the +token, and otherwise should reject the token.
false
expirationSeconds integer -
+ expirationSeconds is the requested duration of validity of the service +account token. As the token approaches expiration, the kubelet volume +plugin will proactively rotate the service account token.

Format: int64
@@ -9007,42 +9641,48 @@ Resource Types: @@ -9054,7 +9694,8 @@ Resource Types: - +rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. +More info: https://examples.k8s.io/volumes/rbd/README.md
registry string -
+ registry represents a single or multiple Quobyte Registry services +specified as a string as host:port pair (multiple entries are separated with commas) +which acts as the central registry for volumes
true
volume string -
+ volume is a string that references an already created Quobyte volume by name.
true
group string -
+ group to map volume access to +Default is no group
false
readOnly boolean -
+ readOnly here will force the Quobyte volume to be mounted with read-only permissions. +Defaults to false.
false
tenant string -
+ tenant owning the given Quobyte volume in the Backend +Used with dynamically provisioned Quobyte volumes, value is set by the plugin
false
user string -
+ user to map volume access to +Defaults to serivceaccount user
false
@@ -9069,56 +9710,71 @@ Resource Types: @@ -9130,7 +9786,10 @@ Resource Types: - +secretRef is name of the authentication secret for RBDUser. If provided +overrides keyring. +Default is nil. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
image string -
+ image is the rados image name. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
true
monitors []string -
+ monitors is a collection of Ceph monitors. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
true
fsType string -
+ fsType is the filesystem type of the volume that you want to mount. +Tip: Ensure that the filesystem type is supported by the host operating system. +Examples: "ext4", "xfs", "ntfs".
false
keyring string -
+ keyring is the path to key ring for RBDUser. +Default is /etc/ceph/keyring. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
false
pool string -
+ pool is the rados pool name. +Default is rbd. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
false
readOnly boolean -
+ readOnly here will force the ReadOnly setting in VolumeMounts. +Defaults to false. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
false
secretRef object -
+ secretRef is name of the authentication secret for RBDUser. If provided +overrides keyring. +Default is nil. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
false
user string -
+ user is the rados user name. +Default is admin. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
false
@@ -9145,7 +9804,9 @@ Resource Types: @@ -9157,7 +9818,7 @@ Resource Types: - +scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -9172,70 +9833,77 @@ Resource Types: @@ -9247,7 +9915,8 @@ Resource Types: - +secretRef references to the secret for ScaleIO user and other +sensitive information. If this is not provided, Login operation will fail.
gateway string -
+ gateway is the host address of the ScaleIO API Gateway.
true
secretRef object -
+ secretRef references to the secret for ScaleIO user and other +sensitive information. If this is not provided, Login operation will fail.
true
system string -
+ system is the name of the storage system as configured in ScaleIO.
true
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". +Default is "xfs".
false
protectionDomain string -
+ protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
false
readOnly boolean -
+ readOnly Defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
sslEnabled boolean -
+ sslEnabled Flag enable/disable SSL communication with Gateway, default false
false
storageMode string -
+ storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. +Default is ThinProvisioned.
false
storagePool string -
+ storagePool is the ScaleIO Storage Pool associated with the protection domain.
false
volumeName string -
+ volumeName is the name of a volume already created in the ScaleIO system +that is associated with this volume source.
false
@@ -9262,7 +9931,9 @@ Resource Types: @@ -9274,7 +9945,8 @@ Resource Types: - +secret represents a secret that should populate this volume. +More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -9289,7 +9961,8 @@ Resource Types: @@ -9298,21 +9971,24 @@ Resource Types: @@ -9324,7 +10000,7 @@ Resource Types: - +Maps a string key to a path within a volume.
defaultMode integer -
+ defaultMode is Optional: mode bits used to set permissions on created files by default. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
items []object -
+ items If unspecified, each key-value pair in the Data field of the referenced +Secret will be projected into the volume as a file whose name is the +key and content is the value.
false
optional boolean -
+ optional field specify whether the Secret or its keys must be defined
false
secretName string -
+ secretName is the name of the secret in the pod's namespace to use. +More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
false
@@ -9339,21 +10015,25 @@ Resource Types: @@ -9367,7 +10047,7 @@ Resource Types: - +storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
key string -
+ key is the key to project.
true
path string -
+ path is the relative path of the file to map the key to. +May not be an absolute path. +May not contain the path element '..'. +May not start with the string '..'.
true
mode integer -
+ mode is Optional: mode bits used to set permissions on this file. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
@@ -9382,35 +10062,41 @@ Resource Types: @@ -9422,7 +10108,8 @@ Resource Types: - +secretRef specifies the secret to use for obtaining the StorageOS API +credentials. If not specified, default values will be attempted.
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
readOnly boolean -
+ readOnly defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
secretRef object -
+ secretRef specifies the secret to use for obtaining the StorageOS API +credentials. If not specified, default values will be attempted.
false
volumeName string -
+ volumeName is the human-readable name of the StorageOS volume. Volume +names are only unique within a namespace.
false
volumeNamespace string -
+ volumeNamespace specifies the scope of the volume within StorageOS. If no +namespace is specified then the Pod's namespace will be used.
false
@@ -9437,7 +10124,9 @@ Resource Types: @@ -9449,7 +10138,7 @@ Resource Types: - +vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -9464,28 +10153,30 @@ Resource Types: @@ -9497,7 +10188,7 @@ Resource Types: - +OpAMPBridgeStatus defines the observed state of OpAMPBridge.
volumePath string -
+ volumePath is the path that identifies vSphere volume vmdk
true
fsType string -
+ fsType is filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
storagePolicyID string -
+ storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
false
storagePolicyName string -
+ storagePolicyName is the storage Policy Based Management (SPBM) profile name.
false
@@ -9512,7 +10203,7 @@ Resource Types: @@ -9526,7 +10217,7 @@ Resource Types: - +OpenTelemetryCollector is the Schema for the opentelemetrycollectors API.
version string -
+ Version of the managed OpAMP Bridge (operand)
false
@@ -9558,14 +10249,14 @@ Resource Types: @@ -9577,7 +10268,7 @@ Resource Types: - +OpenTelemetryCollectorSpec defines the desired state of OpenTelemetryCollector.
spec object -
+ OpenTelemetryCollectorSpec defines the desired state of OpenTelemetryCollector.
false
status object -
+ OpenTelemetryCollectorStatus defines the observed state of OpenTelemetryCollector.
false
@@ -9592,119 +10283,127 @@ Resource Types: @@ -9723,7 +10423,8 @@ Resource Types: @@ -9732,7 +10433,7 @@ Resource Types: @@ -9741,56 +10442,64 @@ Resource Types: @@ -9799,42 +10508,44 @@ Resource Types: @@ -9843,28 +10554,32 @@ Resource Types: @@ -9873,21 +10588,21 @@ Resource Types: @@ -9899,7 +10614,7 @@ Resource Types: - +A single application container that you want to run within a pod.
additionalContainers []object -
+ AdditionalContainers allows injecting additional containers into the Collector's pod definition.
false
affinity object -
+ If specified, indicates the pod's scheduling constraints
false
args map[string]string -
+ Args is the set of arguments to pass to the OpenTelemetry Collector binary
false
autoscaler object -
+ Autoscaler specifies the pod autoscaling configuration to use +for the OpenTelemetryCollector workload.
false
config string -
+ Config is the raw JSON to be used as the collector's configuration. Refer to the OpenTelemetry Collector documentation for details.
false
configmaps []object -
+ ConfigMaps is a list of ConfigMaps in the same namespace as the OpenTelemetryCollector +object, which shall be mounted into the Collector Pods.
false
deploymentUpdateStrategy object -
+ UpdateStrategy represents the strategy the operator will take replacing existing Deployment pods with new pods +https://kubernetes.
false
env []object -
+ ENV vars to set on the OpenTelemetry Collector's Pods. These can then in certain cases be +consumed in the config file for the Collector.
false
envFrom []object -
+ List of sources to populate environment variables on the OpenTelemetry Collector's Pods. +These can then in certain cases be consumed in the config file for the Collector.
false
hostNetwork boolean -
+ HostNetwork indicates if the pod should run in the host networking namespace.
false
image string -
+ Image indicates the container image to use for the OpenTelemetry Collector.
false
imagePullPolicy string -
+ ImagePullPolicy indicates the pull policy to be used for retrieving the container image (Always, Never, IfNotPresent)
false
ingress object -
+ Ingress is used to specify how OpenTelemetry Collector is exposed. This +functionality is only available if one of the valid modes is set. +Valid modes are: deployment, daemonset and statefulset.
false
initContainers []object -
+ InitContainers allows injecting initContainers to the Collector's pod definition.
false
lifecycle object -
+ Actions that the management system should take in response to container lifecycle events. Cannot be updated.
false
livenessProbe object -
+ Liveness config for the OpenTelemetry Collector except the probe handler which is auto generated from the health extension of the collector.
false
managementState enum -
+ ManagementState defines if the CR should be managed by the operator or not. +Default is managed.

Enum: managed, unmanaged
Default: managed
@@ -9714,7 +10413,8 @@ Resource Types:
maxReplicas integer -
+ MaxReplicas sets an upper bound to the autoscaling feature. If MaxReplicas is set autoscaling is enabled. +Deprecated: use "OpenTelemetryCollector.Spec.Autoscaler.MaxReplicas" instead.

Format: int32
minReplicas integer -
+ MinReplicas sets a lower bound to the autoscaling feature. Set this if you are using autoscaling. It must be at least 1 +Deprecated: use "OpenTelemetryCollector.Spec.Autoscaler.MinReplicas" instead.

Format: int32
mode enum -
+ Mode represents how the collector should be deployed (deployment, daemonset, statefulset or sidecar)

Enum: daemonset, deployment, sidecar, statefulset
nodeSelector map[string]string -
+ NodeSelector to schedule OpenTelemetry Collector pods. +This is only relevant to daemonset, statefulset, and deployment mode
false
observability object -
+ ObservabilitySpec defines how telemetry data gets handled.
false
podAnnotations map[string]string -
+ PodAnnotations is the set of annotations that will be attached to +Collector and Target Allocator pods.
false
podDisruptionBudget object -
+ PodDisruptionBudget specifies the pod disruption budget configuration to use +for the OpenTelemetryCollector workload.
false
podSecurityContext object -
+ PodSecurityContext configures the pod security context for the +opentelemetry-collector pod, when running as a deployment, daemonset, +or statefulset.
false
ports []object -
+ Ports allows a set of ports to be exposed by the underlying v1.Service. By default, the operator +will attempt to infer the required ports by parsing the .Spec.
false
priorityClassName string -
+ If specified, indicates the pod's priority. +If not specified, the pod priority will be default or zero if there is no +default.
false
replicas integer -
+ Replicas is the number of pod instances for the underlying OpenTelemetry Collector. Set this if your are not using autoscaling

Format: int32
resources object -
+ Resources to set on the OpenTelemetry Collector pods.
false
securityContext object -
+ SecurityContext configures the container security context for +the opentelemetry-collector container.
false
serviceAccount string -
+ ServiceAccount indicates the name of an existing service account to use with this instance. When set, +the operator will not automatically create a ServiceAccount for the collector.
false
shareProcessNamespace boolean -
+ ShareProcessNamespace indicates if the pod's containers should share process namespace.
false
targetAllocator object -
+ TargetAllocator indicates a value which determines whether to spawn a target allocation resource or not.
false
terminationGracePeriodSeconds integer -
+ Duration in seconds the pod needs to terminate gracefully upon probe failure.

Format: int64
tolerations []object -
+ Toleration to schedule OpenTelemetry Collector pods. +This is only relevant to daemonset, statefulset, and deployment mode
false
topologySpreadConstraints []object -
+ TopologySpreadConstraints embedded kubernetes pod configuration option, +controls how pods are spread across your cluster among failure-domains +such as regions, zones, nodes, and other user-defined top
false
updateStrategy object -
+ UpdateStrategy represents the strategy the operator will take replacing existing DaemonSet pods with new pods +https://kubernetes.
false
upgradeStrategy enum -
+ UpgradeStrategy represents how the operator will handle upgrades to the CR when a newer version of the operator is deployed

Enum: automatic, none
volumeClaimTemplates []object -
+ VolumeClaimTemplates will provide stable storage using PersistentVolumes. Only available when the mode=statefulset.
false
volumeMounts []object -
+ VolumeMounts represents the mount points to use in the underlying collector deployment(s)
false
volumes []object -
+ Volumes represents which volumes to use in the underlying collector deployment(s).
false
@@ -9914,168 +10629,206 @@ Resource Types: @@ -10087,7 +10840,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
name string -
+ Name of the container specified as a DNS_LABEL. +Each container in a pod must have a unique name (DNS_LABEL). +Cannot be updated.
true
args []string -
+ Arguments to the entrypoint. +The container image's CMD is used if this is not provided. +Variable references $(VAR_NAME) are expanded using the container's environment.
false
command []string -
+ Entrypoint array. Not executed within a shell. +The container image's ENTRYPOINT is used if this is not provided. +Variable references $(VAR_NAME) are expanded using the container's environment.
false
env []object -
+ List of environment variables to set in the container. +Cannot be updated.
false
envFrom []object -
+ List of sources to populate environment variables in the container. +The keys defined within a source must be a C_IDENTIFIER.
false
image string -
+ Container image name. +More info: https://kubernetes.
false
imagePullPolicy string -
+ Image pull policy. +One of Always, Never, IfNotPresent. +Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. +Cannot be updated. +More info: https://kubernetes.
false
lifecycle object -
+ Actions that the management system should take in response to container lifecycle events. +Cannot be updated.
false
livenessProbe object -
+ Periodic probe of container liveness. +Container will be restarted if the probe fails. +Cannot be updated. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
false
ports []object -
+ List of ports to expose from the container. Not specifying a port here +DOES NOT prevent that port from being exposed. Any port which is +listening on the default "0.0.0.
false
readinessProbe object -
+ Periodic probe of container service readiness. +Container will be removed from service endpoints if the probe fails. +Cannot be updated. +More info: https://kubernetes.
false
resizePolicy []object -
+ Resources resize policy for the container.
false
resources object -
+ Compute Resources required by this container. +Cannot be updated. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
restartPolicy string -
+ RestartPolicy defines the restart behavior of individual containers in a pod. +This field may only be set for init containers, and the only allowed value is "Always".
false
securityContext object -
+ SecurityContext defines the security options the container should be run with. +If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
false
startupProbe object -
+ StartupProbe indicates that the Pod has successfully initialized. +If specified, no other probes are executed until this completes successfully.
false
stdin boolean -
+ Whether this container should allocate a buffer for stdin in the container runtime. If this +is not set, reads from stdin in the container will always result in EOF. +Default is false.
false
stdinOnce boolean -
+ Whether the container runtime should close the stdin channel after it has been opened by +a single attach. When stdin is true the stdin stream will remain open across multiple attach +sessions.
false
terminationMessagePath string -
+ Optional: Path at which the file to which the container's termination message +will be written is mounted into the container's filesystem.
false
terminationMessagePolicy string -
+ Indicate how the termination message should be populated. File will use the contents of +terminationMessagePath to populate the container status message on both success and failure.
false
tty boolean -
+ Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. +Default is false.
false
volumeDevices []object -
+ volumeDevices is the list of block devices to be used by the container.
false
volumeMounts []object -
+ Pod volumes to mount into the container's filesystem. +Cannot be updated.
false
workingDir string -
+ Container's working directory. +If not specified, the container runtime's default will be used, which +might be configured in the container image. +Cannot be updated.
false
@@ -10102,21 +10855,23 @@ Resource Types: @@ -10128,7 +10883,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -10143,28 +10898,30 @@ Resource Types: @@ -10176,7 +10933,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -10191,21 +10948,23 @@ Resource Types: @@ -10217,7 +10976,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -10232,14 +10992,14 @@ Resource Types: @@ -10251,7 +11011,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -10266,21 +11027,21 @@ Resource Types: @@ -10292,7 +11053,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -10307,21 +11068,23 @@ Resource Types: @@ -10333,7 +11096,7 @@ Resource Types: - +EnvFromSource represents the source of a set of ConfigMaps
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -10348,21 +11111,21 @@ Resource Types: @@ -10374,7 +11137,7 @@ Resource Types: - +The ConfigMap to select from
configMapRef object -
+ The ConfigMap to select from
false
prefix string -
+ An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
false
secretRef object -
+ The Secret to select from
false
@@ -10389,14 +11152,16 @@ Resource Types: @@ -10408,7 +11173,7 @@ Resource Types: - +The Secret to select from
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap must be defined
false
@@ -10423,14 +11188,16 @@ Resource Types: @@ -10442,7 +11209,8 @@ Resource Types: - +Actions that the management system should take in response to container lifecycle events. +Cannot be updated.
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret must be defined
false
@@ -10457,14 +11225,17 @@ Resource Types: @@ -10476,7 +11247,8 @@ Resource Types: - +PostStart is called immediately after a container is created. If the handler fails, +the container is terminated and restarted according to its restart policy.
postStart object -
+ PostStart is called immediately after a container is created. If the handler fails, +the container is terminated and restarted according to its restart policy.
false
preStop object -
+ PreStop is called immediately before a container is terminated due to an +API request or management event such as liveness/startup probe failure, +preemption, resource contention, etc.
false
@@ -10491,28 +11263,29 @@ Resource Types: @@ -10524,7 +11297,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
sleep object -
+ Sleep represents the duration that the container should sleep before being terminated.
false
tcpSocket object -
+ Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
false
@@ -10539,7 +11312,8 @@ Resource Types: @@ -10551,7 +11325,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -10566,35 +11340,39 @@ Resource Types: @@ -10606,7 +11384,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -10621,14 +11399,15 @@ Resource Types: @@ -10640,7 +11419,7 @@ Resource Types: - +Sleep represents the duration that the container should sleep before being terminated.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -10655,7 +11434,7 @@ Resource Types: @@ -10669,7 +11448,8 @@ Resource Types: - +Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
seconds integer -
+ Seconds is the number of seconds to sleep.

Format: int64
@@ -10684,14 +11464,16 @@ Resource Types: @@ -10703,7 +11485,9 @@ Resource Types: - +PreStop is called immediately before a container is terminated due to an +API request or management event such as liveness/startup probe failure, +preemption, resource contention, etc.
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -10718,28 +11502,29 @@ Resource Types: @@ -10751,7 +11536,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
sleep object -
+ Sleep represents the duration that the container should sleep before being terminated.
false
tcpSocket object -
+ Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
false
@@ -10766,7 +11551,8 @@ Resource Types: @@ -10778,7 +11564,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -10793,35 +11579,39 @@ Resource Types: @@ -10833,7 +11623,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -10848,14 +11638,15 @@ Resource Types: @@ -10867,7 +11658,7 @@ Resource Types: - +Sleep represents the duration that the container should sleep before being terminated.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -10882,7 +11673,7 @@ Resource Types: @@ -10896,7 +11687,8 @@ Resource Types: - +Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
seconds integer -
+ Seconds is the number of seconds to sleep.

Format: int64
@@ -10911,14 +11703,16 @@ Resource Types: @@ -10930,7 +11724,10 @@ Resource Types: - +Periodic probe of container liveness. +Container will be restarted if the probe fails. +Cannot be updated. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -10945,14 +11742,15 @@ Resource Types: @@ -10961,21 +11759,22 @@ Resource Types: @@ -10984,7 +11783,8 @@ Resource Types: @@ -10993,7 +11793,8 @@ Resource Types: @@ -11002,14 +11803,14 @@ Resource Types: @@ -11018,7 +11819,9 @@ Resource Types: @@ -11032,7 +11835,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
failureThreshold integer -
+ Minimum consecutive failures for the probe to be considered failed after having succeeded. +Defaults to 3. Minimum value is 1.

Format: int32
grpc object -
+ GRPC specifies an action involving a GRPC port.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
initialDelaySeconds integer -
+ Number of seconds after the container has started before liveness probes are initiated. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
periodSeconds integer -
+ How often (in seconds) to perform the probe. +Default to 10 seconds. Minimum value is 1.

Format: int32
successThreshold integer -
+ Minimum consecutive successes for the probe to be considered successful after having failed. +Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

Format: int32
tcpSocket object -
+ TCPSocket specifies an action involving a TCP port.
false
terminationGracePeriodSeconds integer -
+ Optional duration in seconds the pod needs to terminate gracefully upon probe failure.

Format: int64
timeoutSeconds integer -
+ Number of seconds after which the probe times out. +Defaults to 1 second. Minimum value is 1. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
@@ -11047,7 +11850,8 @@ Resource Types: @@ -11059,7 +11863,7 @@ Resource Types: - +GRPC specifies an action involving a GRPC port.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -11074,7 +11878,7 @@ Resource Types: @@ -11083,7 +11887,8 @@ Resource Types: @@ -11095,7 +11900,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
port integer -
+ Port number of the gRPC service. Number must be in the range 1 to 65535.

Format: int32
service string -
+ Service is the name of the service to place in the gRPC HealthCheckRequest +(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
false
@@ -11110,35 +11915,39 @@ Resource Types: @@ -11150,7 +11959,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -11165,14 +11974,15 @@ Resource Types: @@ -11184,7 +11994,7 @@ Resource Types: - +TCPSocket specifies an action involving a TCP port.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -11199,14 +12009,16 @@ Resource Types: @@ -11218,7 +12030,7 @@ Resource Types: - +ContainerPort represents a network port in a single container.
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -11233,7 +12045,8 @@ Resource Types: @@ -11242,14 +12055,17 @@ Resource Types: @@ -11258,14 +12074,17 @@ Resource Types: @@ -11279,7 +12098,10 @@ Resource Types: - +Periodic probe of container service readiness. +Container will be removed from service endpoints if the probe fails. +Cannot be updated. +More info: https://kubernetes.
containerPort integer -
+ Number of port to expose on the pod's IP address. +This must be a valid port number, 0 < x < 65536.

Format: int32
hostIP string -
+ What host IP to bind the external port to.
false
hostPort integer -
+ Number of port to expose on the host. +If specified, this must be a valid port number, 0 < x < 65536. +If HostNetwork is specified, this must match ContainerPort. +Most containers do not need this.

Format: int32
name string -
+ If specified, this must be an IANA_SVC_NAME and unique within the pod. Each +named port in a pod must have a unique name. Name for the port that can be +referred to by services.
false
protocol string -
+ Protocol for port. Must be UDP, TCP, or SCTP. +Defaults to "TCP".

Default: TCP
@@ -11294,14 +12116,15 @@ Resource Types: @@ -11310,21 +12133,22 @@ Resource Types: @@ -11333,7 +12157,8 @@ Resource Types: @@ -11342,7 +12167,8 @@ Resource Types: @@ -11351,14 +12177,14 @@ Resource Types: @@ -11367,7 +12193,9 @@ Resource Types: @@ -11381,7 +12209,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
failureThreshold integer -
+ Minimum consecutive failures for the probe to be considered failed after having succeeded. +Defaults to 3. Minimum value is 1.

Format: int32
grpc object -
+ GRPC specifies an action involving a GRPC port.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
initialDelaySeconds integer -
+ Number of seconds after the container has started before liveness probes are initiated. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
periodSeconds integer -
+ How often (in seconds) to perform the probe. +Default to 10 seconds. Minimum value is 1.

Format: int32
successThreshold integer -
+ Minimum consecutive successes for the probe to be considered successful after having failed. +Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

Format: int32
tcpSocket object -
+ TCPSocket specifies an action involving a TCP port.
false
terminationGracePeriodSeconds integer -
+ Optional duration in seconds the pod needs to terminate gracefully upon probe failure.

Format: int64
timeoutSeconds integer -
+ Number of seconds after which the probe times out. +Defaults to 1 second. Minimum value is 1. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
@@ -11396,7 +12224,8 @@ Resource Types: @@ -11408,7 +12237,7 @@ Resource Types: - +GRPC specifies an action involving a GRPC port.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -11423,7 +12252,7 @@ Resource Types: @@ -11432,7 +12261,8 @@ Resource Types: @@ -11444,7 +12274,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
port integer -
+ Port number of the gRPC service. Number must be in the range 1 to 65535.

Format: int32
service string -
+ Service is the name of the service to place in the gRPC HealthCheckRequest +(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
false
@@ -11459,35 +12289,39 @@ Resource Types: @@ -11499,7 +12333,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -11514,14 +12348,15 @@ Resource Types: @@ -11533,7 +12368,7 @@ Resource Types: - +TCPSocket specifies an action involving a TCP port.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -11548,14 +12383,16 @@ Resource Types: @@ -11567,7 +12404,7 @@ Resource Types: - +ContainerResizePolicy represents resource resize policy for the container.
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -11582,14 +12419,16 @@ Resource Types: @@ -11601,7 +12440,9 @@ Resource Types: - +Compute Resources required by this container. +Cannot be updated. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resourceName string -
+ Name of the resource to which this resource resize policy applies. +Supported values: cpu, memory.
true
restartPolicy string -
+ Restart policy to apply when specified resource is resized. +If not specified, it defaults to NotRequired.
true
@@ -11616,21 +12457,27 @@ Resource Types: @@ -11642,7 +12489,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -11657,7 +12504,9 @@ Resource Types: @@ -11669,7 +12518,8 @@ Resource Types: - +SecurityContext defines the security options the container should be run with. +If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
name string -
+ 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.
true
@@ -11684,42 +12534,55 @@ Resource Types: @@ -11728,14 +12591,16 @@ Resource Types: @@ -11744,21 +12609,26 @@ Resource Types: @@ -11770,7 +12640,9 @@ Resource Types: - +The capabilities to add/drop when running containers. +Defaults to the default set of capabilities granted by the container runtime. +Note that this field cannot be set when spec.os.name is windows.
allowPrivilegeEscalation boolean -
+ AllowPrivilegeEscalation controls whether a process can gain more +privileges than its parent process. This bool directly controls if +the no_new_privs flag will be set on the container process.
false
capabilities object -
+ The capabilities to add/drop when running containers. +Defaults to the default set of capabilities granted by the container runtime. +Note that this field cannot be set when spec.os.name is windows.
false
privileged boolean -
+ Run container in privileged mode. +Processes in privileged containers are essentially equivalent to root on the host. +Defaults to false. +Note that this field cannot be set when spec.os.name is windows.
false
procMount string -
+ procMount denotes the type of proc mount to use for the containers. +The default is DefaultProcMount which uses the container runtime defaults for +readonly paths and masked paths.
false
readOnlyRootFilesystem boolean -
+ Whether this container has a read-only root filesystem. +Default is false. +Note that this field cannot be set when spec.os.name is windows.
false
runAsGroup integer -
+ The GID to run the entrypoint of the container process. +Uses runtime default if unset. +May also be set in PodSecurityContext.

Format: int64
runAsNonRoot boolean -
+ Indicates that the container must run as a non-root user.
false
runAsUser integer -
+ The UID to run the entrypoint of the container process. +Defaults to user specified in image metadata if unspecified. +May also be set in PodSecurityContext.

Format: int64
seLinuxOptions object -
+ The SELinux context to be applied to the container. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in PodSecurityContext.
false
seccompProfile object -
+ The seccomp options to use by this container. If seccomp options are +provided at both the pod & container level, the container options +override the pod options.
false
windowsOptions object -
+ The Windows specific settings applied to all containers. +If unspecified, the options from the PodSecurityContext will be used.
false
@@ -11785,14 +12657,14 @@ Resource Types: @@ -11804,7 +12676,9 @@ Resource Types: - +The SELinux context to be applied to the container. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in PodSecurityContext.
add []string -
+ Added capabilities
false
drop []string -
+ Removed capabilities
false
@@ -11819,28 +12693,28 @@ Resource Types: @@ -11852,7 +12726,9 @@ Resource Types: - +The seccomp options to use by this container. If seccomp options are +provided at both the pod & container level, the container options +override the pod options.
level string -
+ Level is SELinux level label that applies to the container.
false
role string -
+ Role is a SELinux role label that applies to the container.
false
type string -
+ Type is a SELinux type label that applies to the container.
false
user string -
+ User is a SELinux user label that applies to the container.
false
@@ -11867,14 +12743,19 @@ Resource Types: @@ -11886,7 +12767,8 @@ Resource Types: - +The Windows specific settings applied to all containers. +If unspecified, the options from the PodSecurityContext will be used.
type string -
+ type indicates which kind of seccomp profile will be applied. +Valid options are: + + +Localhost - a profile defined in a file on the node should be used.
true
localhostProfile string -
+ localhostProfile indicates a profile defined in a file on the node should be used. +The profile must be preconfigured on the node to work.
false
@@ -11901,28 +12783,32 @@ Resource Types: @@ -11934,7 +12820,8 @@ Resource Types: - +StartupProbe indicates that the Pod has successfully initialized. +If specified, no other probes are executed until this completes successfully.
gmsaCredentialSpec string -
+ GMSACredentialSpec is where the GMSA admission webhook +(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the +GMSA credential spec named by the GMSACredentialSpecName field.
false
gmsaCredentialSpecName string -
+ GMSACredentialSpecName is the name of the GMSA credential spec to use.
false
hostProcess boolean -
+ HostProcess determines if a container should be run as a 'Host Process' container.
false
runAsUserName string -
+ The UserName in Windows to run the entrypoint of the container process. +Defaults to the user specified in image metadata if unspecified. +May also be set in PodSecurityContext.
false
@@ -11949,14 +12836,15 @@ Resource Types: @@ -11965,21 +12853,22 @@ Resource Types: @@ -11988,7 +12877,8 @@ Resource Types: @@ -11997,7 +12887,8 @@ Resource Types: @@ -12006,14 +12897,14 @@ Resource Types: @@ -12022,7 +12913,9 @@ Resource Types: @@ -12036,7 +12929,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
failureThreshold integer -
+ Minimum consecutive failures for the probe to be considered failed after having succeeded. +Defaults to 3. Minimum value is 1.

Format: int32
grpc object -
+ GRPC specifies an action involving a GRPC port.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
initialDelaySeconds integer -
+ Number of seconds after the container has started before liveness probes are initiated. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
periodSeconds integer -
+ How often (in seconds) to perform the probe. +Default to 10 seconds. Minimum value is 1.

Format: int32
successThreshold integer -
+ Minimum consecutive successes for the probe to be considered successful after having failed. +Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

Format: int32
tcpSocket object -
+ TCPSocket specifies an action involving a TCP port.
false
terminationGracePeriodSeconds integer -
+ Optional duration in seconds the pod needs to terminate gracefully upon probe failure.

Format: int64
timeoutSeconds integer -
+ Number of seconds after which the probe times out. +Defaults to 1 second. Minimum value is 1. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
@@ -12051,7 +12944,8 @@ Resource Types: @@ -12063,7 +12957,7 @@ Resource Types: - +GRPC specifies an action involving a GRPC port.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -12078,7 +12972,7 @@ Resource Types: @@ -12087,7 +12981,8 @@ Resource Types: @@ -12099,7 +12994,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
port integer -
+ Port number of the gRPC service. Number must be in the range 1 to 65535.

Format: int32
service string -
+ Service is the name of the service to place in the gRPC HealthCheckRequest +(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
false
@@ -12114,35 +13009,39 @@ Resource Types: @@ -12154,7 +13053,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -12169,14 +13068,15 @@ Resource Types: @@ -12188,7 +13088,7 @@ Resource Types: - +TCPSocket specifies an action involving a TCP port.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -12203,14 +13103,16 @@ Resource Types: @@ -12222,7 +13124,7 @@ Resource Types: - +volumeDevice describes a mapping of a raw block device within a container.
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -12237,14 +13139,14 @@ Resource Types: @@ -12256,7 +13158,7 @@ Resource Types: - +VolumeMount describes a mounting of a Volume within a container.
devicePath string -
+ devicePath is the path inside of the container that the device will be mapped to.
true
name string -
+ name must match the name of a persistentVolumeClaim in the pod
true
@@ -12271,42 +13173,48 @@ Resource Types: @@ -12318,7 +13226,7 @@ Resource Types: - +If specified, indicates the pod's scheduling constraints
mountPath string -
+ Path within the container at which the volume should be mounted. Must +not contain ':'.
true
name string -
+ This must match the Name of a Volume.
true
mountPropagation string -
+ mountPropagation determines how mounts are propagated from the host +to container and the other way around. +When not set, MountPropagationNone is used. +This field is beta in 1.10.
false
readOnly boolean -
+ Mounted read-only if true, read-write otherwise (false or unspecified). +Defaults to false.
false
subPath string -
+ Path within the volume from which the container's volume should be mounted. +Defaults to "" (volume's root).
false
subPathExpr string -
+ Expanded path within the volume from which the container's volume should be mounted.
false
@@ -12333,21 +13241,21 @@ Resource Types: @@ -12359,7 +13267,7 @@ Resource Types: - +Describes node affinity scheduling rules for the pod.
nodeAffinity object -
+ Describes node affinity scheduling rules for the pod.
false
podAffinity object -
+ Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
false
podAntiAffinity object -
+ Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
false
@@ -12374,14 +13282,17 @@ Resource Types: @@ -12393,7 +13304,8 @@ Resource Types: - +An empty preferred scheduling term matches all objects with implicit weight 0 +(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
preferredDuringSchedulingIgnoredDuringExecution []object -
+ The scheduler will prefer to schedule pods to nodes that satisfy +the affinity expressions specified by this field, but it may choose +a node that violates one or more of the expressions.
false
requiredDuringSchedulingIgnoredDuringExecution object -
+ If the affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
false
@@ -12408,14 +13320,14 @@ Resource Types: @@ -12429,7 +13341,7 @@ Resource Types: - +A node selector term, associated with the corresponding weight.
preference object -
+ A node selector term, associated with the corresponding weight.
true
weight integer -
+ Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.

Format: int32
@@ -12444,14 +13356,14 @@ Resource Types: @@ -12463,7 +13375,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
matchExpressions []object -
+ A list of node selector requirements by node's labels.
false
matchFields []object -
+ A list of node selector requirements by node's fields.
false
@@ -12478,21 +13391,24 @@ Resource Types: @@ -12504,7 +13420,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -12519,21 +13436,24 @@ Resource Types: @@ -12545,7 +13465,8 @@ Resource Types: - +If the affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -12560,7 +13481,7 @@ Resource Types: @@ -12572,7 +13493,9 @@ Resource Types: - +A null or empty node selector term matches no objects. The requirements of +them are ANDed. +The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
nodeSelectorTerms []object -
+ Required. A list of node selector terms. The terms are ORed.
true
@@ -12587,14 +13510,14 @@ Resource Types: @@ -12606,7 +13529,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
matchExpressions []object -
+ A list of node selector requirements by node's labels.
false
matchFields []object -
+ A list of node selector requirements by node's fields.
false
@@ -12621,21 +13545,24 @@ Resource Types: @@ -12647,7 +13574,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -12662,21 +13590,24 @@ Resource Types: @@ -12688,7 +13619,7 @@ Resource Types: - +Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -12703,14 +13634,17 @@ Resource Types: @@ -12722,7 +13656,7 @@ Resource Types: - +The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
preferredDuringSchedulingIgnoredDuringExecution []object -
+ The scheduler will prefer to schedule pods to nodes that satisfy +the affinity expressions specified by this field, but it may choose +a node that violates one or more of the expressions.
false
requiredDuringSchedulingIgnoredDuringExecution []object -
+ If the affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
false
@@ -12737,14 +13671,15 @@ Resource Types: @@ -12758,7 +13693,7 @@ Resource Types: - +Required. A pod affinity term, associated with the corresponding weight.
podAffinityTerm object -
+ Required. A pod affinity term, associated with the corresponding weight.
true
weight integer -
+ weight associated with matching the corresponding podAffinityTerm, +in the range 1-100.

Format: int32
@@ -12773,42 +13708,51 @@ Resource Types: @@ -12820,7 +13764,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -12835,14 +13780,14 @@ Resource Types: @@ -12854,7 +13799,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -12869,21 +13815,24 @@ Resource Types: @@ -12895,7 +13844,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -12910,14 +13861,14 @@ Resource Types: @@ -12929,7 +13880,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -12944,21 +13896,24 @@ Resource Types: @@ -12970,7 +13925,10 @@ Resource Types: - +Defines a set of pods (namely those matching the labelSelector +relative to the given namespace(s)) that this pod should be +co-located (affinity) or not co-located (anti-affinity) with, +where co-locate
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -12985,42 +13943,51 @@ Resource Types: @@ -13032,7 +13999,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -13047,14 +14015,14 @@ Resource Types: @@ -13066,7 +14034,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -13081,21 +14050,24 @@ Resource Types: @@ -13107,7 +14079,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -13122,14 +14096,14 @@ Resource Types: @@ -13141,7 +14115,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -13156,21 +14131,24 @@ Resource Types: @@ -13182,7 +14160,7 @@ Resource Types: - +Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -13197,14 +14175,17 @@ Resource Types: @@ -13216,7 +14197,7 @@ Resource Types: - +The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
preferredDuringSchedulingIgnoredDuringExecution []object -
+ The scheduler will prefer to schedule pods to nodes that satisfy +the anti-affinity expressions specified by this field, but it may choose +a node that violates one or more of the expressions.
false
requiredDuringSchedulingIgnoredDuringExecution []object -
+ If the anti-affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
false
@@ -13231,14 +14212,15 @@ Resource Types: @@ -13252,7 +14234,7 @@ Resource Types: - +Required. A pod affinity term, associated with the corresponding weight.
podAffinityTerm object -
+ Required. A pod affinity term, associated with the corresponding weight.
true
weight integer -
+ weight associated with matching the corresponding podAffinityTerm, +in the range 1-100.

Format: int32
@@ -13267,42 +14249,51 @@ Resource Types: @@ -13314,7 +14305,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -13329,14 +14321,14 @@ Resource Types: @@ -13348,7 +14340,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -13363,21 +14356,24 @@ Resource Types: @@ -13389,7 +14385,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -13404,14 +14402,14 @@ Resource Types: @@ -13423,7 +14421,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -13438,21 +14437,24 @@ Resource Types: @@ -13464,7 +14466,10 @@ Resource Types: - +Defines a set of pods (namely those matching the labelSelector +relative to the given namespace(s)) that this pod should be +co-located (affinity) or not co-located (anti-affinity) with, +where co-locate
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -13479,42 +14484,51 @@ Resource Types: @@ -13526,7 +14540,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -13541,14 +14556,14 @@ Resource Types: @@ -13560,7 +14575,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -13575,21 +14591,24 @@ Resource Types: @@ -13601,7 +14620,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -13616,14 +14637,14 @@ Resource Types: @@ -13635,7 +14656,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -13650,21 +14672,24 @@ Resource Types: @@ -13676,7 +14701,8 @@ Resource Types: - +Autoscaler specifies the pod autoscaling configuration to use +for the OpenTelemetryCollector workload.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -13691,14 +14717,15 @@ Resource Types: @@ -13707,14 +14734,15 @@ Resource Types: @@ -13723,7 +14751,8 @@ Resource Types: @@ -13732,7 +14761,7 @@ Resource Types: @@ -13746,7 +14775,8 @@ Resource Types: - +HorizontalPodAutoscalerBehavior configures the scaling behavior of the target +in both Up and Down directions (scaleUp and scaleDown fields respectively).
behavior object -
+ HorizontalPodAutoscalerBehavior configures the scaling behavior of the target +in both Up and Down directions (scaleUp and scaleDown fields respectively).
false
maxReplicas integer -
+ MaxReplicas sets an upper bound to the autoscaling feature. If MaxReplicas is set autoscaling is enabled.

Format: int32
metrics []object -
+ Metrics is meant to provide a customizable way to configure HPA metrics. +currently the only supported custom metrics is type=Pod.
false
minReplicas integer -
+ MinReplicas sets a lower bound to the autoscaling feature. Set this if your are using autoscaling. It must be at least 1

Format: int32
targetCPUUtilization integer -
+ TargetCPUUtilization sets the target average CPU used across all replicas. +If average CPU exceeds this value, the HPA will scale up. Defaults to 90 percent.

Format: int32
targetMemoryUtilization integer -
+ TargetMemoryUtilization sets the target average memory utilization across all replicas

Format: int32
@@ -13761,14 +14791,16 @@ Resource Types: @@ -13780,7 +14812,9 @@ Resource Types: - +scaleDown is scaling policy for scaling Down. +If not set, the default value is to allow to scale down to minReplicas pods, with a +300 second stabilization window (i.e.
scaleDown object -
+ scaleDown is scaling policy for scaling Down. +If not set, the default value is to allow to scale down to minReplicas pods, with a +300 second stabilization window (i.e.
false
scaleUp object -
+ scaleUp is scaling policy for scaling Up.
false
@@ -13795,21 +14829,24 @@ Resource Types: @@ -13823,7 +14860,7 @@ Resource Types: - +HPAScalingPolicy is a single policy which must hold true for a specified past interval.
policies []object -
+ policies is a list of potential scaling polices which can be used during scaling. +At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
false
selectPolicy string -
+ selectPolicy is used to specify which policy should be used. +If not set, the default value Max is used.
false
stabilizationWindowSeconds integer -
+ stabilizationWindowSeconds is the number of seconds for which past recommendations should be +considered while scaling up or scaling down.

Format: int32
@@ -13838,7 +14875,8 @@ Resource Types: @@ -13847,14 +14885,15 @@ Resource Types: @@ -13868,7 +14907,7 @@ Resource Types: - +scaleUp is scaling policy for scaling Up.
periodSeconds integer -
+ periodSeconds specifies the window of time for which the policy should hold true. +PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).

Format: int32
type string -
+ type is used to specify the scaling policy.
true
value integer -
+ value contains the amount of change which is permitted by the policy. +It must be greater than zero

Format: int32
@@ -13883,21 +14922,24 @@ Resource Types: @@ -13911,7 +14953,7 @@ Resource Types: - +HPAScalingPolicy is a single policy which must hold true for a specified past interval.
policies []object -
+ policies is a list of potential scaling polices which can be used during scaling. +At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
false
selectPolicy string -
+ selectPolicy is used to specify which policy should be used. +If not set, the default value Max is used.
false
stabilizationWindowSeconds integer -
+ stabilizationWindowSeconds is the number of seconds for which past recommendations should be +considered while scaling up or scaling down.

Format: int32
@@ -13926,7 +14968,8 @@ Resource Types: @@ -13935,14 +14978,15 @@ Resource Types: @@ -13956,7 +15000,9 @@ Resource Types: - +MetricSpec defines a subset of metrics to be defined for the HPA's metric array +more metric type can be supported as needed. +See https://pkg.go.dev/k8s.io/api/autoscaling/v2#MetricSpec for reference.
periodSeconds integer -
+ periodSeconds specifies the window of time for which the policy should hold true. +PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).

Format: int32
type string -
+ type is used to specify the scaling policy.
true
value integer -
+ value contains the amount of change which is permitted by the policy. +It must be greater than zero

Format: int32
@@ -13971,14 +15017,15 @@ Resource Types: @@ -13990,7 +15037,8 @@ Resource Types: - +PodsMetricSource indicates how to scale on a metric describing each pod in +the current scale target (for example, transactions-processed-per-second).
type string -
+ MetricSourceType indicates the type of metric.
true
pods object -
+ PodsMetricSource indicates how to scale on a metric describing each pod in +the current scale target (for example, transactions-processed-per-second).
false
@@ -14005,14 +15053,14 @@ Resource Types: @@ -14024,7 +15072,7 @@ Resource Types: - +metric identifies the target metric by name and selector
metric object -
+ metric identifies the target metric by name and selector
true
target object -
+ target specifies the target value for the given metric
true
@@ -14039,14 +15087,15 @@ Resource Types: @@ -14058,7 +15107,8 @@ Resource Types: - +selector is the string-encoded form of a standard kubernetes label selector for the given metric +When set, it is passed as an additional parameter to the metrics server for more specific metrics scopi
name string -
+ name is the name of the given metric
true
selector object -
+ selector is the string-encoded form of a standard kubernetes label selector for the given metric +When set, it is passed as an additional parameter to the metrics server for more specific metrics scopi
false
@@ -14073,14 +15123,14 @@ Resource Types: @@ -14092,7 +15142,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -14107,21 +15158,24 @@ Resource Types: @@ -14133,7 +15187,7 @@ Resource Types: - +target specifies the target value for the given metric
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -14148,14 +15202,16 @@ Resource Types: @@ -14164,14 +15220,15 @@ Resource Types: @@ -14205,7 +15262,7 @@ Resource Types: @@ -14217,7 +15274,8 @@ Resource Types: - +UpdateStrategy represents the strategy the operator will take replacing existing Deployment pods with new pods +https://kubernetes.
type string -
+ type represents whether the metric type is Utilization, Value, or AverageValue
true
averageUtilization integer -
+ averageUtilization is the target value of the average of the +resource metric across all relevant pods, represented as a percentage of +the requested value of the resource for the pods.

Format: int32
averageValue int or string -
+ averageValue is the target value of the average of the +metric across all relevant pods (as a quantity)
false
value int or string -
+ value is the target value of the metric (as a quantity).
false
name string -
+ Configmap defines name and path where the configMaps should be mounted.
true
@@ -14232,14 +15290,18 @@ Resource Types: @@ -14251,7 +15313,11 @@ Resource Types: - +Rolling update config params. Present only if DeploymentStrategyType = +RollingUpdate. +--- +TODO: Update this to follow our convention for oneOf, whatever we decide it +to be.
rollingUpdate object -
+ Rolling update config params. Present only if DeploymentStrategyType = +RollingUpdate. +--- +TODO: Update this to follow our convention for oneOf, whatever we decide it +to be.
false
type string -
+ Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
false
@@ -14266,14 +15332,17 @@ Resource Types: @@ -14285,7 +15354,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
maxSurge int or string -
+ The maximum number of pods that can be scheduled above the desired number of +pods. +Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
false
maxUnavailable int or string -
+ The maximum number of pods that can be unavailable during the update. +Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
false
@@ -14300,21 +15369,23 @@ Resource Types: @@ -14326,7 +15397,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -14341,28 +15412,30 @@ Resource Types: @@ -14374,7 +15447,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -14389,21 +15462,23 @@ Resource Types: @@ -14415,7 +15490,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -14430,14 +15506,14 @@ Resource Types: @@ -14449,7 +15525,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -14464,21 +15541,21 @@ Resource Types: @@ -14490,7 +15567,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -14505,21 +15582,23 @@ Resource Types: @@ -14531,7 +15610,7 @@ Resource Types: - +EnvFromSource represents the source of a set of ConfigMaps
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -14546,21 +15625,21 @@ Resource Types: @@ -14572,7 +15651,7 @@ Resource Types: - +The ConfigMap to select from
configMapRef object -
+ The ConfigMap to select from
false
prefix string -
+ An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
false
secretRef object -
+ The Secret to select from
false
@@ -14587,14 +15666,16 @@ Resource Types: @@ -14606,7 +15687,7 @@ Resource Types: - +The Secret to select from
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap must be defined
false
@@ -14621,14 +15702,16 @@ Resource Types: @@ -14640,7 +15723,9 @@ Resource Types: - +Ingress is used to specify how OpenTelemetry Collector is exposed. This +functionality is only available if one of the valid modes is set. +Valid modes are: deployment, daemonset and statefulset.
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret must be defined
false
@@ -14655,35 +15740,40 @@ Resource Types: @@ -14692,14 +15782,15 @@ Resource Types: @@ -14713,7 +15804,8 @@ Resource Types: - +Route is an OpenShift specific section that is only considered when +type "route" is used.
annotations map[string]string -
+ Annotations to add to ingress. +e.g. 'cert-manager.io/cluster-issuer: "letsencrypt"'
false
hostname string -
+ Hostname by which the ingress proxy can be reached.
false
ingressClassName string -
+ IngressClassName is the name of an IngressClass cluster resource. Ingress +controller implementations use this field to know whether they should be +serving this Ingress resource.
false
route object -
+ Route is an OpenShift specific section that is only considered when +type "route" is used.
false
ruleType enum -
+ RuleType defines how Ingress exposes collector receivers. +IngressRuleTypePath ("path") exposes each receiver port on a unique path on single domain defined in Hostname.

Enum: path, subdomain
tls []object -
+ TLS configuration.
false
type enum -
+ Type default value is: "" +Supported types are: ingress, route

Enum: ingress, route
@@ -14728,7 +15820,7 @@ Resource Types: @@ -14742,7 +15834,7 @@ Resource Types: - +IngressTLS describes the transport layer security associated with an ingress.
termination enum -
+ Termination indicates termination type. By default "edge" is used.

Enum: insecure, edge, passthrough, reencrypt
@@ -14757,14 +15849,17 @@ Resource Types: @@ -14776,7 +15871,7 @@ Resource Types: - +A single application container that you want to run within a pod.
hosts []string -
+ hosts is a list of hosts included in the TLS certificate. The values in +this list must match the name/s used in the tlsSecret.
false
secretName string -
+ secretName is the name of the secret used to terminate TLS traffic on +port 443. Field is left optional to allow TLS routing based on SNI +hostname alone.
false
@@ -14791,168 +15886,206 @@ Resource Types: @@ -14964,7 +16097,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
name string -
+ Name of the container specified as a DNS_LABEL. +Each container in a pod must have a unique name (DNS_LABEL). +Cannot be updated.
true
args []string -
+ Arguments to the entrypoint. +The container image's CMD is used if this is not provided. +Variable references $(VAR_NAME) are expanded using the container's environment.
false
command []string -
+ Entrypoint array. Not executed within a shell. +The container image's ENTRYPOINT is used if this is not provided. +Variable references $(VAR_NAME) are expanded using the container's environment.
false
env []object -
+ List of environment variables to set in the container. +Cannot be updated.
false
envFrom []object -
+ List of sources to populate environment variables in the container. +The keys defined within a source must be a C_IDENTIFIER.
false
image string -
+ Container image name. +More info: https://kubernetes.
false
imagePullPolicy string -
+ Image pull policy. +One of Always, Never, IfNotPresent. +Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. +Cannot be updated. +More info: https://kubernetes.
false
lifecycle object -
+ Actions that the management system should take in response to container lifecycle events. +Cannot be updated.
false
livenessProbe object -
+ Periodic probe of container liveness. +Container will be restarted if the probe fails. +Cannot be updated. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
false
ports []object -
+ List of ports to expose from the container. Not specifying a port here +DOES NOT prevent that port from being exposed. Any port which is +listening on the default "0.0.0.
false
readinessProbe object -
+ Periodic probe of container service readiness. +Container will be removed from service endpoints if the probe fails. +Cannot be updated. +More info: https://kubernetes.
false
resizePolicy []object -
+ Resources resize policy for the container.
false
resources object -
+ Compute Resources required by this container. +Cannot be updated. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
restartPolicy string -
+ RestartPolicy defines the restart behavior of individual containers in a pod. +This field may only be set for init containers, and the only allowed value is "Always".
false
securityContext object -
+ SecurityContext defines the security options the container should be run with. +If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
false
startupProbe object -
+ StartupProbe indicates that the Pod has successfully initialized. +If specified, no other probes are executed until this completes successfully.
false
stdin boolean -
+ Whether this container should allocate a buffer for stdin in the container runtime. If this +is not set, reads from stdin in the container will always result in EOF. +Default is false.
false
stdinOnce boolean -
+ Whether the container runtime should close the stdin channel after it has been opened by +a single attach. When stdin is true the stdin stream will remain open across multiple attach +sessions.
false
terminationMessagePath string -
+ Optional: Path at which the file to which the container's termination message +will be written is mounted into the container's filesystem.
false
terminationMessagePolicy string -
+ Indicate how the termination message should be populated. File will use the contents of +terminationMessagePath to populate the container status message on both success and failure.
false
tty boolean -
+ Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. +Default is false.
false
volumeDevices []object -
+ volumeDevices is the list of block devices to be used by the container.
false
volumeMounts []object -
+ Pod volumes to mount into the container's filesystem. +Cannot be updated.
false
workingDir string -
+ Container's working directory. +If not specified, the container runtime's default will be used, which +might be configured in the container image. +Cannot be updated.
false
@@ -14979,21 +16112,23 @@ Resource Types: @@ -15005,7 +16140,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -15020,28 +16155,30 @@ Resource Types: @@ -15053,7 +16190,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -15068,21 +16205,23 @@ Resource Types: @@ -15094,7 +16233,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -15109,14 +16249,14 @@ Resource Types: @@ -15128,7 +16268,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -15143,21 +16284,21 @@ Resource Types: @@ -15169,7 +16310,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -15184,21 +16325,23 @@ Resource Types: @@ -15210,7 +16353,7 @@ Resource Types: - +EnvFromSource represents the source of a set of ConfigMaps
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -15225,21 +16368,21 @@ Resource Types: @@ -15251,7 +16394,7 @@ Resource Types: - +The ConfigMap to select from
configMapRef object -
+ The ConfigMap to select from
false
prefix string -
+ An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
false
secretRef object -
+ The Secret to select from
false
@@ -15266,14 +16409,16 @@ Resource Types: @@ -15285,7 +16430,7 @@ Resource Types: - +The Secret to select from
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap must be defined
false
@@ -15300,14 +16445,16 @@ Resource Types: @@ -15319,7 +16466,8 @@ Resource Types: - +Actions that the management system should take in response to container lifecycle events. +Cannot be updated.
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret must be defined
false
@@ -15334,14 +16482,17 @@ Resource Types: @@ -15353,7 +16504,8 @@ Resource Types: - +PostStart is called immediately after a container is created. If the handler fails, +the container is terminated and restarted according to its restart policy.
postStart object -
+ PostStart is called immediately after a container is created. If the handler fails, +the container is terminated and restarted according to its restart policy.
false
preStop object -
+ PreStop is called immediately before a container is terminated due to an +API request or management event such as liveness/startup probe failure, +preemption, resource contention, etc.
false
@@ -15368,28 +16520,29 @@ Resource Types: @@ -15401,7 +16554,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
sleep object -
+ Sleep represents the duration that the container should sleep before being terminated.
false
tcpSocket object -
+ Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
false
@@ -15416,7 +16569,8 @@ Resource Types: @@ -15428,7 +16582,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -15443,35 +16597,39 @@ Resource Types: @@ -15483,7 +16641,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -15498,14 +16656,15 @@ Resource Types: @@ -15517,7 +16676,7 @@ Resource Types: - +Sleep represents the duration that the container should sleep before being terminated.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -15532,7 +16691,7 @@ Resource Types: @@ -15546,7 +16705,8 @@ Resource Types: - +Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
seconds integer -
+ Seconds is the number of seconds to sleep.

Format: int64
@@ -15561,14 +16721,16 @@ Resource Types: @@ -15580,7 +16742,9 @@ Resource Types: - +PreStop is called immediately before a container is terminated due to an +API request or management event such as liveness/startup probe failure, +preemption, resource contention, etc.
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -15595,28 +16759,29 @@ Resource Types: @@ -15628,7 +16793,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
sleep object -
+ Sleep represents the duration that the container should sleep before being terminated.
false
tcpSocket object -
+ Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
false
@@ -15643,7 +16808,8 @@ Resource Types: @@ -15655,7 +16821,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -15670,35 +16836,39 @@ Resource Types: @@ -15710,7 +16880,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -15725,14 +16895,15 @@ Resource Types: @@ -15744,7 +16915,7 @@ Resource Types: - +Sleep represents the duration that the container should sleep before being terminated.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -15759,7 +16930,7 @@ Resource Types: @@ -15773,7 +16944,8 @@ Resource Types: - +Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
seconds integer -
+ Seconds is the number of seconds to sleep.

Format: int64
@@ -15788,14 +16960,16 @@ Resource Types: @@ -15807,7 +16981,10 @@ Resource Types: - +Periodic probe of container liveness. +Container will be restarted if the probe fails. +Cannot be updated. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -15822,14 +16999,15 @@ Resource Types: @@ -15838,21 +17016,22 @@ Resource Types: @@ -15861,7 +17040,8 @@ Resource Types: @@ -15870,7 +17050,8 @@ Resource Types: @@ -15879,14 +17060,14 @@ Resource Types: @@ -15895,7 +17076,9 @@ Resource Types: @@ -15909,7 +17092,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
failureThreshold integer -
+ Minimum consecutive failures for the probe to be considered failed after having succeeded. +Defaults to 3. Minimum value is 1.

Format: int32
grpc object -
+ GRPC specifies an action involving a GRPC port.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
initialDelaySeconds integer -
+ Number of seconds after the container has started before liveness probes are initiated. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
periodSeconds integer -
+ How often (in seconds) to perform the probe. +Default to 10 seconds. Minimum value is 1.

Format: int32
successThreshold integer -
+ Minimum consecutive successes for the probe to be considered successful after having failed. +Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

Format: int32
tcpSocket object -
+ TCPSocket specifies an action involving a TCP port.
false
terminationGracePeriodSeconds integer -
+ Optional duration in seconds the pod needs to terminate gracefully upon probe failure.

Format: int64
timeoutSeconds integer -
+ Number of seconds after which the probe times out. +Defaults to 1 second. Minimum value is 1. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
@@ -15924,7 +17107,8 @@ Resource Types: @@ -15936,7 +17120,7 @@ Resource Types: - +GRPC specifies an action involving a GRPC port.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -15951,7 +17135,7 @@ Resource Types: @@ -15960,7 +17144,8 @@ Resource Types: @@ -15972,7 +17157,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
port integer -
+ Port number of the gRPC service. Number must be in the range 1 to 65535.

Format: int32
service string -
+ Service is the name of the service to place in the gRPC HealthCheckRequest +(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
false
@@ -15987,35 +17172,39 @@ Resource Types: @@ -16027,7 +17216,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -16042,14 +17231,15 @@ Resource Types: @@ -16061,7 +17251,7 @@ Resource Types: - +TCPSocket specifies an action involving a TCP port.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -16076,14 +17266,16 @@ Resource Types: @@ -16095,7 +17287,7 @@ Resource Types: - +ContainerPort represents a network port in a single container.
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -16110,7 +17302,8 @@ Resource Types: @@ -16119,14 +17312,17 @@ Resource Types: @@ -16135,14 +17331,17 @@ Resource Types: @@ -16156,7 +17355,10 @@ Resource Types: - +Periodic probe of container service readiness. +Container will be removed from service endpoints if the probe fails. +Cannot be updated. +More info: https://kubernetes.
containerPort integer -
+ Number of port to expose on the pod's IP address. +This must be a valid port number, 0 < x < 65536.

Format: int32
hostIP string -
+ What host IP to bind the external port to.
false
hostPort integer -
+ Number of port to expose on the host. +If specified, this must be a valid port number, 0 < x < 65536. +If HostNetwork is specified, this must match ContainerPort. +Most containers do not need this.

Format: int32
name string -
+ If specified, this must be an IANA_SVC_NAME and unique within the pod. Each +named port in a pod must have a unique name. Name for the port that can be +referred to by services.
false
protocol string -
+ Protocol for port. Must be UDP, TCP, or SCTP. +Defaults to "TCP".

Default: TCP
@@ -16171,14 +17373,15 @@ Resource Types: @@ -16187,21 +17390,22 @@ Resource Types: @@ -16210,7 +17414,8 @@ Resource Types: @@ -16219,7 +17424,8 @@ Resource Types: @@ -16228,14 +17434,14 @@ Resource Types: @@ -16244,7 +17450,9 @@ Resource Types: @@ -16258,7 +17466,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
failureThreshold integer -
+ Minimum consecutive failures for the probe to be considered failed after having succeeded. +Defaults to 3. Minimum value is 1.

Format: int32
grpc object -
+ GRPC specifies an action involving a GRPC port.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
initialDelaySeconds integer -
+ Number of seconds after the container has started before liveness probes are initiated. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
periodSeconds integer -
+ How often (in seconds) to perform the probe. +Default to 10 seconds. Minimum value is 1.

Format: int32
successThreshold integer -
+ Minimum consecutive successes for the probe to be considered successful after having failed. +Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

Format: int32
tcpSocket object -
+ TCPSocket specifies an action involving a TCP port.
false
terminationGracePeriodSeconds integer -
+ Optional duration in seconds the pod needs to terminate gracefully upon probe failure.

Format: int64
timeoutSeconds integer -
+ Number of seconds after which the probe times out. +Defaults to 1 second. Minimum value is 1. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
@@ -16273,7 +17481,8 @@ Resource Types: @@ -16285,7 +17494,7 @@ Resource Types: - +GRPC specifies an action involving a GRPC port.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -16300,7 +17509,7 @@ Resource Types: @@ -16309,7 +17518,8 @@ Resource Types: @@ -16321,7 +17531,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
port integer -
+ Port number of the gRPC service. Number must be in the range 1 to 65535.

Format: int32
service string -
+ Service is the name of the service to place in the gRPC HealthCheckRequest +(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
false
@@ -16336,35 +17546,39 @@ Resource Types: @@ -16376,7 +17590,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -16391,14 +17605,15 @@ Resource Types: @@ -16410,7 +17625,7 @@ Resource Types: - +TCPSocket specifies an action involving a TCP port.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -16425,14 +17640,16 @@ Resource Types: @@ -16444,7 +17661,7 @@ Resource Types: - +ContainerResizePolicy represents resource resize policy for the container.
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -16459,14 +17676,16 @@ Resource Types: @@ -16478,7 +17697,9 @@ Resource Types: - +Compute Resources required by this container. +Cannot be updated. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resourceName string -
+ Name of the resource to which this resource resize policy applies. +Supported values: cpu, memory.
true
restartPolicy string -
+ Restart policy to apply when specified resource is resized. +If not specified, it defaults to NotRequired.
true
@@ -16493,21 +17714,27 @@ Resource Types: @@ -16519,7 +17746,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -16534,7 +17761,9 @@ Resource Types: @@ -16546,7 +17775,8 @@ Resource Types: - +SecurityContext defines the security options the container should be run with. +If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
name string -
+ 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.
true
@@ -16561,42 +17791,55 @@ Resource Types: @@ -16605,14 +17848,16 @@ Resource Types: @@ -16621,21 +17866,26 @@ Resource Types: @@ -16647,7 +17897,9 @@ Resource Types: - +The capabilities to add/drop when running containers. +Defaults to the default set of capabilities granted by the container runtime. +Note that this field cannot be set when spec.os.name is windows.
allowPrivilegeEscalation boolean -
+ AllowPrivilegeEscalation controls whether a process can gain more +privileges than its parent process. This bool directly controls if +the no_new_privs flag will be set on the container process.
false
capabilities object -
+ The capabilities to add/drop when running containers. +Defaults to the default set of capabilities granted by the container runtime. +Note that this field cannot be set when spec.os.name is windows.
false
privileged boolean -
+ Run container in privileged mode. +Processes in privileged containers are essentially equivalent to root on the host. +Defaults to false. +Note that this field cannot be set when spec.os.name is windows.
false
procMount string -
+ procMount denotes the type of proc mount to use for the containers. +The default is DefaultProcMount which uses the container runtime defaults for +readonly paths and masked paths.
false
readOnlyRootFilesystem boolean -
+ Whether this container has a read-only root filesystem. +Default is false. +Note that this field cannot be set when spec.os.name is windows.
false
runAsGroup integer -
+ The GID to run the entrypoint of the container process. +Uses runtime default if unset. +May also be set in PodSecurityContext.

Format: int64
runAsNonRoot boolean -
+ Indicates that the container must run as a non-root user.
false
runAsUser integer -
+ The UID to run the entrypoint of the container process. +Defaults to user specified in image metadata if unspecified. +May also be set in PodSecurityContext.

Format: int64
seLinuxOptions object -
+ The SELinux context to be applied to the container. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in PodSecurityContext.
false
seccompProfile object -
+ The seccomp options to use by this container. If seccomp options are +provided at both the pod & container level, the container options +override the pod options.
false
windowsOptions object -
+ The Windows specific settings applied to all containers. +If unspecified, the options from the PodSecurityContext will be used.
false
@@ -16662,14 +17914,14 @@ Resource Types: @@ -16681,7 +17933,9 @@ Resource Types: - +The SELinux context to be applied to the container. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in PodSecurityContext.
add []string -
+ Added capabilities
false
drop []string -
+ Removed capabilities
false
@@ -16696,28 +17950,28 @@ Resource Types: @@ -16729,7 +17983,9 @@ Resource Types: - +The seccomp options to use by this container. If seccomp options are +provided at both the pod & container level, the container options +override the pod options.
level string -
+ Level is SELinux level label that applies to the container.
false
role string -
+ Role is a SELinux role label that applies to the container.
false
type string -
+ Type is a SELinux type label that applies to the container.
false
user string -
+ User is a SELinux user label that applies to the container.
false
@@ -16744,14 +18000,19 @@ Resource Types: @@ -16763,7 +18024,8 @@ Resource Types: - +The Windows specific settings applied to all containers. +If unspecified, the options from the PodSecurityContext will be used.
type string -
+ type indicates which kind of seccomp profile will be applied. +Valid options are: + + +Localhost - a profile defined in a file on the node should be used.
true
localhostProfile string -
+ localhostProfile indicates a profile defined in a file on the node should be used. +The profile must be preconfigured on the node to work.
false
@@ -16778,28 +18040,32 @@ Resource Types: @@ -16811,7 +18077,8 @@ Resource Types: - +StartupProbe indicates that the Pod has successfully initialized. +If specified, no other probes are executed until this completes successfully.
gmsaCredentialSpec string -
+ GMSACredentialSpec is where the GMSA admission webhook +(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the +GMSA credential spec named by the GMSACredentialSpecName field.
false
gmsaCredentialSpecName string -
+ GMSACredentialSpecName is the name of the GMSA credential spec to use.
false
hostProcess boolean -
+ HostProcess determines if a container should be run as a 'Host Process' container.
false
runAsUserName string -
+ The UserName in Windows to run the entrypoint of the container process. +Defaults to the user specified in image metadata if unspecified. +May also be set in PodSecurityContext.
false
@@ -16826,14 +18093,15 @@ Resource Types: @@ -16842,21 +18110,22 @@ Resource Types: @@ -16865,7 +18134,8 @@ Resource Types: @@ -16874,7 +18144,8 @@ Resource Types: @@ -16883,14 +18154,14 @@ Resource Types: @@ -16899,7 +18170,9 @@ Resource Types: @@ -16913,7 +18186,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
failureThreshold integer -
+ Minimum consecutive failures for the probe to be considered failed after having succeeded. +Defaults to 3. Minimum value is 1.

Format: int32
grpc object -
+ GRPC specifies an action involving a GRPC port.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
initialDelaySeconds integer -
+ Number of seconds after the container has started before liveness probes are initiated. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
periodSeconds integer -
+ How often (in seconds) to perform the probe. +Default to 10 seconds. Minimum value is 1.

Format: int32
successThreshold integer -
+ Minimum consecutive successes for the probe to be considered successful after having failed. +Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

Format: int32
tcpSocket object -
+ TCPSocket specifies an action involving a TCP port.
false
terminationGracePeriodSeconds integer -
+ Optional duration in seconds the pod needs to terminate gracefully upon probe failure.

Format: int64
timeoutSeconds integer -
+ Number of seconds after which the probe times out. +Defaults to 1 second. Minimum value is 1. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
@@ -16928,7 +18201,8 @@ Resource Types: @@ -16940,7 +18214,7 @@ Resource Types: - +GRPC specifies an action involving a GRPC port.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -16955,7 +18229,7 @@ Resource Types: @@ -16964,7 +18238,8 @@ Resource Types: @@ -16976,7 +18251,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
port integer -
+ Port number of the gRPC service. Number must be in the range 1 to 65535.

Format: int32
service string -
+ Service is the name of the service to place in the gRPC HealthCheckRequest +(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
false
@@ -16991,35 +18266,39 @@ Resource Types: @@ -17031,7 +18310,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -17046,14 +18325,15 @@ Resource Types: @@ -17065,7 +18345,7 @@ Resource Types: - +TCPSocket specifies an action involving a TCP port.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -17080,14 +18360,16 @@ Resource Types: @@ -17099,7 +18381,7 @@ Resource Types: - +volumeDevice describes a mapping of a raw block device within a container.
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -17114,14 +18396,14 @@ Resource Types: @@ -17133,7 +18415,7 @@ Resource Types: - +VolumeMount describes a mounting of a Volume within a container.
devicePath string -
+ devicePath is the path inside of the container that the device will be mapped to.
true
name string -
+ name must match the name of a persistentVolumeClaim in the pod
true
@@ -17148,42 +18430,48 @@ Resource Types: @@ -17195,7 +18483,7 @@ Resource Types: - +Actions that the management system should take in response to container lifecycle events. Cannot be updated.
mountPath string -
+ Path within the container at which the volume should be mounted. Must +not contain ':'.
true
name string -
+ This must match the Name of a Volume.
true
mountPropagation string -
+ mountPropagation determines how mounts are propagated from the host +to container and the other way around. +When not set, MountPropagationNone is used. +This field is beta in 1.10.
false
readOnly boolean -
+ Mounted read-only if true, read-write otherwise (false or unspecified). +Defaults to false.
false
subPath string -
+ Path within the volume from which the container's volume should be mounted. +Defaults to "" (volume's root).
false
subPathExpr string -
+ Expanded path within the volume from which the container's volume should be mounted.
false
@@ -17210,14 +18498,17 @@ Resource Types: @@ -17229,7 +18520,8 @@ Resource Types: - +PostStart is called immediately after a container is created. If the handler fails, +the container is terminated and restarted according to its restart policy.
postStart object -
+ PostStart is called immediately after a container is created. If the handler fails, +the container is terminated and restarted according to its restart policy.
false
preStop object -
+ PreStop is called immediately before a container is terminated due to an +API request or management event such as liveness/startup probe failure, +preemption, resource contention, etc.
false
@@ -17244,28 +18536,29 @@ Resource Types: @@ -17277,7 +18570,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
sleep object -
+ Sleep represents the duration that the container should sleep before being terminated.
false
tcpSocket object -
+ Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
false
@@ -17292,7 +18585,8 @@ Resource Types: @@ -17304,7 +18598,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -17319,35 +18613,39 @@ Resource Types: @@ -17359,7 +18657,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -17374,14 +18672,15 @@ Resource Types: @@ -17393,7 +18692,7 @@ Resource Types: - +Sleep represents the duration that the container should sleep before being terminated.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -17408,7 +18707,7 @@ Resource Types: @@ -17422,7 +18721,8 @@ Resource Types: - +Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
seconds integer -
+ Seconds is the number of seconds to sleep.

Format: int64
@@ -17437,14 +18737,16 @@ Resource Types: @@ -17456,7 +18758,9 @@ Resource Types: - +PreStop is called immediately before a container is terminated due to an +API request or management event such as liveness/startup probe failure, +preemption, resource contention, etc.
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -17471,28 +18775,29 @@ Resource Types: @@ -17504,7 +18809,7 @@ Resource Types: - +Exec specifies the action to take.
exec object -
+ Exec specifies the action to take.
false
httpGet object -
+ HTTPGet specifies the http request to perform.
false
sleep object -
+ Sleep represents the duration that the container should sleep before being terminated.
false
tcpSocket object -
+ Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
false
@@ -17519,7 +18824,8 @@ Resource Types: @@ -17531,7 +18837,7 @@ Resource Types: - +HTTPGet specifies the http request to perform.
command []string -
+ Command is the command line to execute inside the container, the working directory for the +command is root ('/') in the container's filesystem.
false
@@ -17546,35 +18852,39 @@ Resource Types: @@ -17586,7 +18896,7 @@ Resource Types: - +HTTPHeader describes a custom header to be used in HTTP probes
port int or string -
+ Name or number of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Host name to connect to, defaults to the pod IP. You probably want to set +"Host" in httpHeaders instead.
false
httpHeaders []object -
+ Custom headers to set in the request. HTTP allows repeated headers.
false
path string -
+ Path to access on the HTTP server.
false
scheme string -
+ Scheme to use for connecting to the host. +Defaults to HTTP.
false
@@ -17601,14 +18911,15 @@ Resource Types: @@ -17620,7 +18931,7 @@ Resource Types: - +Sleep represents the duration that the container should sleep before being terminated.
name string -
+ The header field name. +This will be canonicalized upon output, so case-variant names will be understood as the same header.
true
value string -
+ The header field value
true
@@ -17635,7 +18946,7 @@ Resource Types: @@ -17649,7 +18960,8 @@ Resource Types: - +Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept +for the backward compatibility.
seconds integer -
+ Seconds is the number of seconds to sleep.

Format: int64
@@ -17664,14 +18976,16 @@ Resource Types: @@ -17683,7 +18997,7 @@ Resource Types: - +Liveness config for the OpenTelemetry Collector except the probe handler which is auto generated from the health extension of the collector.
port int or string -
+ Number or name of the port to access on the container. +Number must be in the range 1 to 65535. +Name must be an IANA_SVC_NAME.
true
host string -
+ Optional: Host name to connect to, defaults to the pod IP.
false
@@ -17698,7 +19012,8 @@ Resource Types: @@ -17707,7 +19022,9 @@ Resource Types: @@ -17716,7 +19033,8 @@ Resource Types: @@ -17725,7 +19043,8 @@ Resource Types: @@ -17734,7 +19053,7 @@ Resource Types: @@ -17743,7 +19062,9 @@ Resource Types: @@ -17757,7 +19078,7 @@ Resource Types: - +ObservabilitySpec defines how telemetry data gets handled.
failureThreshold integer -
+ Minimum consecutive failures for the probe to be considered failed after having succeeded. +Defaults to 3. Minimum value is 1.

Format: int32
initialDelaySeconds integer -
+ Number of seconds after the container has started before liveness probes are initiated. +Defaults to 0 seconds. Minimum value is 0. +More info: https://kubernetes.

Format: int32
periodSeconds integer -
+ How often (in seconds) to perform the probe. +Default to 10 seconds. Minimum value is 1.

Format: int32
successThreshold integer -
+ Minimum consecutive successes for the probe to be considered successful after having failed. +Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

Format: int32
terminationGracePeriodSeconds integer -
+ Optional duration in seconds the pod needs to terminate gracefully upon probe failure.

Format: int64
timeoutSeconds integer -
+ Number of seconds after which the probe times out. +Defaults to 1 second. Minimum value is 1. +More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Format: int32
@@ -17772,7 +19093,7 @@ Resource Types: @@ -17784,7 +19105,7 @@ Resource Types: - +Metrics defines the metrics configuration for operands.
metrics object -
+ Metrics defines the metrics configuration for operands.
false
@@ -17799,14 +19120,16 @@ Resource Types: @@ -17818,7 +19141,8 @@ Resource Types: - +PodDisruptionBudget specifies the pod disruption budget configuration to use +for the OpenTelemetryCollector workload.
DisablePrometheusAnnotations boolean -
+ DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations +('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')
false
enableMetrics boolean -
+ EnableMetrics specifies if ServiceMonitor or PodMonitor(for sidecar mode) should be created for the service managed by the OpenTelemetry Operator. +The operator.observability.
false
@@ -17833,14 +19157,18 @@ Resource Types: @@ -17852,7 +19180,9 @@ Resource Types: - +PodSecurityContext configures the pod security context for the +opentelemetry-collector pod, when running as a deployment, daemonset, +or statefulset.
maxUnavailable int or string -
+ An eviction is allowed if at most "maxUnavailable" pods selected by +"selector" are unavailable after the eviction, i.e. even in absence of +the evicted pod.
false
minAvailable int or string -
+ An eviction is allowed if at least "minAvailable" pods selected by +"selector" will still be available after the eviction, i.e. even in the +absence of the evicted pod.
false
@@ -17867,7 +19197,12 @@ Resource Types: @@ -17876,14 +19211,17 @@ Resource Types: @@ -17892,14 +19230,16 @@ Resource Types: @@ -17908,35 +19248,43 @@ Resource Types: @@ -17948,7 +19296,9 @@ Resource Types: - +The SELinux context to be applied to all containers. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in SecurityContext.
fsGroup integer -
+ A special supplemental group that applies to all containers in a pod. +Some volume types allow the Kubelet to change the ownership of that volume +to be owned by the pod: + + +1.

Format: int64
fsGroupChangePolicy string -
+ fsGroupChangePolicy defines behavior of changing ownership and permission of the volume +before being exposed inside Pod.
false
runAsGroup integer -
+ The GID to run the entrypoint of the container process. +Uses runtime default if unset. +May also be set in SecurityContext.

Format: int64
runAsNonRoot boolean -
+ Indicates that the container must run as a non-root user.
false
runAsUser integer -
+ The UID to run the entrypoint of the container process. +Defaults to user specified in image metadata if unspecified. +May also be set in SecurityContext.

Format: int64
seLinuxOptions object -
+ The SELinux context to be applied to all containers. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in SecurityContext.
false
seccompProfile object -
+ The seccomp options to use by the containers in this pod. +Note that this field cannot be set when spec.os.name is windows.
false
supplementalGroups []integer -
+ A list of groups applied to the first process run in each container, in addition +to the container's primary GID, the fsGroup (if specified), and group memberships +defined in the container image for th
false
sysctls []object -
+ Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported +sysctls (by the container runtime) might fail to launch. +Note that this field cannot be set when spec.os.
false
windowsOptions object -
+ The Windows specific settings applied to all containers. +If unspecified, the options within a container's SecurityContext will be used.
false
@@ -17963,28 +19313,28 @@ Resource Types: @@ -17996,7 +19346,8 @@ Resource Types: - +The seccomp options to use by the containers in this pod. +Note that this field cannot be set when spec.os.name is windows.
level string -
+ Level is SELinux level label that applies to the container.
false
role string -
+ Role is a SELinux role label that applies to the container.
false
type string -
+ Type is a SELinux type label that applies to the container.
false
user string -
+ User is a SELinux user label that applies to the container.
false
@@ -18011,14 +19362,19 @@ Resource Types: @@ -18030,7 +19386,7 @@ Resource Types: - +Sysctl defines a kernel parameter to be set
type string -
+ type indicates which kind of seccomp profile will be applied. +Valid options are: + + +Localhost - a profile defined in a file on the node should be used.
true
localhostProfile string -
+ localhostProfile indicates a profile defined in a file on the node should be used. +The profile must be preconfigured on the node to work.
false
@@ -18045,14 +19401,14 @@ Resource Types: @@ -18064,7 +19420,8 @@ Resource Types: - +The Windows specific settings applied to all containers. +If unspecified, the options within a container's SecurityContext will be used.
name string -
+ Name of a property to set
true
value string -
+ Value of a property to set
true
@@ -18079,28 +19436,32 @@ Resource Types: @@ -18112,7 +19473,7 @@ Resource Types: - +ServicePort contains information on service's port.
gmsaCredentialSpec string -
+ GMSACredentialSpec is where the GMSA admission webhook +(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the +GMSA credential spec named by the GMSACredentialSpecName field.
false
gmsaCredentialSpecName string -
+ GMSACredentialSpecName is the name of the GMSA credential spec to use.
false
hostProcess boolean -
+ HostProcess determines if a container should be run as a 'Host Process' container.
false
runAsUserName string -
+ The UserName in Windows to run the entrypoint of the container process. +Defaults to the user specified in image metadata if unspecified. +May also be set in PodSecurityContext.
false
@@ -18127,7 +19488,7 @@ Resource Types: @@ -18136,21 +19497,25 @@ Resource Types: @@ -18159,7 +19524,8 @@ Resource Types: @@ -18168,7 +19534,8 @@ Resource Types: @@ -18180,7 +19547,7 @@ Resource Types: - +Resources to set on the OpenTelemetry Collector pods.
port integer -
+ The port that will be exposed by this service.

Format: int32
appProtocol string -
+ The application protocol for this port. +This is used as a hint for implementations to offer richer behavior for protocols that they understand. +This field follows standard Kubernetes label syntax.
false
name string -
+ The name of this port within the service. This must be a DNS_LABEL. +All ports within a ServiceSpec must have unique names.
false
nodePort integer -
+ The port on each node on which this service is exposed when type is +NodePort or LoadBalancer. Usually assigned by the system.

Format: int32
protocol string -
+ The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". +Default is TCP.

Default: TCP
targetPort int or string -
+ Number or name of the port to access on the pods targeted by the service. +Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
false
@@ -18195,21 +19562,27 @@ Resource Types: @@ -18221,7 +19594,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -18236,7 +19609,9 @@ Resource Types: @@ -18248,7 +19623,8 @@ Resource Types: - +SecurityContext configures the container security context for +the opentelemetry-collector container.
name string -
+ 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.
true
@@ -18263,42 +19639,55 @@ Resource Types: @@ -18307,14 +19696,16 @@ Resource Types: @@ -18323,21 +19714,26 @@ Resource Types: @@ -18349,7 +19745,9 @@ Resource Types: - +The capabilities to add/drop when running containers. +Defaults to the default set of capabilities granted by the container runtime. +Note that this field cannot be set when spec.os.name is windows.
allowPrivilegeEscalation boolean -
+ AllowPrivilegeEscalation controls whether a process can gain more +privileges than its parent process. This bool directly controls if +the no_new_privs flag will be set on the container process.
false
capabilities object -
+ The capabilities to add/drop when running containers. +Defaults to the default set of capabilities granted by the container runtime. +Note that this field cannot be set when spec.os.name is windows.
false
privileged boolean -
+ Run container in privileged mode. +Processes in privileged containers are essentially equivalent to root on the host. +Defaults to false. +Note that this field cannot be set when spec.os.name is windows.
false
procMount string -
+ procMount denotes the type of proc mount to use for the containers. +The default is DefaultProcMount which uses the container runtime defaults for +readonly paths and masked paths.
false
readOnlyRootFilesystem boolean -
+ Whether this container has a read-only root filesystem. +Default is false. +Note that this field cannot be set when spec.os.name is windows.
false
runAsGroup integer -
+ The GID to run the entrypoint of the container process. +Uses runtime default if unset. +May also be set in PodSecurityContext.

Format: int64
runAsNonRoot boolean -
+ Indicates that the container must run as a non-root user.
false
runAsUser integer -
+ The UID to run the entrypoint of the container process. +Defaults to user specified in image metadata if unspecified. +May also be set in PodSecurityContext.

Format: int64
seLinuxOptions object -
+ The SELinux context to be applied to the container. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in PodSecurityContext.
false
seccompProfile object -
+ The seccomp options to use by this container. If seccomp options are +provided at both the pod & container level, the container options +override the pod options.
false
windowsOptions object -
+ The Windows specific settings applied to all containers. +If unspecified, the options from the PodSecurityContext will be used.
false
@@ -18364,14 +19762,14 @@ Resource Types: @@ -18383,7 +19781,9 @@ Resource Types: - +The SELinux context to be applied to the container. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in PodSecurityContext.
add []string -
+ Added capabilities
false
drop []string -
+ Removed capabilities
false
@@ -18398,28 +19798,28 @@ Resource Types: @@ -18431,7 +19831,9 @@ Resource Types: - +The seccomp options to use by this container. If seccomp options are +provided at both the pod & container level, the container options +override the pod options.
level string -
+ Level is SELinux level label that applies to the container.
false
role string -
+ Role is a SELinux role label that applies to the container.
false
type string -
+ Type is a SELinux type label that applies to the container.
false
user string -
+ User is a SELinux user label that applies to the container.
false
@@ -18446,14 +19848,19 @@ Resource Types: @@ -18465,7 +19872,8 @@ Resource Types: - +The Windows specific settings applied to all containers. +If unspecified, the options from the PodSecurityContext will be used.
type string -
+ type indicates which kind of seccomp profile will be applied. +Valid options are: + + +Localhost - a profile defined in a file on the node should be used.
true
localhostProfile string -
+ localhostProfile indicates a profile defined in a file on the node should be used. +The profile must be preconfigured on the node to work.
false
@@ -18480,28 +19888,32 @@ Resource Types: @@ -18513,7 +19925,7 @@ Resource Types: - +TargetAllocator indicates a value which determines whether to spawn a target allocation resource or not.
gmsaCredentialSpec string -
+ GMSACredentialSpec is where the GMSA admission webhook +(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the +GMSA credential spec named by the GMSACredentialSpecName field.
false
gmsaCredentialSpecName string -
+ GMSACredentialSpecName is the name of the GMSA credential spec to use.
false
hostProcess boolean -
+ HostProcess determines if a container should be run as a 'Host Process' container.
false
runAsUserName string -
+ The UserName in Windows to run the entrypoint of the container process. +Defaults to the user specified in image metadata if unspecified. +May also be set in PodSecurityContext.
false
@@ -18528,14 +19940,16 @@ Resource Types: @@ -18568,49 +19984,52 @@ Resource Types: @@ -18619,35 +20038,40 @@ Resource Types: @@ -18659,7 +20083,7 @@ Resource Types: - +If specified, indicates the pod's scheduling constraints
affinity object -
+ If specified, indicates the pod's scheduling constraints
false
allocationStrategy enum -
+ AllocationStrategy determines which strategy the target allocator should use for allocation. +The current options are least-weighted, consistent-hashing and per-node. The default is +consistent-hashing.

Enum: least-weighted, consistent-hashing, per-node
Default: consistent-hashing
@@ -18545,21 +19959,23 @@ Resource Types:
enabled boolean -
+ Enabled indicates whether to use a target allocation mechanism for Prometheus targets or not.
false
env []object -
+ ENV vars to set on the OpenTelemetry TargetAllocator's Pods. These can then in certain cases be +consumed in the config file for the TargetAllocator.
false
filterStrategy string -
+ FilterStrategy determines how to filter targets before allocating them among the collectors. +The only current option is relabel-config (drops targets based on prom relabel_config).

Default: relabel-config
image string -
+ Image indicates the container image to use for the OpenTelemetry TargetAllocator.
false
nodeSelector map[string]string -
+ NodeSelector to schedule OpenTelemetry TargetAllocator pods.
false
observability object -
+ ObservabilitySpec defines how telemetry data gets handled.
false
podDisruptionBudget object -
+ PodDisruptionBudget specifies the pod disruption budget configuration to use +for the target allocator workload.
false
podSecurityContext object -
+ PodSecurityContext configures the pod security context for the +targetallocator.
false
prometheusCR object -
+ PrometheusCR defines the configuration for the retrieval of PrometheusOperator CRDs ( servicemonitor.monitoring.coreos.com/v1 and podmonitor.monitoring.coreos.com/v1 ) retrieval.
false
replicas integer -
+ Replicas is the number of pod instances for the underlying TargetAllocator. This should only be set to a value +other than 1 if a strategy that allows for high availability is chosen.

Format: int32
resources object -
+ Resources to set on the OpenTelemetryTargetAllocator containers.
false
securityContext object -
+ SecurityContext configures the container security context for +the targetallocator.
false
serviceAccount string -
+ ServiceAccount indicates the name of an existing service account to use with this instance. When set, +the operator will not automatically create a ServiceAccount for the TargetAllocator.
false
tolerations []object -
+ Toleration embedded kubernetes pod configuration option, +controls how pods can be scheduled with matching taints
false
topologySpreadConstraints []object -
+ TopologySpreadConstraints embedded kubernetes pod configuration option, +controls how pods are spread across your cluster among failure-domains +such as regions, zones, nodes, and other user-defined top
false
@@ -18674,21 +20098,21 @@ Resource Types: @@ -18700,7 +20124,7 @@ Resource Types: - +Describes node affinity scheduling rules for the pod.
nodeAffinity object -
+ Describes node affinity scheduling rules for the pod.
false
podAffinity object -
+ Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
false
podAntiAffinity object -
+ Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
false
@@ -18715,14 +20139,17 @@ Resource Types: @@ -18734,7 +20161,8 @@ Resource Types: - +An empty preferred scheduling term matches all objects with implicit weight 0 +(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
preferredDuringSchedulingIgnoredDuringExecution []object -
+ The scheduler will prefer to schedule pods to nodes that satisfy +the affinity expressions specified by this field, but it may choose +a node that violates one or more of the expressions.
false
requiredDuringSchedulingIgnoredDuringExecution object -
+ If the affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
false
@@ -18749,14 +20177,14 @@ Resource Types: @@ -18770,7 +20198,7 @@ Resource Types: - +A node selector term, associated with the corresponding weight.
preference object -
+ A node selector term, associated with the corresponding weight.
true
weight integer -
+ Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.

Format: int32
@@ -18785,14 +20213,14 @@ Resource Types: @@ -18804,7 +20232,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
matchExpressions []object -
+ A list of node selector requirements by node's labels.
false
matchFields []object -
+ A list of node selector requirements by node's fields.
false
@@ -18819,21 +20248,24 @@ Resource Types: @@ -18845,7 +20277,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -18860,21 +20293,24 @@ Resource Types: @@ -18886,7 +20322,8 @@ Resource Types: - +If the affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -18901,7 +20338,7 @@ Resource Types: @@ -18913,7 +20350,9 @@ Resource Types: - +A null or empty node selector term matches no objects. The requirements of +them are ANDed. +The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
nodeSelectorTerms []object -
+ Required. A list of node selector terms. The terms are ORed.
true
@@ -18928,14 +20367,14 @@ Resource Types: @@ -18947,7 +20386,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
matchExpressions []object -
+ A list of node selector requirements by node's labels.
false
matchFields []object -
+ A list of node selector requirements by node's fields.
false
@@ -18962,21 +20402,24 @@ Resource Types: @@ -18988,7 +20431,8 @@ Resource Types: - +A node selector requirement is a selector that contains values, a key, and an operator +that relates the key and values.
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -19003,21 +20447,24 @@ Resource Types: @@ -19029,7 +20476,7 @@ Resource Types: - +Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
key string -
+ The label key that the selector applies to.
true
operator string -
+ Represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
true
values []string -
+ 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.
false
@@ -19044,14 +20491,17 @@ Resource Types: @@ -19063,7 +20513,7 @@ Resource Types: - +The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
preferredDuringSchedulingIgnoredDuringExecution []object -
+ The scheduler will prefer to schedule pods to nodes that satisfy +the affinity expressions specified by this field, but it may choose +a node that violates one or more of the expressions.
false
requiredDuringSchedulingIgnoredDuringExecution []object -
+ If the affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
false
@@ -19078,14 +20528,15 @@ Resource Types: @@ -19099,7 +20550,7 @@ Resource Types: - +Required. A pod affinity term, associated with the corresponding weight.
podAffinityTerm object -
+ Required. A pod affinity term, associated with the corresponding weight.
true
weight integer -
+ weight associated with matching the corresponding podAffinityTerm, +in the range 1-100.

Format: int32
@@ -19114,42 +20565,51 @@ Resource Types: @@ -19161,7 +20621,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -19176,14 +20637,14 @@ Resource Types: @@ -19195,7 +20656,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -19210,21 +20672,24 @@ Resource Types: @@ -19236,7 +20701,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -19251,14 +20718,14 @@ Resource Types: @@ -19270,7 +20737,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -19285,21 +20753,24 @@ Resource Types: @@ -19311,7 +20782,10 @@ Resource Types: - +Defines a set of pods (namely those matching the labelSelector +relative to the given namespace(s)) that this pod should be +co-located (affinity) or not co-located (anti-affinity) with, +where co-locate
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -19326,42 +20800,51 @@ Resource Types: @@ -19373,7 +20856,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -19388,14 +20872,14 @@ Resource Types: @@ -19407,7 +20891,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -19422,21 +20907,24 @@ Resource Types: @@ -19448,7 +20936,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -19463,14 +20953,14 @@ Resource Types: @@ -19482,7 +20972,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -19497,21 +20988,24 @@ Resource Types: @@ -19523,7 +21017,7 @@ Resource Types: - +Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -19538,14 +21032,17 @@ Resource Types: @@ -19557,7 +21054,7 @@ Resource Types: - +The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
preferredDuringSchedulingIgnoredDuringExecution []object -
+ The scheduler will prefer to schedule pods to nodes that satisfy +the anti-affinity expressions specified by this field, but it may choose +a node that violates one or more of the expressions.
false
requiredDuringSchedulingIgnoredDuringExecution []object -
+ If the anti-affinity requirements specified by this field are not met at +scheduling time, the pod will not be scheduled onto the node.
false
@@ -19572,14 +21069,15 @@ Resource Types: @@ -19593,7 +21091,7 @@ Resource Types: - +Required. A pod affinity term, associated with the corresponding weight.
podAffinityTerm object -
+ Required. A pod affinity term, associated with the corresponding weight.
true
weight integer -
+ weight associated with matching the corresponding podAffinityTerm, +in the range 1-100.

Format: int32
@@ -19608,42 +21106,51 @@ Resource Types: @@ -19655,7 +21162,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -19670,14 +21178,14 @@ Resource Types: @@ -19689,7 +21197,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -19704,21 +21213,24 @@ Resource Types: @@ -19730,7 +21242,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -19745,14 +21259,14 @@ Resource Types: @@ -19764,7 +21278,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -19779,21 +21294,24 @@ Resource Types: @@ -19805,7 +21323,10 @@ Resource Types: - +Defines a set of pods (namely those matching the labelSelector +relative to the given namespace(s)) that this pod should be +co-located (affinity) or not co-located (anti-affinity) with, +where co-locate
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -19820,42 +21341,51 @@ Resource Types: @@ -19867,7 +21397,8 @@ Resource Types: - +A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
topologyKey string -
+ This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching +the labelSelector in the specified namespaces, where co-located is defined as running on a node +whose
true
labelSelector object -
+ A label query over a set of resources, in this case pods. +If it's null, this PodAffinityTerm matches with no Pods.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
mismatchLabelKeys []string -
+ MismatchLabelKeys is a set of pod label keys to select which pods will +be taken into consideration.
false
namespaceSelector object -
+ A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
false
namespaces []string -
+ namespaces specifies a static list of namespace names that the term applies to. +The term is applied to the union of the namespaces listed in this field +and the ones selected by namespaceSelector.
false
@@ -19882,14 +21413,14 @@ Resource Types: @@ -19901,7 +21432,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -19916,21 +21448,24 @@ Resource Types: @@ -19942,7 +21477,9 @@ Resource Types: - +A label query over the set of namespaces that the term applies to. +The term is applied to the union of the namespaces selected by this field +and the ones listed in the namespaces field.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -19957,14 +21494,14 @@ Resource Types: @@ -19976,7 +21513,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -19991,21 +21529,24 @@ Resource Types: @@ -20017,7 +21558,7 @@ Resource Types: - +EnvVar represents an environment variable present in a Container.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -20032,21 +21573,23 @@ Resource Types: @@ -20058,7 +21601,7 @@ Resource Types: - +Source for the environment variable's value. Cannot be used if value is not empty.
name string -
+ Name of the environment variable. Must be a C_IDENTIFIER.
true
value string -
+ Variable references $(VAR_NAME) are expanded +using the previously defined environment variables in the container and +any service environment variables.
false
valueFrom object -
+ Source for the environment variable's value. Cannot be used if value is not empty.
false
@@ -20073,28 +21616,30 @@ Resource Types: @@ -20106,7 +21651,7 @@ Resource Types: - +Selects a key of a ConfigMap.
configMapKeyRef object -
+ Selects a key of a ConfigMap.
false
fieldRef object -
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
false
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
false
secretKeyRef object -
+ Selects a key of a secret in the pod's namespace
false
@@ -20121,21 +21666,23 @@ Resource Types: @@ -20147,7 +21694,8 @@ Resource Types: - +Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, +spec.nodeName, spec.serviceAccountName, status.hostIP, status.
key string -
+ The key to select.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the ConfigMap or its key must be defined
false
@@ -20162,14 +21710,14 @@ Resource Types: @@ -20181,7 +21729,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -20196,21 +21745,21 @@ Resource Types: @@ -20222,7 +21771,7 @@ Resource Types: - +Selects a key of a secret in the pod's namespace
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -20237,21 +21786,23 @@ Resource Types: @@ -20263,7 +21814,7 @@ Resource Types: - +ObservabilitySpec defines how telemetry data gets handled.
key string -
+ The key of the secret to select from. Must be a valid secret key.
true
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ Specify whether the Secret or its key must be defined
false
@@ -20278,7 +21829,7 @@ Resource Types: @@ -20290,7 +21841,7 @@ Resource Types: - +Metrics defines the metrics configuration for operands.
metrics object -
+ Metrics defines the metrics configuration for operands.
false
@@ -20305,14 +21856,16 @@ Resource Types: @@ -20324,7 +21877,8 @@ Resource Types: - +PodDisruptionBudget specifies the pod disruption budget configuration to use +for the target allocator workload.
DisablePrometheusAnnotations boolean -
+ DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations +('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')
false
enableMetrics boolean -
+ EnableMetrics specifies if ServiceMonitor or PodMonitor(for sidecar mode) should be created for the service managed by the OpenTelemetry Operator. +The operator.observability.
false
@@ -20339,14 +21893,18 @@ Resource Types: @@ -20358,7 +21916,8 @@ Resource Types: - +PodSecurityContext configures the pod security context for the +targetallocator.
maxUnavailable int or string -
+ An eviction is allowed if at most "maxUnavailable" pods selected by +"selector" are unavailable after the eviction, i.e. even in absence of +the evicted pod.
false
minAvailable int or string -
+ An eviction is allowed if at least "minAvailable" pods selected by +"selector" will still be available after the eviction, i.e. even in the +absence of the evicted pod.
false
@@ -20373,7 +21932,12 @@ Resource Types: @@ -20382,14 +21946,17 @@ Resource Types: @@ -20398,14 +21965,16 @@ Resource Types: @@ -20414,35 +21983,43 @@ Resource Types: @@ -20454,7 +22031,9 @@ Resource Types: - +The SELinux context to be applied to all containers. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in SecurityContext.
fsGroup integer -
+ A special supplemental group that applies to all containers in a pod. +Some volume types allow the Kubelet to change the ownership of that volume +to be owned by the pod: + + +1.

Format: int64
fsGroupChangePolicy string -
+ fsGroupChangePolicy defines behavior of changing ownership and permission of the volume +before being exposed inside Pod.
false
runAsGroup integer -
+ The GID to run the entrypoint of the container process. +Uses runtime default if unset. +May also be set in SecurityContext.

Format: int64
runAsNonRoot boolean -
+ Indicates that the container must run as a non-root user.
false
runAsUser integer -
+ The UID to run the entrypoint of the container process. +Defaults to user specified in image metadata if unspecified. +May also be set in SecurityContext.

Format: int64
seLinuxOptions object -
+ The SELinux context to be applied to all containers. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in SecurityContext.
false
seccompProfile object -
+ The seccomp options to use by the containers in this pod. +Note that this field cannot be set when spec.os.name is windows.
false
supplementalGroups []integer -
+ A list of groups applied to the first process run in each container, in addition +to the container's primary GID, the fsGroup (if specified), and group memberships +defined in the container image for th
false
sysctls []object -
+ Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported +sysctls (by the container runtime) might fail to launch. +Note that this field cannot be set when spec.os.
false
windowsOptions object -
+ The Windows specific settings applied to all containers. +If unspecified, the options within a container's SecurityContext will be used.
false
@@ -20469,28 +22048,28 @@ Resource Types: @@ -20502,7 +22081,8 @@ Resource Types: - +The seccomp options to use by the containers in this pod. +Note that this field cannot be set when spec.os.name is windows.
level string -
+ Level is SELinux level label that applies to the container.
false
role string -
+ Role is a SELinux role label that applies to the container.
false
type string -
+ Type is a SELinux type label that applies to the container.
false
user string -
+ User is a SELinux user label that applies to the container.
false
@@ -20517,14 +22097,19 @@ Resource Types: @@ -20536,7 +22121,7 @@ Resource Types: - +Sysctl defines a kernel parameter to be set
type string -
+ type indicates which kind of seccomp profile will be applied. +Valid options are: + + +Localhost - a profile defined in a file on the node should be used.
true
localhostProfile string -
+ localhostProfile indicates a profile defined in a file on the node should be used. +The profile must be preconfigured on the node to work.
false
@@ -20551,14 +22136,14 @@ Resource Types: @@ -20570,7 +22155,8 @@ Resource Types: - +The Windows specific settings applied to all containers. +If unspecified, the options within a container's SecurityContext will be used.
name string -
+ Name of a property to set
true
value string -
+ Value of a property to set
true
@@ -20585,28 +22171,32 @@ Resource Types: @@ -20618,7 +22208,7 @@ Resource Types: - +PrometheusCR defines the configuration for the retrieval of PrometheusOperator CRDs ( servicemonitor.monitoring.coreos.com/v1 and podmonitor.monitoring.coreos.com/v1 ) retrieval.
gmsaCredentialSpec string -
+ GMSACredentialSpec is where the GMSA admission webhook +(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the +GMSA credential spec named by the GMSACredentialSpecName field.
false
gmsaCredentialSpecName string -
+ GMSACredentialSpecName is the name of the GMSA credential spec to use.
false
hostProcess boolean -
+ HostProcess determines if a container should be run as a 'Host Process' container.
false
runAsUserName string -
+ The UserName in Windows to run the entrypoint of the container process. +Defaults to the user specified in image metadata if unspecified. +May also be set in PodSecurityContext.
false
@@ -20633,21 +22223,26 @@ Resource Types: @@ -20669,7 +22266,7 @@ Resource Types: - +Resources to set on the OpenTelemetryTargetAllocator containers.
enabled boolean -
+ Enabled indicates whether to use a PrometheusOperator custom resources as targets or not.
false
podMonitorSelector map[string]string -
+ PodMonitors to be selected for target discovery. +This is a map of {key,value} pairs. Each {key,value} in the map is going to exactly match a label in a +PodMonitor's meta labels.
false
scrapeInterval string -
+ Interval between consecutive scrapes. Equivalent to the same setting on the Prometheus CRD. + + +Default: "30s"

Format: duration
Default: 30s
@@ -20657,7 +22252,9 @@ Resource Types:
serviceMonitorSelector map[string]string -
+ ServiceMonitors to be selected for target discovery. +This is a map of {key,value} pairs. Each {key,value} in the map is going to exactly match a label in a +ServiceMonitor's meta labels.
false
@@ -20684,21 +22281,27 @@ Resource Types: @@ -20710,7 +22313,7 @@ Resource Types: - +ResourceClaim references one entry in PodSpec.ResourceClaims.
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.
false
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -20725,7 +22328,9 @@ Resource Types: @@ -20737,7 +22342,8 @@ Resource Types: - +SecurityContext configures the container security context for +the targetallocator.
name string -
+ 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.
true
@@ -20752,42 +22358,55 @@ Resource Types: @@ -20796,14 +22415,16 @@ Resource Types: @@ -20812,21 +22433,26 @@ Resource Types: @@ -20838,7 +22464,9 @@ Resource Types: - +The capabilities to add/drop when running containers. +Defaults to the default set of capabilities granted by the container runtime. +Note that this field cannot be set when spec.os.name is windows.
allowPrivilegeEscalation boolean -
+ AllowPrivilegeEscalation controls whether a process can gain more +privileges than its parent process. This bool directly controls if +the no_new_privs flag will be set on the container process.
false
capabilities object -
+ The capabilities to add/drop when running containers. +Defaults to the default set of capabilities granted by the container runtime. +Note that this field cannot be set when spec.os.name is windows.
false
privileged boolean -
+ Run container in privileged mode. +Processes in privileged containers are essentially equivalent to root on the host. +Defaults to false. +Note that this field cannot be set when spec.os.name is windows.
false
procMount string -
+ procMount denotes the type of proc mount to use for the containers. +The default is DefaultProcMount which uses the container runtime defaults for +readonly paths and masked paths.
false
readOnlyRootFilesystem boolean -
+ Whether this container has a read-only root filesystem. +Default is false. +Note that this field cannot be set when spec.os.name is windows.
false
runAsGroup integer -
+ The GID to run the entrypoint of the container process. +Uses runtime default if unset. +May also be set in PodSecurityContext.

Format: int64
runAsNonRoot boolean -
+ Indicates that the container must run as a non-root user.
false
runAsUser integer -
+ The UID to run the entrypoint of the container process. +Defaults to user specified in image metadata if unspecified. +May also be set in PodSecurityContext.

Format: int64
seLinuxOptions object -
+ The SELinux context to be applied to the container. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in PodSecurityContext.
false
seccompProfile object -
+ The seccomp options to use by this container. If seccomp options are +provided at both the pod & container level, the container options +override the pod options.
false
windowsOptions object -
+ The Windows specific settings applied to all containers. +If unspecified, the options from the PodSecurityContext will be used.
false
@@ -20853,14 +22481,14 @@ Resource Types: @@ -20872,7 +22500,9 @@ Resource Types: - +The SELinux context to be applied to the container. +If unspecified, the container runtime will allocate a random SELinux context for each +container. May also be set in PodSecurityContext.
add []string -
+ Added capabilities
false
drop []string -
+ Removed capabilities
false
@@ -20887,28 +22517,28 @@ Resource Types: @@ -20920,7 +22550,9 @@ Resource Types: - +The seccomp options to use by this container. If seccomp options are +provided at both the pod & container level, the container options +override the pod options.
level string -
+ Level is SELinux level label that applies to the container.
false
role string -
+ Role is a SELinux role label that applies to the container.
false
type string -
+ Type is a SELinux type label that applies to the container.
false
user string -
+ User is a SELinux user label that applies to the container.
false
@@ -20935,14 +22567,19 @@ Resource Types: @@ -20954,7 +22591,8 @@ Resource Types: - +The Windows specific settings applied to all containers. +If unspecified, the options from the PodSecurityContext will be used.
type string -
+ type indicates which kind of seccomp profile will be applied. +Valid options are: + + +Localhost - a profile defined in a file on the node should be used.
true
localhostProfile string -
+ localhostProfile indicates a profile defined in a file on the node should be used. +The profile must be preconfigured on the node to work.
false
@@ -20969,28 +22607,32 @@ Resource Types: @@ -21002,7 +22644,8 @@ Resource Types: - +The pod this Toleration is attached to tolerates any taint that matches +the triple using the matching operator .
gmsaCredentialSpec string -
+ GMSACredentialSpec is where the GMSA admission webhook +(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the +GMSA credential spec named by the GMSACredentialSpecName field.
false
gmsaCredentialSpecName string -
+ GMSACredentialSpecName is the name of the GMSA credential spec to use.
false
hostProcess boolean -
+ HostProcess determines if a container should be run as a 'Host Process' container.
false
runAsUserName string -
+ The UserName in Windows to run the entrypoint of the container process. +Defaults to the user specified in image metadata if unspecified. +May also be set in PodSecurityContext.
false
@@ -21017,28 +22660,32 @@ Resource Types: @@ -21047,7 +22694,8 @@ Resource Types: @@ -21059,7 +22707,7 @@ Resource Types: - +TopologySpreadConstraint specifies how to spread matching pods among the given topology.
effect string -
+ Effect indicates the taint effect to match. Empty means match all taint effects. +When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
false
key string -
+ Key is the taint key that the toleration applies to. Empty means match all taint keys. +If the key is empty, operator must be Exists; this combination means to match all values and all keys.
false
operator string -
+ Operator represents a key's relationship to the value. +Valid operators are Exists and Equal. Defaults to Equal.
false
tolerationSeconds integer -
+ TolerationSeconds represents the period of time the toleration (which must be +of effect NoExecute, otherwise this field is ignored) tolerates the taint.

Format: int64
value string -
+ Value is the taint value the toleration matches to. +If the operator is Exists, the value should be empty, otherwise just a regular string.
false
@@ -21074,7 +22722,7 @@ Resource Types: @@ -21083,35 +22731,41 @@ Resource Types: @@ -21120,14 +22774,16 @@ Resource Types: @@ -21139,7 +22795,9 @@ Resource Types: - +LabelSelector is used to find matching pods. +Pods that match this label selector are counted to determine the number of pods +in their corresponding topology domain.
maxSkew integer -
+ MaxSkew describes the degree to which pods may be unevenly distributed.

Format: int32
topologyKey string -
+ TopologyKey is the key of node labels. Nodes that have a label with this key +and identical values are considered to be in the same topology.
true
whenUnsatisfiable string -
+ WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy +the spread constraint. +- DoNotSchedule (default) tells the scheduler not to schedule it.
true
labelSelector object -
+ LabelSelector is used to find matching pods. +Pods that match this label selector are counted to determine the number of pods +in their corresponding topology domain.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select the pods over which +spreading will be calculated.
false
minDomains integer -
+ MinDomains indicates a minimum number of eligible domains.

Format: int32
nodeAffinityPolicy string -
+ NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector +when calculating pod topology spread skew.
false
nodeTaintsPolicy string -
+ NodeTaintsPolicy indicates how we will treat node taints when calculating +pod topology spread skew.
false
@@ -21154,14 +22812,14 @@ Resource Types: @@ -21173,7 +22831,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -21188,21 +22847,24 @@ Resource Types: @@ -21214,7 +22876,8 @@ Resource Types: - +The pod this Toleration is attached to tolerates any taint that matches +the triple using the matching operator .
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -21229,28 +22892,32 @@ Resource Types: @@ -21259,7 +22926,8 @@ Resource Types: @@ -21271,7 +22939,7 @@ Resource Types: - +TopologySpreadConstraint specifies how to spread matching pods among the given topology.
effect string -
+ Effect indicates the taint effect to match. Empty means match all taint effects. +When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
false
key string -
+ Key is the taint key that the toleration applies to. Empty means match all taint keys. +If the key is empty, operator must be Exists; this combination means to match all values and all keys.
false
operator string -
+ Operator represents a key's relationship to the value. +Valid operators are Exists and Equal. Defaults to Equal.
false
tolerationSeconds integer -
+ TolerationSeconds represents the period of time the toleration (which must be +of effect NoExecute, otherwise this field is ignored) tolerates the taint.

Format: int64
value string -
+ Value is the taint value the toleration matches to. +If the operator is Exists, the value should be empty, otherwise just a regular string.
false
@@ -21286,7 +22954,7 @@ Resource Types: @@ -21295,35 +22963,41 @@ Resource Types: @@ -21332,14 +23006,16 @@ Resource Types: @@ -21351,7 +23027,9 @@ Resource Types: - +LabelSelector is used to find matching pods. +Pods that match this label selector are counted to determine the number of pods +in their corresponding topology domain.
maxSkew integer -
+ MaxSkew describes the degree to which pods may be unevenly distributed.

Format: int32
topologyKey string -
+ TopologyKey is the key of node labels. Nodes that have a label with this key +and identical values are considered to be in the same topology.
true
whenUnsatisfiable string -
+ WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy +the spread constraint. +- DoNotSchedule (default) tells the scheduler not to schedule it.
true
labelSelector object -
+ LabelSelector is used to find matching pods. +Pods that match this label selector are counted to determine the number of pods +in their corresponding topology domain.
false
matchLabelKeys []string -
+ MatchLabelKeys is a set of pod label keys to select the pods over which +spreading will be calculated.
false
minDomains integer -
+ MinDomains indicates a minimum number of eligible domains.

Format: int32
nodeAffinityPolicy string -
+ NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector +when calculating pod topology spread skew.
false
nodeTaintsPolicy string -
+ NodeTaintsPolicy indicates how we will treat node taints when calculating +pod topology spread skew.
false
@@ -21366,14 +23044,14 @@ Resource Types: @@ -21385,7 +23063,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -21400,21 +23079,24 @@ Resource Types: @@ -21426,7 +23108,8 @@ Resource Types: - +UpdateStrategy represents the strategy the operator will take replacing existing DaemonSet pods with new pods +https://kubernetes.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -21441,14 +23124,17 @@ Resource Types: @@ -21460,7 +23146,10 @@ Resource Types: - +Rolling update config params. Present only if type = "RollingUpdate". +--- +TODO: Update this to follow our convention for oneOf, whatever we decide it +to be. Same as Deployment `strategy.
rollingUpdate object -
+ Rolling update config params. Present only if type = "RollingUpdate". +--- +TODO: Update this to follow our convention for oneOf, whatever we decide it +to be. Same as Deployment `strategy.
false
type string -
+ Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
false
@@ -21475,14 +23164,16 @@ Resource Types: @@ -21494,7 +23185,7 @@ Resource Types: - +PersistentVolumeClaim is a user's request for and claim to a persistent volume
maxSurge int or string -
+ The maximum number of nodes with an existing available DaemonSet pod that +can have an updated DaemonSet pod during during an update.
false
maxUnavailable int or string -
+ The maximum number of DaemonSet pods that can be unavailable during the +update.
false
@@ -21509,35 +23200,44 @@ Resource Types: @@ -21549,7 +23249,8 @@ Resource Types: - +Standard object's metadata. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
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.
false
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.
false
metadata object -
+ Standard object's metadata. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
false
spec object -
+ spec defines the desired characteristics of a volume requested by a pod author. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
false
status object -
+ status represents the current information/status of a persistent volume claim. +Read-only. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
false
@@ -21604,7 +23305,8 @@ Resource Types: - +spec defines the desired characteristics of a volume requested by a pod author. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
@@ -21619,63 +23321,68 @@ Resource Types: @@ -21687,7 +23394,8 @@ Resource Types: - +dataSource field can be used to specify either: +* An existing VolumeSnapshot object (snapshot.storage.k8s.
accessModes []string -
+ accessModes contains the desired access modes the volume should have. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
false
dataSource object -
+ dataSource field can be used to specify either: +* An existing VolumeSnapshot object (snapshot.storage.k8s.
false
dataSourceRef object -
+ dataSourceRef specifies the object from which to populate the volume with data, if a non-empty +volume is desired.
false
resources object -
+ resources represents the minimum resources the volume should have.
false
selector object -
+ selector is a label query over volumes to consider for binding.
false
storageClassName string -
+ storageClassName is the name of the StorageClass required by the claim. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
false
volumeAttributesClassName string -
+ volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
false
volumeMode string -
+ volumeMode defines what type of volume is required by the claim. +Value of Filesystem is implied when not included in claim spec.
false
volumeName string -
+ volumeName is the binding reference to the PersistentVolume backing this claim.
false
@@ -21702,21 +23410,23 @@ Resource Types: @@ -21728,7 +23438,8 @@ Resource Types: - +dataSourceRef specifies the object from which to populate the volume with data, if a non-empty +volume is desired.
kind string -
+ Kind is the type of resource being referenced
true
name string -
+ Name is the name of resource being referenced
true
apiGroup string -
+ APIGroup is the group for the resource being referenced. +If APIGroup is not specified, the specified Kind must be in the core API group. +For any other third-party types, APIGroup is required.
false
@@ -21743,28 +23454,31 @@ Resource Types: @@ -21776,7 +23490,7 @@ Resource Types: - +resources represents the minimum resources the volume should have.
kind string -
+ Kind is the type of resource being referenced
true
name string -
+ Name is the name of resource being referenced
true
apiGroup string -
+ APIGroup is the group for the resource being referenced. +If APIGroup is not specified, the specified Kind must be in the core API group. +For any other third-party types, APIGroup is required.
false
namespace string -
+ Namespace is the namespace of resource being referenced +Note that when a namespace is specified, a gateway.networking.k8s.
false
@@ -21791,14 +23505,15 @@ Resource Types: @@ -21810,7 +23525,7 @@ Resource Types: - +selector is a label query over volumes to consider for binding.
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -21825,14 +23540,14 @@ Resource Types: @@ -21844,7 +23559,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -21859,21 +23575,24 @@ Resource Types: @@ -21885,7 +23604,9 @@ Resource Types: - +status represents the current information/status of a persistent volume claim. +Read-only. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -21900,56 +23621,61 @@ Resource Types: @@ -21961,7 +23687,7 @@ Resource Types: - +PersistentVolumeClaimCondition contains details about state of pvc
accessModes []string -
+ accessModes contains the actual access modes the volume backing the PVC has. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
false
allocatedResourceStatuses map[string]string -
+ allocatedResourceStatuses stores status of resource being resized for the given PVC. +Key names follow standard Kubernetes label syntax.
false
allocatedResources map[string]int or string -
+ allocatedResources tracks the resources allocated to a PVC including its capacity. +Key names follow standard Kubernetes label syntax.
false
capacity map[string]int or string -
+ capacity represents the actual resources of the underlying volume.
false
conditions []object -
+ conditions is the current Condition of persistent volume claim. If underlying persistent volume is being +resized then the Condition will be set to 'ResizeStarted'.
false
currentVolumeAttributesClassName string -
+ currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.
false
modifyVolumeStatus object -
+ ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. +When this is unset, there is no ModifyVolume operation being attempted.
false
phase string -
+ phase represents the current phase of PersistentVolumeClaim.
false
@@ -21983,14 +23709,14 @@ Resource Types: @@ -21999,7 +23725,7 @@ Resource Types: @@ -22008,14 +23734,15 @@ Resource Types: @@ -22027,7 +23754,8 @@ Resource Types: - +ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. +When this is unset, there is no ModifyVolume operation being attempted.
type string -
+ PersistentVolumeClaimConditionType is a valid value of PersistentVolumeClaimCondition.Type
true
lastProbeTime string -
+ lastProbeTime is the time we probed the condition.

Format: date-time
lastTransitionTime string -
+ lastTransitionTime is the time the condition transitioned from one status to another.

Format: date-time
message string -
+ message is the human-readable message indicating details about last transition.
false
reason string -
+ reason is a unique, this should be a short, machine understandable string that gives the reason +for condition's last transition.
false
@@ -22042,14 +23770,14 @@ Resource Types: @@ -22061,7 +23789,7 @@ Resource Types: - +VolumeMount describes a mounting of a Volume within a container.
status string -
+ status is the status of the ControllerModifyVolume operation.
true
targetVolumeAttributesClassName string -
+ targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled
false
@@ -22076,42 +23804,48 @@ Resource Types: @@ -22123,7 +23857,7 @@ Resource Types: - +Volume represents a named volume in a pod that may be accessed by any container in the pod.
mountPath string -
+ Path within the container at which the volume should be mounted. Must +not contain ':'.
true
name string -
+ This must match the Name of a Volume.
true
mountPropagation string -
+ mountPropagation determines how mounts are propagated from the host +to container and the other way around. +When not set, MountPropagationNone is used. +This field is beta in 1.10.
false
readOnly boolean -
+ Mounted read-only if true, read-write otherwise (false or unspecified). +Defaults to false.
false
subPath string -
+ Path within the volume from which the container's volume should be mounted. +Defaults to "" (volume's root).
false
subPathExpr string -
+ Expanded path within the volume from which the container's volume should be mounted.
false
@@ -22138,210 +23872,229 @@ Resource Types: @@ -22353,7 +24106,9 @@ Resource Types: - +awsElasticBlockStore represents an AWS Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://kubernetes.
name string -
+ name of the volume. +Must be a DNS_LABEL and unique within the pod. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
true
awsElasticBlockStore object -
+ awsElasticBlockStore represents an AWS Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://kubernetes.
false
azureDisk object -
+ azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
false
azureFile object -
+ azureFile represents an Azure File Service mount on the host and bind mount to the pod.
false
cephfs object -
+ cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
false
cinder object -
+ cinder represents a cinder volume attached and mounted on kubelets host machine. +More info: https://examples.k8s.io/mysql-cinder-pd/README.md
false
configMap object -
+ configMap represents a configMap that should populate this volume
false
csi object -
+ csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
false
downwardAPI object -
+ downwardAPI represents downward API about the pod that should populate this volume
false
emptyDir object -
+ emptyDir represents a temporary directory that shares a pod's lifetime. +More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
false
ephemeral object -
+ ephemeral represents a volume that is handled by a cluster storage driver.
false
fc object -
+ fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
false
flexVolume object -
+ flexVolume represents a generic volume resource that is +provisioned/attached using an exec based plugin.
false
flocker object -
+ flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
false
gcePersistentDisk object -
+ gcePersistentDisk represents a GCE Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://kubernetes.
false
gitRepo object -
+ gitRepo represents a git repository at a particular revision. +DEPRECATED: GitRepo is deprecated.
false
glusterfs object -
+ glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. +More info: https://examples.k8s.io/volumes/glusterfs/README.md
false
hostPath object -
+ hostPath represents a pre-existing file or directory on the host +machine that is directly exposed to the container.
false
iscsi object -
+ iscsi represents an ISCSI Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://examples.k8s.io/volumes/iscsi/README.md
false
nfs object -
+ nfs represents an NFS mount on the host that shares a pod's lifetime +More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
false
persistentVolumeClaim object -
+ persistentVolumeClaimVolumeSource represents a reference to a +PersistentVolumeClaim in the same namespace. +More info: https://kubernetes.
false
photonPersistentDisk object -
+ photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
false
portworxVolume object -
+ portworxVolume represents a portworx volume attached and mounted on kubelets host machine
false
projected object -
+ projected items for all in one resources secrets, configmaps, and downward API
false
quobyte object -
+ quobyte represents a Quobyte mount on the host that shares a pod's lifetime
false
rbd object -
+ rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. +More info: https://examples.k8s.io/volumes/rbd/README.md
false
scaleIO object -
+ scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
false
secret object -
+ secret represents a secret that should populate this volume. +More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
false
storageos object -
+ storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
false
vsphereVolume object -
+ vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
false
@@ -22368,21 +24123,26 @@ Resource Types: @@ -22391,7 +24151,8 @@ Resource Types: @@ -22403,7 +24164,7 @@ Resource Types: - +azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
volumeID string -
+ volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). +More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
true
fsType string -
+ fsType is the filesystem type of the volume that you want to mount. +Tip: Ensure that the filesystem type is supported by the host operating system. +Examples: "ext4", "xfs", "ntfs".
false
partition integer -
+ partition is the partition in the volume that you want to mount. +If omitted, the default is to mount by volume name. +Examples: For volume /dev/sda1, you specify the partition as "1".

Format: int32
readOnly boolean -
+ readOnly value true will force the readOnly setting in VolumeMounts. +More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
false
@@ -22418,42 +24179,45 @@ Resource Types: @@ -22465,7 +24229,7 @@ Resource Types: - +azureFile represents an Azure File Service mount on the host and bind mount to the pod.
diskName string -
+ diskName is the Name of the data disk in the blob storage
true
diskURI string -
+ diskURI is the URI of data disk in the blob storage
true
cachingMode string -
+ cachingMode is the Host Caching mode: None, Read Only, Read Write.
false
fsType string -
+ fsType is Filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
kind string -
+ kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set).
false
readOnly boolean -
+ readOnly Defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
@@ -22480,21 +24244,22 @@ Resource Types: @@ -22506,7 +24271,7 @@ Resource Types: - +cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
secretName string -
+ secretName is the name of secret that contains Azure Storage Account Name and Key
true
shareName string -
+ shareName is the azure share Name
true
readOnly boolean -
+ readOnly defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
@@ -22521,42 +24286,48 @@ Resource Types: @@ -22568,7 +24339,8 @@ Resource Types: - +secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
monitors []string -
+ monitors is Required: Monitors is a collection of Ceph monitors +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
true
path string -
+ path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
false
readOnly boolean -
+ readOnly is Optional: Defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts. +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
false
secretFile string -
+ secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
false
secretRef object -
+ secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
false
user string -
+ user is optional: User is the rados user name, default is admin +More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
false
@@ -22583,7 +24355,9 @@ Resource Types: @@ -22595,7 +24369,8 @@ Resource Types: - +cinder represents a cinder volume attached and mounted on kubelets host machine. +More info: https://examples.k8s.io/mysql-cinder-pd/README.md
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -22610,28 +24385,34 @@ Resource Types: @@ -22643,7 +24424,8 @@ Resource Types: - +secretRef is optional: points to a secret object containing parameters used to connect +to OpenStack.
volumeID string -
+ volumeID used to identify the volume in cinder. +More info: https://examples.k8s.io/mysql-cinder-pd/README.md
true
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
readOnly boolean -
+ readOnly defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts. +More info: https://examples.k8s.io/mysql-cinder-pd/README.md
false
secretRef object -
+ secretRef is optional: points to a secret object containing parameters used to connect +to OpenStack.
false
@@ -22658,7 +24440,9 @@ Resource Types: @@ -22670,7 +24454,7 @@ Resource Types: - +configMap represents a configMap that should populate this volume
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -22685,7 +24469,8 @@ Resource Types: @@ -22694,21 +24479,25 @@ Resource Types: @@ -22720,7 +24509,7 @@ Resource Types: - +Maps a string key to a path within a volume.
defaultMode integer -
+ defaultMode is optional: mode bits used to set permissions on created files by default. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
items []object -
+ items if unspecified, each key-value pair in the Data field of the referenced +ConfigMap will be projected into the volume as a file whose name is the +key and content is the value.
false
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ optional specify whether the ConfigMap or its keys must be defined
false
@@ -22735,21 +24524,25 @@ Resource Types: @@ -22763,7 +24556,7 @@ Resource Types: - +csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
key string -
+ key is the key to project.
true
path string -
+ path is the relative path of the file to map the key to. +May not be an absolute path. +May not contain the path element '..'. +May not start with the string '..'.
true
mode integer -
+ mode is Optional: mode bits used to set permissions on this file. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
@@ -22778,35 +24571,42 @@ Resource Types: @@ -22818,7 +24618,9 @@ Resource Types: - +nodePublishSecretRef is a reference to the secret object containing +sensitive information to pass to the CSI driver to complete the CSI +NodePublishVolume and NodeUnpublishVolume calls.
driver string -
+ driver is the name of the CSI driver that handles this volume. +Consult with your admin for the correct name as registered in the cluster.
true
fsType string -
+ fsType to mount. Ex. "ext4", "xfs", "ntfs". +If not provided, the empty value is passed to the associated CSI driver +which will determine the default filesystem to apply.
false
nodePublishSecretRef object -
+ nodePublishSecretRef is a reference to the secret object containing +sensitive information to pass to the CSI driver to complete the CSI +NodePublishVolume and NodeUnpublishVolume calls.
false
readOnly boolean -
+ readOnly specifies a read-only configuration for the volume. +Defaults to false (read/write).
false
volumeAttributes map[string]string -
+ volumeAttributes stores driver-specific properties that are passed to the CSI +driver. Consult your driver's documentation for supported values.
false
@@ -22833,7 +24635,9 @@ Resource Types: @@ -22845,7 +24649,7 @@ Resource Types: - +downwardAPI represents downward API about the pod that should populate this volume
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -22860,7 +24664,8 @@ Resource Types: @@ -22869,7 +24674,7 @@ Resource Types: @@ -22881,7 +24686,7 @@ Resource Types: - +DownwardAPIVolumeFile represents information to create the file containing the pod field
defaultMode integer -
+ Optional: mode bits to use on created files by default. Must be a +Optional: mode bits used to set permissions on created files by default.

Format: int32
items []object -
+ Items is a list of downward API volume file
false
@@ -22896,21 +24701,22 @@ Resource Types: @@ -22919,7 +24725,8 @@ Resource Types: @@ -22931,7 +24738,7 @@ Resource Types: - +Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
path string -
+ Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
true
fieldRef object -
+ Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
false
mode integer -
+ Optional: mode bits used to set permissions on this file, must be an octal value +between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
false
@@ -22946,14 +24753,14 @@ Resource Types: @@ -22965,7 +24772,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -22980,21 +24788,21 @@ Resource Types: @@ -23006,7 +24814,8 @@ Resource Types: - +emptyDir represents a temporary directory that shares a pod's lifetime. +More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -23021,14 +24830,17 @@ Resource Types: @@ -23040,7 +24852,7 @@ Resource Types: - +ephemeral represents a volume that is handled by a cluster storage driver.
medium string -
+ medium represents what type of storage medium should back this directory. +The default is "" which means to use the node's default medium. +Must be an empty string (default) or Memory.
false
sizeLimit int or string -
+ sizeLimit is the total amount of local storage required for this EmptyDir volume. +The size limit is also applicable for memory medium.
false
@@ -23055,7 +24867,9 @@ Resource Types: @@ -23067,7 +24881,9 @@ Resource Types: - +Will be used to create a stand-alone PVC to provision the volume. +The pod in which this EphemeralVolumeSource is embedded will be the +owner of the PVC, i.e.
volumeClaimTemplate object -
+ Will be used to create a stand-alone PVC to provision the volume. +The pod in which this EphemeralVolumeSource is embedded will be the +owner of the PVC, i.e.
false
@@ -23082,14 +24898,18 @@ Resource Types: @@ -23101,7 +24921,9 @@ Resource Types: - +The specification for the PersistentVolumeClaim. The entire content is +copied unchanged into the PVC that gets created from this +template.
spec object -
+ The specification for the PersistentVolumeClaim. The entire content is +copied unchanged into the PVC that gets created from this +template.
true
metadata object -
+ May contain labels and annotations that will be copied into the PVC +when creating it. No other fields are allowed and will be rejected during +validation.
false
@@ -23116,63 +24938,68 @@ Resource Types: @@ -23184,7 +25011,8 @@ Resource Types: - +dataSource field can be used to specify either: +* An existing VolumeSnapshot object (snapshot.storage.k8s.
accessModes []string -
+ accessModes contains the desired access modes the volume should have. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
false
dataSource object -
+ dataSource field can be used to specify either: +* An existing VolumeSnapshot object (snapshot.storage.k8s.
false
dataSourceRef object -
+ dataSourceRef specifies the object from which to populate the volume with data, if a non-empty +volume is desired.
false
resources object -
+ resources represents the minimum resources the volume should have.
false
selector object -
+ selector is a label query over volumes to consider for binding.
false
storageClassName string -
+ storageClassName is the name of the StorageClass required by the claim. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
false
volumeAttributesClassName string -
+ volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
false
volumeMode string -
+ volumeMode defines what type of volume is required by the claim. +Value of Filesystem is implied when not included in claim spec.
false
volumeName string -
+ volumeName is the binding reference to the PersistentVolume backing this claim.
false
@@ -23199,21 +25027,23 @@ Resource Types: @@ -23225,7 +25055,8 @@ Resource Types: - +dataSourceRef specifies the object from which to populate the volume with data, if a non-empty +volume is desired.
kind string -
+ Kind is the type of resource being referenced
true
name string -
+ Name is the name of resource being referenced
true
apiGroup string -
+ APIGroup is the group for the resource being referenced. +If APIGroup is not specified, the specified Kind must be in the core API group. +For any other third-party types, APIGroup is required.
false
@@ -23240,28 +25071,31 @@ Resource Types: @@ -23273,7 +25107,7 @@ Resource Types: - +resources represents the minimum resources the volume should have.
kind string -
+ Kind is the type of resource being referenced
true
name string -
+ Name is the name of resource being referenced
true
apiGroup string -
+ APIGroup is the group for the resource being referenced. +If APIGroup is not specified, the specified Kind must be in the core API group. +For any other third-party types, APIGroup is required.
false
namespace string -
+ Namespace is the namespace of resource being referenced +Note that when a namespace is specified, a gateway.networking.k8s.
false
@@ -23288,14 +25122,15 @@ Resource Types: @@ -23307,7 +25142,7 @@ Resource Types: - +selector is a label query over volumes to consider for binding.
limits map[string]int or string -
+ Limits describes the maximum amount of compute resources allowed. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
false
requests map[string]int or string -
+ Requests describes the minimum amount of compute resources required.
false
@@ -23322,14 +25157,14 @@ Resource Types: @@ -23341,7 +25176,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -23356,21 +25192,24 @@ Resource Types: @@ -23382,7 +25221,9 @@ Resource Types: - +May contain labels and annotations that will be copied into the PVC +when creating it. No other fields are allowed and will be rejected during +validation.
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -23437,7 +25278,7 @@ Resource Types: - +fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
@@ -23452,14 +25293,16 @@ Resource Types: @@ -23468,21 +25311,23 @@ Resource Types: @@ -23494,7 +25339,8 @@ Resource Types: - +flexVolume represents a generic volume resource that is +provisioned/attached using an exec based plugin.
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
lun integer -
+ lun is Optional: FC target lun number

Format: int32
readOnly boolean -
+ readOnly is Optional: Defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
targetWWNs []string -
+ targetWWNs is Optional: FC target worldwide names (WWNs)
false
wwids []string -
+ wwids Optional: FC volume world wide identifiers (wwids) +Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
false
@@ -23509,35 +25355,40 @@ Resource Types: @@ -23549,7 +25400,9 @@ Resource Types: - +secretRef is Optional: secretRef is reference to the secret object containing +sensitive information to pass to the plugin scripts. This may be +empty if no secret object is specified.
driver string -
+ driver is the name of the driver to use for this volume.
true
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
false
options map[string]string -
+ options is Optional: this field holds extra command options if any.
false
readOnly boolean -
+ readOnly is Optional: defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
secretRef object -
+ secretRef is Optional: secretRef is reference to the secret object containing +sensitive information to pass to the plugin scripts. This may be +empty if no secret object is specified.
false
@@ -23564,7 +25417,9 @@ Resource Types: @@ -23576,7 +25431,7 @@ Resource Types: - +flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -23591,14 +25446,15 @@ Resource Types: @@ -23610,7 +25466,9 @@ Resource Types: - +gcePersistentDisk represents a GCE Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://kubernetes.
datasetName string -
+ datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker +should be considered as deprecated
false
datasetUUID string -
+ datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
false
@@ -23625,21 +25483,26 @@ Resource Types: @@ -23648,7 +25511,9 @@ Resource Types: @@ -23660,7 +25525,8 @@ Resource Types: - +gitRepo represents a git repository at a particular revision. +DEPRECATED: GitRepo is deprecated.
pdName string -
+ pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. +More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
true
fsType string -
+ fsType is filesystem type of the volume that you want to mount. +Tip: Ensure that the filesystem type is supported by the host operating system. +Examples: "ext4", "xfs", "ntfs".
false
partition integer -
+ partition is the partition in the volume that you want to mount. +If omitted, the default is to mount by volume name. +Examples: For volume /dev/sda1, you specify the partition as "1".

Format: int32
readOnly boolean -
+ readOnly here will force the ReadOnly setting in VolumeMounts. +Defaults to false. +More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
false
@@ -23675,21 +25541,23 @@ Resource Types: @@ -23701,7 +25569,8 @@ Resource Types: - +glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. +More info: https://examples.k8s.io/volumes/glusterfs/README.md
repository string -
+ repository is the URL
true
directory string -
+ directory is the target directory name. +Must not contain or start with '..'. If '.' is supplied, the volume directory will be the +git repository.
false
revision string -
+ revision is the commit hash for the specified revision.
false
@@ -23716,21 +25585,25 @@ Resource Types: @@ -23742,7 +25615,8 @@ Resource Types: - +hostPath represents a pre-existing file or directory on the host +machine that is directly exposed to the container.
endpoints string -
+ endpoints is the endpoint name that details Glusterfs topology. +More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
true
path string -
+ path is the Glusterfs volume path. +More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
true
readOnly boolean -
+ readOnly here will force the Glusterfs volume to be mounted with read-only permissions. +Defaults to false. +More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
false
@@ -23757,14 +25631,18 @@ Resource Types: @@ -23776,7 +25654,9 @@ Resource Types: - +iscsi represents an ISCSI Disk resource that is attached to a +kubelet's host machine and then exposed to the pod. +More info: https://examples.k8s.io/volumes/iscsi/README.md
path string -
+ path of the directory on the host. +If the path is a symlink, it will follow the link to the real path. +More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
true
type string -
+ type for HostPath Volume +Defaults to "" +More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
false
@@ -23791,14 +25671,14 @@ Resource Types: @@ -23807,63 +25687,69 @@ Resource Types: @@ -23875,7 +25761,7 @@ Resource Types: - +secretRef is the CHAP Secret for iSCSI target and initiator authentication
iqn string -
+ iqn is the target iSCSI Qualified Name.
true
lun integer -
+ lun represents iSCSI Target Lun number.

Format: int32
targetPortal string -
+ targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port +is other than default (typically TCP ports 860 and 3260).
true
chapAuthDiscovery boolean -
+ chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
false
chapAuthSession boolean -
+ chapAuthSession defines whether support iSCSI Session CHAP authentication
false
fsType string -
+ fsType is the filesystem type of the volume that you want to mount. +Tip: Ensure that the filesystem type is supported by the host operating system. +Examples: "ext4", "xfs", "ntfs".
false
initiatorName string -
+ initiatorName is the custom iSCSI Initiator Name.
false
iscsiInterface string -
+ iscsiInterface is the interface Name that uses an iSCSI transport. +Defaults to 'default' (tcp).
false
portals []string -
+ portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port +is other than default (typically TCP ports 860 and 3260).
false
readOnly boolean -
+ readOnly here will force the ReadOnly setting in VolumeMounts. +Defaults to false.
false
secretRef object -
+ secretRef is the CHAP Secret for iSCSI target and initiator authentication
false
@@ -23890,7 +25776,9 @@ Resource Types: @@ -23902,7 +25790,8 @@ Resource Types: - +nfs represents an NFS mount on the host that shares a pod's lifetime +More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -23917,21 +25806,25 @@ Resource Types: @@ -23943,7 +25836,9 @@ Resource Types: - +persistentVolumeClaimVolumeSource represents a reference to a +PersistentVolumeClaim in the same namespace. +More info: https://kubernetes.
path string -
+ path that is exported by the NFS server. +More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
true
server string -
+ server is the hostname or IP address of the NFS server. +More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
true
readOnly boolean -
+ readOnly here will force the NFS export to be mounted with read-only permissions. +Defaults to false. +More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
false
@@ -23958,14 +25853,16 @@ Resource Types: @@ -23977,7 +25874,7 @@ Resource Types: - +photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
claimName string -
+ claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. +More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
true
readOnly boolean -
+ readOnly Will force the ReadOnly setting in VolumeMounts. +Default false.
false
@@ -23992,14 +25889,16 @@ Resource Types: @@ -24011,7 +25910,7 @@ Resource Types: - +portworxVolume represents a portworx volume attached and mounted on kubelets host machine
pdID string -
+ pdID is the ID that identifies Photon Controller persistent disk
true
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
@@ -24026,21 +25925,24 @@ Resource Types: @@ -24052,7 +25954,7 @@ Resource Types: - +projected items for all in one resources secrets, configmaps, and downward API
volumeID string -
+ volumeID uniquely identifies a Portworx volume
true
fsType string -
+ fSType represents the filesystem type to mount +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
false
readOnly boolean -
+ readOnly defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
@@ -24067,7 +25969,8 @@ Resource Types: @@ -24076,7 +25979,7 @@ Resource Types: @@ -24088,7 +25991,7 @@ Resource Types: - +Projection that may be projected along with other supported volume types
defaultMode integer -
+ defaultMode are the mode bits used to set permissions on created files by default. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
sources []object -
+ sources is the list of volume projections
false
@@ -24103,35 +26006,39 @@ Resource Types: @@ -24143,8 +26050,12 @@ Resource Types: +ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field +of ClusterTrustBundle objects in an auto-updating file. +Alpha, gated by the ClusterTrustBundleProjection feature gate. +
clusterTrustBundle object -
+ ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field +of ClusterTrustBundle objects in an auto-updating file. + + +Alpha, gated by the ClusterTrustBundleProjection feature gate.
false
configMap object -
+ configMap information about the configMap data to project
false
downwardAPI object -
+ downwardAPI information about the downwardAPI data to project
false
secret object -
+ secret information about the secret data to project
false
serviceAccountToken object -
+ serviceAccountToken is information about the serviceAccountToken data to project
false
@@ -24158,35 +26069,42 @@ Resource Types: @@ -24198,7 +26116,9 @@ Resource Types: - +Select all ClusterTrustBundles that match this label selector. Only has +effect if signerName is set. Mutually-exclusive with name. If unset, +interpreted as "match nothing".
path string -
+ Relative path from the volume root to write the bundle.
true
labelSelector object -
+ Select all ClusterTrustBundles that match this label selector. Only has +effect if signerName is set. Mutually-exclusive with name. If unset, +interpreted as "match nothing".
false
name string -
+ Select a single ClusterTrustBundle by object name. Mutually-exclusive +with signerName and labelSelector.
false
optional boolean -
+ If true, don't block pod startup if the referenced ClusterTrustBundle(s) +aren't available. If using name, then the named ClusterTrustBundle is +allowed not to exist.
false
signerName string -
+ Select all ClusterTrustBundles that match this signer name. +Mutually-exclusive with name. The contents of all selected +ClusterTrustBundles will be unified and deduplicated.
false
@@ -24213,14 +26133,14 @@ Resource Types: @@ -24232,7 +26152,8 @@ Resource Types: - +A label selector requirement is a selector that contains values, a key, and an operator that +relates the key and values.
matchExpressions []object -
+ matchExpressions is a list of label selector requirements. The requirements are ANDed.
false
matchLabels map[string]string -
+ matchLabels is a map of {key,value} pairs.
false
@@ -24247,21 +26168,24 @@ Resource Types: @@ -24273,7 +26197,7 @@ Resource Types: - +configMap information about the configMap data to project
key string -
+ key is the label key that the selector applies to.
true
operator string -
+ operator represents a key's relationship to a set of values. +Valid operators are In, NotIn, Exists and DoesNotExist.
true
values []string -
+ 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.
false
@@ -24288,21 +26212,25 @@ Resource Types: @@ -24314,7 +26242,7 @@ Resource Types: - +Maps a string key to a path within a volume.
items []object -
+ items if unspecified, each key-value pair in the Data field of the referenced +ConfigMap will be projected into the volume as a file whose name is the +key and content is the value.
false
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ optional specify whether the ConfigMap or its keys must be defined
false
@@ -24329,21 +26257,25 @@ Resource Types: @@ -24357,7 +26289,7 @@ Resource Types: - +downwardAPI information about the downwardAPI data to project
key string -
+ key is the key to project.
true
path string -
+ path is the relative path of the file to map the key to. +May not be an absolute path. +May not contain the path element '..'. +May not start with the string '..'.
true
mode integer -
+ mode is Optional: mode bits used to set permissions on this file. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
@@ -24372,7 +26304,7 @@ Resource Types: @@ -24384,7 +26316,7 @@ Resource Types: - +DownwardAPIVolumeFile represents information to create the file containing the pod field
items []object -
+ Items is a list of DownwardAPIVolume file
false
@@ -24399,21 +26331,22 @@ Resource Types: @@ -24422,7 +26355,8 @@ Resource Types: @@ -24434,7 +26368,7 @@ Resource Types: - +Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
path string -
+ Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
true
fieldRef object -
+ Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
false
mode integer -
+ Optional: mode bits used to set permissions on this file, must be an octal value +between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
resourceFieldRef object -
+ Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
false
@@ -24449,14 +26383,14 @@ Resource Types: @@ -24468,7 +26402,8 @@ Resource Types: - +Selects a resource of the container: only resources limits and requests +(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
fieldPath string -
+ Path of the field to select in the specified API version.
true
apiVersion string -
+ Version of the schema the FieldPath is written in terms of, defaults to "v1".
false
@@ -24483,21 +26418,21 @@ Resource Types: @@ -24509,7 +26444,7 @@ Resource Types: - +secret information about the secret data to project
resource string -
+ Required: resource to select
true
containerName string -
+ Container name: required for volumes, optional for env vars
false
divisor int or string -
+ Specifies the output format of the exposed resources, defaults to "1"
false
@@ -24524,21 +26459,25 @@ Resource Types: @@ -24550,7 +26489,7 @@ Resource Types: - +Maps a string key to a path within a volume.
items []object -
+ items if unspecified, each key-value pair in the Data field of the referenced +Secret will be projected into the volume as a file whose name is the +key and content is the value.
false
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
optional boolean -
+ optional field specify whether the Secret or its key must be defined
false
@@ -24565,21 +26504,25 @@ Resource Types: @@ -24593,7 +26536,7 @@ Resource Types: - +serviceAccountToken is information about the serviceAccountToken data to project
key string -
+ key is the key to project.
true
path string -
+ path is the relative path of the file to map the key to. +May not be an absolute path. +May not contain the path element '..'. +May not start with the string '..'.
true
mode integer -
+ mode is Optional: mode bits used to set permissions on this file. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
@@ -24608,21 +26551,26 @@ Resource Types: @@ -24636,7 +26584,7 @@ Resource Types: - +quobyte represents a Quobyte mount on the host that shares a pod's lifetime
path string -
+ path is the path relative to the mount point of the file to project the +token into.
true
audience string -
+ audience is the intended audience of the token. A recipient of a token +must identify itself with an identifier specified in the audience of the +token, and otherwise should reject the token.
false
expirationSeconds integer -
+ expirationSeconds is the requested duration of validity of the service +account token. As the token approaches expiration, the kubelet volume +plugin will proactively rotate the service account token.

Format: int64
@@ -24651,42 +26599,48 @@ Resource Types: @@ -24698,7 +26652,8 @@ Resource Types: - +rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. +More info: https://examples.k8s.io/volumes/rbd/README.md
registry string -
+ registry represents a single or multiple Quobyte Registry services +specified as a string as host:port pair (multiple entries are separated with commas) +which acts as the central registry for volumes
true
volume string -
+ volume is a string that references an already created Quobyte volume by name.
true
group string -
+ group to map volume access to +Default is no group
false
readOnly boolean -
+ readOnly here will force the Quobyte volume to be mounted with read-only permissions. +Defaults to false.
false
tenant string -
+ tenant owning the given Quobyte volume in the Backend +Used with dynamically provisioned Quobyte volumes, value is set by the plugin
false
user string -
+ user to map volume access to +Defaults to serivceaccount user
false
@@ -24713,56 +26668,71 @@ Resource Types: @@ -24774,7 +26744,10 @@ Resource Types: - +secretRef is name of the authentication secret for RBDUser. If provided +overrides keyring. +Default is nil. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
image string -
+ image is the rados image name. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
true
monitors []string -
+ monitors is a collection of Ceph monitors. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
true
fsType string -
+ fsType is the filesystem type of the volume that you want to mount. +Tip: Ensure that the filesystem type is supported by the host operating system. +Examples: "ext4", "xfs", "ntfs".
false
keyring string -
+ keyring is the path to key ring for RBDUser. +Default is /etc/ceph/keyring. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
false
pool string -
+ pool is the rados pool name. +Default is rbd. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
false
readOnly boolean -
+ readOnly here will force the ReadOnly setting in VolumeMounts. +Defaults to false. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
false
secretRef object -
+ secretRef is name of the authentication secret for RBDUser. If provided +overrides keyring. +Default is nil. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
false
user string -
+ user is the rados user name. +Default is admin. +More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
false
@@ -24789,7 +26762,9 @@ Resource Types: @@ -24801,7 +26776,7 @@ Resource Types: - +scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -24816,70 +26791,77 @@ Resource Types: @@ -24891,7 +26873,8 @@ Resource Types: - +secretRef references to the secret for ScaleIO user and other +sensitive information. If this is not provided, Login operation will fail.
gateway string -
+ gateway is the host address of the ScaleIO API Gateway.
true
secretRef object -
+ secretRef references to the secret for ScaleIO user and other +sensitive information. If this is not provided, Login operation will fail.
true
system string -
+ system is the name of the storage system as configured in ScaleIO.
true
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". +Default is "xfs".
false
protectionDomain string -
+ protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
false
readOnly boolean -
+ readOnly Defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
sslEnabled boolean -
+ sslEnabled Flag enable/disable SSL communication with Gateway, default false
false
storageMode string -
+ storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. +Default is ThinProvisioned.
false
storagePool string -
+ storagePool is the ScaleIO Storage Pool associated with the protection domain.
false
volumeName string -
+ volumeName is the name of a volume already created in the ScaleIO system +that is associated with this volume source.
false
@@ -24906,7 +26889,9 @@ Resource Types: @@ -24918,7 +26903,8 @@ Resource Types: - +secret represents a secret that should populate this volume. +More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -24933,7 +26919,8 @@ Resource Types: @@ -24942,21 +26929,24 @@ Resource Types: @@ -24968,7 +26958,7 @@ Resource Types: - +Maps a string key to a path within a volume.
defaultMode integer -
+ defaultMode is Optional: mode bits used to set permissions on created files by default. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
items []object -
+ items If unspecified, each key-value pair in the Data field of the referenced +Secret will be projected into the volume as a file whose name is the +key and content is the value.
false
optional boolean -
+ optional field specify whether the Secret or its keys must be defined
false
secretName string -
+ secretName is the name of the secret in the pod's namespace to use. +More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
false
@@ -24983,21 +26973,25 @@ Resource Types: @@ -25011,7 +27005,7 @@ Resource Types: - +storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
key string -
+ key is the key to project.
true
path string -
+ path is the relative path of the file to map the key to. +May not be an absolute path. +May not contain the path element '..'. +May not start with the string '..'.
true
mode integer -
+ mode is Optional: mode bits used to set permissions on this file. +Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

Format: int32
@@ -25026,35 +27020,41 @@ Resource Types: @@ -25066,7 +27066,8 @@ Resource Types: - +secretRef specifies the secret to use for obtaining the StorageOS API +credentials. If not specified, default values will be attempted.
fsType string -
+ fsType is the filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
readOnly boolean -
+ readOnly defaults to false (read/write). ReadOnly here will force +the ReadOnly setting in VolumeMounts.
false
secretRef object -
+ secretRef specifies the secret to use for obtaining the StorageOS API +credentials. If not specified, default values will be attempted.
false
volumeName string -
+ volumeName is the human-readable name of the StorageOS volume. Volume +names are only unique within a namespace.
false
volumeNamespace string -
+ volumeNamespace specifies the scope of the volume within StorageOS. If no +namespace is specified then the Pod's namespace will be used.
false
@@ -25081,7 +27082,9 @@ Resource Types: @@ -25093,7 +27096,7 @@ Resource Types: - +vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
name string -
+ Name of the referent. +More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names +TODO: Add other useful fields. apiVersion, kind, uid?
false
@@ -25108,28 +27111,30 @@ Resource Types: @@ -25141,7 +27146,7 @@ Resource Types: - +OpenTelemetryCollectorStatus defines the observed state of OpenTelemetryCollector.
volumePath string -
+ volumePath is the path that identifies vSphere volume vmdk
true
fsType string -
+ fsType is filesystem type to mount. +Must be a filesystem type supported by the host operating system. +Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
false
storagePolicyID string -
+ storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
false
storagePolicyName string -
+ storagePolicyName is the storage Policy Based Management (SPBM) profile name.
false
@@ -25156,21 +27161,23 @@ Resource Types: @@ -25179,14 +27186,14 @@ Resource Types: @@ -25198,7 +27205,7 @@ Resource Types: - +Scale is the OpenTelemetryCollector's scale subresource status.
image string -
+ Image indicates the container image to use for the OpenTelemetry Collector.
false
messages []string -
+ Messages about actions performed by the operator on this resource. +Deprecated: use Kubernetes events instead.
false
replicas integer -
+ Replicas is currently not being set and might be removed in the next version. +Deprecated: use "OpenTelemetryCollector.Status.Scale.Replicas" instead.

Format: int32
scale object -
+ Scale is the OpenTelemetryCollector's scale subresource status.
false
version string -
+ Version of the managed OpenTelemetry Collector (operand)
false
@@ -25213,7 +27220,8 @@ Resource Types: @@ -25222,15960 +27230,16 @@ Resource Types: - - -
replicas integer -
+ The total number non-terminated pods targeted by this +OpenTelemetryCollector's deployment or statefulSet.

Format: int32
selector string -
+ The selector used to match the OpenTelemetryCollector's +deployment or statefulSet pods.
false
statusReplicas string -
-
false
- -# opentelemetry.io/v1beta1 - -Resource Types: - -- [OpenTelemetryCollector](#opentelemetrycollector) - - - - -## OpenTelemetryCollector -[↩ Parent](#opentelemetryiov1beta1 ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
apiVersionstringopentelemetry.io/v1beta1true
kindstringOpenTelemetryCollectortrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the `metadata` field.true
specobject -
-
false
statusobject -
-
false
- - -### OpenTelemetryCollector.spec -[↩ Parent](#opentelemetrycollector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
configobject -
-
true
additionalContainers[]object -
-
false
affinityobject -
-
false
argsmap[string]string -
-
false
autoscalerobject -
-
false
configmaps[]object -
-
false
daemonSetUpdateStrategyobject -
-
false
deploymentUpdateStrategyobject -
-
false
env[]object -
-
false
envFrom[]object -
-
false
hostNetworkboolean -
-
false
imagestring -
-
false
imagePullPolicystring -
-
false
ingressobject -
-
false
initContainers[]object -
-
false
lifecycleobject -
-
false
livenessProbeobject -
-
false
managementStateenum -
-
- Enum: managed, unmanaged
- Default: managed
-
false
modeenum -
-
- Enum: daemonset, deployment, sidecar, statefulset
-
false
nodeSelectormap[string]string -
-
false
observabilityobject -
-
false
podAnnotationsmap[string]string -
-
false
podDisruptionBudgetobject -
-
false
podSecurityContextobject -
-
false
ports[]object -
-
false
priorityClassNamestring -
-
false
replicasinteger -
-
- Format: int32
-
false
resourcesobject -
-
false
securityContextobject -
-
false
serviceAccountstring -
-
false
shareProcessNamespaceboolean -
-
false
targetAllocatorobject -
-
false
terminationGracePeriodSecondsinteger -
-
- Format: int64
-
false
tolerations[]object -
-
false
topologySpreadConstraints[]object -
-
false
upgradeStrategyenum -
-
- Enum: automatic, none
-
false
volumeClaimTemplates[]object -
-
false
volumeMounts[]object -
-
false
volumes[]object -
-
false
- - -### OpenTelemetryCollector.spec.config -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
exportersobject -
-
true
receiversobject -
-
true
serviceobject -
-
true
connectorsobject -
-
false
extensionsobject -
-
false
processorsobject -
-
false
- - -### OpenTelemetryCollector.spec.config.service -[↩ Parent](#opentelemetrycollectorspecconfig) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
pipelinesobject -
-
true
extensions[]string -
-
false
telemetryobject -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index] -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
args[]string -
-
false
command[]string -
-
false
env[]object -
-
false
envFrom[]object -
-
false
imagestring -
-
false
imagePullPolicystring -
-
false
lifecycleobject -
-
false
livenessProbeobject -
-
false
ports[]object -
-
false
readinessProbeobject -
-
false
resizePolicy[]object -
-
false
resourcesobject -
-
false
restartPolicystring -
-
false
securityContextobject -
-
false
startupProbeobject -
-
false
stdinboolean -
-
false
stdinOnceboolean -
-
false
terminationMessagePathstring -
-
false
terminationMessagePolicystring -
-
false
ttyboolean -
-
false
volumeDevices[]object -
-
false
volumeMounts[]object -
-
false
workingDirstring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].env[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
false
valueFromobject -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].env[index].valueFrom -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexenvindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
configMapKeyRefobject -
-
false
fieldRefobject -
-
false
resourceFieldRefobject -
-
false
secretKeyRefobject -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].env[index].valueFrom.configMapKeyRef -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].env[index].valueFrom.fieldRef -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
fieldPathstring -
-
true
apiVersionstring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].env[index].valueFrom.resourceFieldRef -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
resourcestring -
-
true
containerNamestring -
-
false
divisorint or string -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].env[index].valueFrom.secretKeyRef -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].envFrom[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
configMapRefobject -
-
false
prefixstring -
-
false
secretRefobject -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].envFrom[index].configMapRef -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexenvfromindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].envFrom[index].secretRef -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexenvfromindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
postStartobject -
-
false
preStopobject -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.postStart -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecycle-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
httpGetobject -
-
false
sleepobject -
-
false
tcpSocketobject -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.postStart.exec -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.postStart.httpGet -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.postStart.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecyclepoststarthttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.postStart.sleep -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
secondsinteger -
-
- Format: int64
-
true
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.postStart.tcpSocket -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.preStop -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecycle-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
httpGetobject -
-
false
sleepobject -
-
false
tcpSocketobject -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.preStop.exec -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.preStop.httpGet -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.preStop.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecycleprestophttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.preStop.sleep -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
secondsinteger -
-
- Format: int64
-
true
- - -### OpenTelemetryCollector.spec.additionalContainers[index].lifecycle.preStop.tcpSocket -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].livenessProbe -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
failureThresholdinteger -
-
- Format: int32
-
false
grpcobject -
-
false
httpGetobject -
-
false
initialDelaySecondsinteger -
-
- Format: int32
-
false
periodSecondsinteger -
-
- Format: int32
-
false
successThresholdinteger -
-
- Format: int32
-
false
tcpSocketobject -
-
false
terminationGracePeriodSecondsinteger -
-
- Format: int64
-
false
timeoutSecondsinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].livenessProbe.exec -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlivenessprobe-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].livenessProbe.grpc -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlivenessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portinteger -
-
- Format: int32
-
true
servicestring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].livenessProbe.httpGet -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlivenessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].livenessProbe.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlivenessprobehttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.additionalContainers[index].livenessProbe.tcpSocket -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexlivenessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].ports[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
containerPortinteger -
-
- Format: int32
-
true
hostIPstring -
-
false
hostPortinteger -
-
- Format: int32
-
false
namestring -
-
false
protocolstring -
-
- Default: TCP
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].readinessProbe -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
failureThresholdinteger -
-
- Format: int32
-
false
grpcobject -
-
false
httpGetobject -
-
false
initialDelaySecondsinteger -
-
- Format: int32
-
false
periodSecondsinteger -
-
- Format: int32
-
false
successThresholdinteger -
-
- Format: int32
-
false
tcpSocketobject -
-
false
terminationGracePeriodSecondsinteger -
-
- Format: int64
-
false
timeoutSecondsinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].readinessProbe.exec -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexreadinessprobe-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].readinessProbe.grpc -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexreadinessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portinteger -
-
- Format: int32
-
true
servicestring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].readinessProbe.httpGet -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexreadinessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].readinessProbe.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexreadinessprobehttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.additionalContainers[index].readinessProbe.tcpSocket -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexreadinessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].resizePolicy[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
resourceNamestring -
-
true
restartPolicystring -
-
true
- - -### OpenTelemetryCollector.spec.additionalContainers[index].resources -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
claims[]object -
-
false
limitsmap[string]int or string -
-
false
requestsmap[string]int or string -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].resources.claims[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexresources-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
- - -### OpenTelemetryCollector.spec.additionalContainers[index].securityContext -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
allowPrivilegeEscalationboolean -
-
false
capabilitiesobject -
-
false
privilegedboolean -
-
false
procMountstring -
-
false
readOnlyRootFilesystemboolean -
-
false
runAsGroupinteger -
-
- Format: int64
-
false
runAsNonRootboolean -
-
false
runAsUserinteger -
-
- Format: int64
-
false
seLinuxOptionsobject -
-
false
seccompProfileobject -
-
false
windowsOptionsobject -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].securityContext.capabilities -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
add[]string -
-
false
drop[]string -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].securityContext.seLinuxOptions -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
levelstring -
-
false
rolestring -
-
false
typestring -
-
false
userstring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].securityContext.seccompProfile -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
typestring -
-
true
localhostProfilestring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].securityContext.windowsOptions -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
gmsaCredentialSpecstring -
-
false
gmsaCredentialSpecNamestring -
-
false
hostProcessboolean -
-
false
runAsUserNamestring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].startupProbe -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
failureThresholdinteger -
-
- Format: int32
-
false
grpcobject -
-
false
httpGetobject -
-
false
initialDelaySecondsinteger -
-
- Format: int32
-
false
periodSecondsinteger -
-
- Format: int32
-
false
successThresholdinteger -
-
- Format: int32
-
false
tcpSocketobject -
-
false
terminationGracePeriodSecondsinteger -
-
- Format: int64
-
false
timeoutSecondsinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].startupProbe.exec -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexstartupprobe-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].startupProbe.grpc -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexstartupprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portinteger -
-
- Format: int32
-
true
servicestring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].startupProbe.httpGet -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexstartupprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].startupProbe.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexstartupprobehttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.additionalContainers[index].startupProbe.tcpSocket -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindexstartupprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.additionalContainers[index].volumeDevices[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
devicePathstring -
-
true
namestring -
-
true
- - -### OpenTelemetryCollector.spec.additionalContainers[index].volumeMounts[index] -[↩ Parent](#opentelemetrycollectorspecadditionalcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
mountPathstring -
-
true
namestring -
-
true
mountPropagationstring -
-
false
readOnlyboolean -
-
false
subPathstring -
-
false
subPathExprstring -
-
false
- - -### OpenTelemetryCollector.spec.affinity -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
nodeAffinityobject -
-
false
podAffinityobject -
-
false
podAntiAffinityobject -
-
false
- - -### OpenTelemetryCollector.spec.affinity.nodeAffinity -[↩ Parent](#opentelemetrycollectorspecaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
preferredDuringSchedulingIgnoredDuringExecution[]object -
-
false
requiredDuringSchedulingIgnoredDuringExecutionobject -
-
false
- - -### OpenTelemetryCollector.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[index] -[↩ Parent](#opentelemetrycollectorspecaffinitynodeaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
preferenceobject -
-
true
weightinteger -
-
- Format: int32
-
true
- - -### OpenTelemetryCollector.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].preference -[↩ Parent](#opentelemetrycollectorspecaffinitynodeaffinitypreferredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchFields[]object -
-
false
- - -### OpenTelemetryCollector.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].preference.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecaffinitynodeaffinitypreferredduringschedulingignoredduringexecutionindexpreference-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].preference.matchFields[index] -[↩ Parent](#opentelemetrycollectorspecaffinitynodeaffinitypreferredduringschedulingignoredduringexecutionindexpreference-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution -[↩ Parent](#opentelemetrycollectorspecaffinitynodeaffinity-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
nodeSelectorTerms[]object -
-
true
- - -### OpenTelemetryCollector.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[index] -[↩ Parent](#opentelemetrycollectorspecaffinitynodeaffinityrequiredduringschedulingignoredduringexecution-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchFields[]object -
-
false
- - -### OpenTelemetryCollector.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[index].matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecaffinitynodeaffinityrequiredduringschedulingignoredduringexecutionnodeselectortermsindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[index].matchFields[index] -[↩ Parent](#opentelemetrycollectorspecaffinitynodeaffinityrequiredduringschedulingignoredduringexecutionnodeselectortermsindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAffinity -[↩ Parent](#opentelemetrycollectorspecaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
preferredDuringSchedulingIgnoredDuringExecution[]object -
-
false
requiredDuringSchedulingIgnoredDuringExecution[]object -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
podAffinityTermobject -
-
true
weightinteger -
-
- Format: int32
-
true
- - -### OpenTelemetryCollector.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm -[↩ Parent](#opentelemetrycollectorspecaffinitypodaffinitypreferredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
topologyKeystring -
-
true
labelSelectorobject -
-
false
matchLabelKeys[]string -
-
false
mismatchLabelKeys[]string -
-
false
namespaceSelectorobject -
-
false
namespaces[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.labelSelector -[↩ Parent](#opentelemetrycollectorspecaffinitypodaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinityterm-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.labelSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinitytermlabelselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.namespaceSelector -[↩ Parent](#opentelemetrycollectorspecaffinitypodaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinityterm-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.namespaceSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinitytermnamespaceselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
topologyKeystring -
-
true
labelSelectorobject -
-
false
matchLabelKeys[]string -
-
false
mismatchLabelKeys[]string -
-
false
namespaceSelectorobject -
-
false
namespaces[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].labelSelector -[↩ Parent](#opentelemetrycollectorspecaffinitypodaffinityrequiredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].labelSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodaffinityrequiredduringschedulingignoredduringexecutionindexlabelselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].namespaceSelector -[↩ Parent](#opentelemetrycollectorspecaffinitypodaffinityrequiredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].namespaceSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodaffinityrequiredduringschedulingignoredduringexecutionindexnamespaceselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity -[↩ Parent](#opentelemetrycollectorspecaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
preferredDuringSchedulingIgnoredDuringExecution[]object -
-
false
requiredDuringSchedulingIgnoredDuringExecution[]object -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodantiaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
podAffinityTermobject -
-
true
weightinteger -
-
- Format: int32
-
true
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm -[↩ Parent](#opentelemetrycollectorspecaffinitypodantiaffinitypreferredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
topologyKeystring -
-
true
labelSelectorobject -
-
false
matchLabelKeys[]string -
-
false
mismatchLabelKeys[]string -
-
false
namespaceSelectorobject -
-
false
namespaces[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.labelSelector -[↩ Parent](#opentelemetrycollectorspecaffinitypodantiaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinityterm-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.labelSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodantiaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinitytermlabelselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.namespaceSelector -[↩ Parent](#opentelemetrycollectorspecaffinitypodantiaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinityterm-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.namespaceSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodantiaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinitytermnamespaceselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodantiaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
topologyKeystring -
-
true
labelSelectorobject -
-
false
matchLabelKeys[]string -
-
false
mismatchLabelKeys[]string -
-
false
namespaceSelectorobject -
-
false
namespaces[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].labelSelector -[↩ Parent](#opentelemetrycollectorspecaffinitypodantiaffinityrequiredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].labelSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodantiaffinityrequiredduringschedulingignoredduringexecutionindexlabelselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].namespaceSelector -[↩ Parent](#opentelemetrycollectorspecaffinitypodantiaffinityrequiredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].namespaceSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecaffinitypodantiaffinityrequiredduringschedulingignoredduringexecutionindexnamespaceselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.autoscaler -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
behaviorobject -
-
false
maxReplicasinteger -
-
- Format: int32
-
false
metrics[]object -
-
false
minReplicasinteger -
-
- Format: int32
-
false
targetCPUUtilizationinteger -
-
- Format: int32
-
false
targetMemoryUtilizationinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.autoscaler.behavior -[↩ Parent](#opentelemetrycollectorspecautoscaler-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
scaleDownobject -
-
false
scaleUpobject -
-
false
- - -### OpenTelemetryCollector.spec.autoscaler.behavior.scaleDown -[↩ Parent](#opentelemetrycollectorspecautoscalerbehavior-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
policies[]object -
-
false
selectPolicystring -
-
false
stabilizationWindowSecondsinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.autoscaler.behavior.scaleDown.policies[index] -[↩ Parent](#opentelemetrycollectorspecautoscalerbehaviorscaledown-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
periodSecondsinteger -
-
- Format: int32
-
true
typestring -
-
true
valueinteger -
-
- Format: int32
-
true
- - -### OpenTelemetryCollector.spec.autoscaler.behavior.scaleUp -[↩ Parent](#opentelemetrycollectorspecautoscalerbehavior-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
policies[]object -
-
false
selectPolicystring -
-
false
stabilizationWindowSecondsinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.autoscaler.behavior.scaleUp.policies[index] -[↩ Parent](#opentelemetrycollectorspecautoscalerbehaviorscaleup-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
periodSecondsinteger -
-
- Format: int32
-
true
typestring -
-
true
valueinteger -
-
- Format: int32
-
true
- - -### OpenTelemetryCollector.spec.autoscaler.metrics[index] -[↩ Parent](#opentelemetrycollectorspecautoscaler-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
typestring -
-
true
podsobject -
-
false
- - -### OpenTelemetryCollector.spec.autoscaler.metrics[index].pods -[↩ Parent](#opentelemetrycollectorspecautoscalermetricsindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
metricobject -
-
true
targetobject -
-
true
- - -### OpenTelemetryCollector.spec.autoscaler.metrics[index].pods.metric -[↩ Parent](#opentelemetrycollectorspecautoscalermetricsindexpods-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
selectorobject -
-
false
- - -### OpenTelemetryCollector.spec.autoscaler.metrics[index].pods.metric.selector -[↩ Parent](#opentelemetrycollectorspecautoscalermetricsindexpodsmetric-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.autoscaler.metrics[index].pods.metric.selector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecautoscalermetricsindexpodsmetricselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.autoscaler.metrics[index].pods.target -[↩ Parent](#opentelemetrycollectorspecautoscalermetricsindexpods-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
typestring -
-
true
averageUtilizationinteger -
-
- Format: int32
-
false
averageValueint or string -
-
false
valueint or string -
-
false
- - -### OpenTelemetryCollector.spec.configmaps[index] -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
mountpathstring -
-
true
namestring -
-
true
- - -### OpenTelemetryCollector.spec.daemonSetUpdateStrategy -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
rollingUpdateobject -
-
false
typestring -
-
false
- - -### OpenTelemetryCollector.spec.daemonSetUpdateStrategy.rollingUpdate -[↩ Parent](#opentelemetrycollectorspecdaemonsetupdatestrategy) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
maxSurgeint or string -
-
false
maxUnavailableint or string -
-
false
- - -### OpenTelemetryCollector.spec.deploymentUpdateStrategy -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
rollingUpdateobject -
-
false
typestring -
-
false
- - -### OpenTelemetryCollector.spec.deploymentUpdateStrategy.rollingUpdate -[↩ Parent](#opentelemetrycollectorspecdeploymentupdatestrategy-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
maxSurgeint or string -
-
false
maxUnavailableint or string -
-
false
- - -### OpenTelemetryCollector.spec.env[index] -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
false
valueFromobject -
-
false
- - -### OpenTelemetryCollector.spec.env[index].valueFrom -[↩ Parent](#opentelemetrycollectorspecenvindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
configMapKeyRefobject -
-
false
fieldRefobject -
-
false
resourceFieldRefobject -
-
false
secretKeyRefobject -
-
false
- - -### OpenTelemetryCollector.spec.env[index].valueFrom.configMapKeyRef -[↩ Parent](#opentelemetrycollectorspecenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.env[index].valueFrom.fieldRef -[↩ Parent](#opentelemetrycollectorspecenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
fieldPathstring -
-
true
apiVersionstring -
-
false
- - -### OpenTelemetryCollector.spec.env[index].valueFrom.resourceFieldRef -[↩ Parent](#opentelemetrycollectorspecenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
resourcestring -
-
true
containerNamestring -
-
false
divisorint or string -
-
false
- - -### OpenTelemetryCollector.spec.env[index].valueFrom.secretKeyRef -[↩ Parent](#opentelemetrycollectorspecenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.envFrom[index] -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
configMapRefobject -
-
false
prefixstring -
-
false
secretRefobject -
-
false
- - -### OpenTelemetryCollector.spec.envFrom[index].configMapRef -[↩ Parent](#opentelemetrycollectorspecenvfromindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.envFrom[index].secretRef -[↩ Parent](#opentelemetrycollectorspecenvfromindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.ingress -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
annotationsmap[string]string -
-
false
hostnamestring -
-
false
ingressClassNamestring -
-
false
routeobject -
-
false
ruleTypeenum -
-
- Enum: path, subdomain
-
false
tls[]object -
-
false
typeenum -
-
- Enum: ingress, route
-
false
- - -### OpenTelemetryCollector.spec.ingress.route -[↩ Parent](#opentelemetrycollectorspecingress-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
terminationenum -
-
- Enum: insecure, edge, passthrough, reencrypt
-
false
- - -### OpenTelemetryCollector.spec.ingress.tls[index] -[↩ Parent](#opentelemetrycollectorspecingress-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
hosts[]string -
-
false
secretNamestring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index] -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
args[]string -
-
false
command[]string -
-
false
env[]object -
-
false
envFrom[]object -
-
false
imagestring -
-
false
imagePullPolicystring -
-
false
lifecycleobject -
-
false
livenessProbeobject -
-
false
ports[]object -
-
false
readinessProbeobject -
-
false
resizePolicy[]object -
-
false
resourcesobject -
-
false
restartPolicystring -
-
false
securityContextobject -
-
false
startupProbeobject -
-
false
stdinboolean -
-
false
stdinOnceboolean -
-
false
terminationMessagePathstring -
-
false
terminationMessagePolicystring -
-
false
ttyboolean -
-
false
volumeDevices[]object -
-
false
volumeMounts[]object -
-
false
workingDirstring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].env[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
false
valueFromobject -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].env[index].valueFrom -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexenvindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
configMapKeyRefobject -
-
false
fieldRefobject -
-
false
resourceFieldRefobject -
-
false
secretKeyRefobject -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].env[index].valueFrom.configMapKeyRef -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].env[index].valueFrom.fieldRef -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
fieldPathstring -
-
true
apiVersionstring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].env[index].valueFrom.resourceFieldRef -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
resourcestring -
-
true
containerNamestring -
-
false
divisorint or string -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].env[index].valueFrom.secretKeyRef -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].envFrom[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
configMapRefobject -
-
false
prefixstring -
-
false
secretRefobject -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].envFrom[index].configMapRef -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexenvfromindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].envFrom[index].secretRef -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexenvfromindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
postStartobject -
-
false
preStopobject -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.postStart -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecycle-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
httpGetobject -
-
false
sleepobject -
-
false
tcpSocketobject -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.postStart.exec -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.postStart.httpGet -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.postStart.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecyclepoststarthttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.postStart.sleep -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
secondsinteger -
-
- Format: int64
-
true
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.postStart.tcpSocket -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.preStop -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecycle-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
httpGetobject -
-
false
sleepobject -
-
false
tcpSocketobject -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.preStop.exec -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.preStop.httpGet -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.preStop.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecycleprestophttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.preStop.sleep -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
secondsinteger -
-
- Format: int64
-
true
- - -### OpenTelemetryCollector.spec.initContainers[index].lifecycle.preStop.tcpSocket -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].livenessProbe -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
failureThresholdinteger -
-
- Format: int32
-
false
grpcobject -
-
false
httpGetobject -
-
false
initialDelaySecondsinteger -
-
- Format: int32
-
false
periodSecondsinteger -
-
- Format: int32
-
false
successThresholdinteger -
-
- Format: int32
-
false
tcpSocketobject -
-
false
terminationGracePeriodSecondsinteger -
-
- Format: int64
-
false
timeoutSecondsinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].livenessProbe.exec -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlivenessprobe-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].livenessProbe.grpc -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlivenessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portinteger -
-
- Format: int32
-
true
servicestring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].livenessProbe.httpGet -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlivenessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].livenessProbe.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlivenessprobehttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.initContainers[index].livenessProbe.tcpSocket -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexlivenessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].ports[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
containerPortinteger -
-
- Format: int32
-
true
hostIPstring -
-
false
hostPortinteger -
-
- Format: int32
-
false
namestring -
-
false
protocolstring -
-
- Default: TCP
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].readinessProbe -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
failureThresholdinteger -
-
- Format: int32
-
false
grpcobject -
-
false
httpGetobject -
-
false
initialDelaySecondsinteger -
-
- Format: int32
-
false
periodSecondsinteger -
-
- Format: int32
-
false
successThresholdinteger -
-
- Format: int32
-
false
tcpSocketobject -
-
false
terminationGracePeriodSecondsinteger -
-
- Format: int64
-
false
timeoutSecondsinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].readinessProbe.exec -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexreadinessprobe-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].readinessProbe.grpc -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexreadinessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portinteger -
-
- Format: int32
-
true
servicestring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].readinessProbe.httpGet -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexreadinessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].readinessProbe.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexreadinessprobehttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.initContainers[index].readinessProbe.tcpSocket -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexreadinessprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].resizePolicy[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
resourceNamestring -
-
true
restartPolicystring -
-
true
- - -### OpenTelemetryCollector.spec.initContainers[index].resources -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
claims[]object -
-
false
limitsmap[string]int or string -
-
false
requestsmap[string]int or string -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].resources.claims[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexresources-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
- - -### OpenTelemetryCollector.spec.initContainers[index].securityContext -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
allowPrivilegeEscalationboolean -
-
false
capabilitiesobject -
-
false
privilegedboolean -
-
false
procMountstring -
-
false
readOnlyRootFilesystemboolean -
-
false
runAsGroupinteger -
-
- Format: int64
-
false
runAsNonRootboolean -
-
false
runAsUserinteger -
-
- Format: int64
-
false
seLinuxOptionsobject -
-
false
seccompProfileobject -
-
false
windowsOptionsobject -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].securityContext.capabilities -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
add[]string -
-
false
drop[]string -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].securityContext.seLinuxOptions -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
levelstring -
-
false
rolestring -
-
false
typestring -
-
false
userstring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].securityContext.seccompProfile -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
typestring -
-
true
localhostProfilestring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].securityContext.windowsOptions -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
gmsaCredentialSpecstring -
-
false
gmsaCredentialSpecNamestring -
-
false
hostProcessboolean -
-
false
runAsUserNamestring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].startupProbe -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
failureThresholdinteger -
-
- Format: int32
-
false
grpcobject -
-
false
httpGetobject -
-
false
initialDelaySecondsinteger -
-
- Format: int32
-
false
periodSecondsinteger -
-
- Format: int32
-
false
successThresholdinteger -
-
- Format: int32
-
false
tcpSocketobject -
-
false
terminationGracePeriodSecondsinteger -
-
- Format: int64
-
false
timeoutSecondsinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].startupProbe.exec -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexstartupprobe-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].startupProbe.grpc -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexstartupprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portinteger -
-
- Format: int32
-
true
servicestring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].startupProbe.httpGet -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexstartupprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].startupProbe.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexstartupprobehttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.initContainers[index].startupProbe.tcpSocket -[↩ Parent](#opentelemetrycollectorspecinitcontainersindexstartupprobe-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.initContainers[index].volumeDevices[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
devicePathstring -
-
true
namestring -
-
true
- - -### OpenTelemetryCollector.spec.initContainers[index].volumeMounts[index] -[↩ Parent](#opentelemetrycollectorspecinitcontainersindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
mountPathstring -
-
true
namestring -
-
true
mountPropagationstring -
-
false
readOnlyboolean -
-
false
subPathstring -
-
false
subPathExprstring -
-
false
- - -### OpenTelemetryCollector.spec.lifecycle -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
postStartobject -
-
false
preStopobject -
-
false
- - -### OpenTelemetryCollector.spec.lifecycle.postStart -[↩ Parent](#opentelemetrycollectorspeclifecycle-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
httpGetobject -
-
false
sleepobject -
-
false
tcpSocketobject -
-
false
- - -### OpenTelemetryCollector.spec.lifecycle.postStart.exec -[↩ Parent](#opentelemetrycollectorspeclifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.lifecycle.postStart.httpGet -[↩ Parent](#opentelemetrycollectorspeclifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.lifecycle.postStart.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspeclifecyclepoststarthttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.lifecycle.postStart.sleep -[↩ Parent](#opentelemetrycollectorspeclifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
secondsinteger -
-
- Format: int64
-
true
- - -### OpenTelemetryCollector.spec.lifecycle.postStart.tcpSocket -[↩ Parent](#opentelemetrycollectorspeclifecyclepoststart-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.lifecycle.preStop -[↩ Parent](#opentelemetrycollectorspeclifecycle-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
execobject -
-
false
httpGetobject -
-
false
sleepobject -
-
false
tcpSocketobject -
-
false
- - -### OpenTelemetryCollector.spec.lifecycle.preStop.exec -[↩ Parent](#opentelemetrycollectorspeclifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
command[]string -
-
false
- - -### OpenTelemetryCollector.spec.lifecycle.preStop.httpGet -[↩ Parent](#opentelemetrycollectorspeclifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
httpHeaders[]object -
-
false
pathstring -
-
false
schemestring -
-
false
- - -### OpenTelemetryCollector.spec.lifecycle.preStop.httpGet.httpHeaders[index] -[↩ Parent](#opentelemetrycollectorspeclifecycleprestophttpget-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.lifecycle.preStop.sleep -[↩ Parent](#opentelemetrycollectorspeclifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
secondsinteger -
-
- Format: int64
-
true
- - -### OpenTelemetryCollector.spec.lifecycle.preStop.tcpSocket -[↩ Parent](#opentelemetrycollectorspeclifecycleprestop-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portint or string -
-
true
hoststring -
-
false
- - -### OpenTelemetryCollector.spec.livenessProbe -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
failureThresholdinteger -
-
- Format: int32
-
false
initialDelaySecondsinteger -
-
- Format: int32
-
false
periodSecondsinteger -
-
- Format: int32
-
false
successThresholdinteger -
-
- Format: int32
-
false
terminationGracePeriodSecondsinteger -
-
- Format: int64
-
false
timeoutSecondsinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.observability -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
metricsobject -
-
false
- - -### OpenTelemetryCollector.spec.observability.metrics -[↩ Parent](#opentelemetrycollectorspecobservability-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
disablePrometheusAnnotationsboolean -
-
false
enableMetricsboolean -
-
false
- - -### OpenTelemetryCollector.spec.podDisruptionBudget -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
maxUnavailableint or string -
-
false
minAvailableint or string -
-
false
- - -### OpenTelemetryCollector.spec.podSecurityContext -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
fsGroupinteger -
-
- Format: int64
-
false
fsGroupChangePolicystring -
-
false
runAsGroupinteger -
-
- Format: int64
-
false
runAsNonRootboolean -
-
false
runAsUserinteger -
-
- Format: int64
-
false
seLinuxOptionsobject -
-
false
seccompProfileobject -
-
false
supplementalGroups[]integer -
-
false
sysctls[]object -
-
false
windowsOptionsobject -
-
false
- - -### OpenTelemetryCollector.spec.podSecurityContext.seLinuxOptions -[↩ Parent](#opentelemetrycollectorspecpodsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
levelstring -
-
false
rolestring -
-
false
typestring -
-
false
userstring -
-
false
- - -### OpenTelemetryCollector.spec.podSecurityContext.seccompProfile -[↩ Parent](#opentelemetrycollectorspecpodsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
typestring -
-
true
localhostProfilestring -
-
false
- - -### OpenTelemetryCollector.spec.podSecurityContext.sysctls[index] -[↩ Parent](#opentelemetrycollectorspecpodsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.podSecurityContext.windowsOptions -[↩ Parent](#opentelemetrycollectorspecpodsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
gmsaCredentialSpecstring -
-
false
gmsaCredentialSpecNamestring -
-
false
hostProcessboolean -
-
false
runAsUserNamestring -
-
false
- - -### OpenTelemetryCollector.spec.ports[index] -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
portinteger -
-
- Format: int32
-
true
appProtocolstring -
-
false
namestring -
-
false
nodePortinteger -
-
- Format: int32
-
false
protocolstring -
-
- Default: TCP
-
false
targetPortint or string -
-
false
- - -### OpenTelemetryCollector.spec.resources -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
claims[]object -
-
false
limitsmap[string]int or string -
-
false
requestsmap[string]int or string -
-
false
- - -### OpenTelemetryCollector.spec.resources.claims[index] -[↩ Parent](#opentelemetrycollectorspecresources-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
- - -### OpenTelemetryCollector.spec.securityContext -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
allowPrivilegeEscalationboolean -
-
false
capabilitiesobject -
-
false
privilegedboolean -
-
false
procMountstring -
-
false
readOnlyRootFilesystemboolean -
-
false
runAsGroupinteger -
-
- Format: int64
-
false
runAsNonRootboolean -
-
false
runAsUserinteger -
-
- Format: int64
-
false
seLinuxOptionsobject -
-
false
seccompProfileobject -
-
false
windowsOptionsobject -
-
false
- - -### OpenTelemetryCollector.spec.securityContext.capabilities -[↩ Parent](#opentelemetrycollectorspecsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
add[]string -
-
false
drop[]string -
-
false
- - -### OpenTelemetryCollector.spec.securityContext.seLinuxOptions -[↩ Parent](#opentelemetrycollectorspecsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
levelstring -
-
false
rolestring -
-
false
typestring -
-
false
userstring -
-
false
- - -### OpenTelemetryCollector.spec.securityContext.seccompProfile -[↩ Parent](#opentelemetrycollectorspecsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
typestring -
-
true
localhostProfilestring -
-
false
- - -### OpenTelemetryCollector.spec.securityContext.windowsOptions -[↩ Parent](#opentelemetrycollectorspecsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
gmsaCredentialSpecstring -
-
false
gmsaCredentialSpecNamestring -
-
false
hostProcessboolean -
-
false
runAsUserNamestring -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
affinityobject -
-
false
allocationStrategyenum -
-
- Enum: least-weighted, consistent-hashing
- Default: consistent-hashing
-
false
enabledboolean -
-
false
env[]object -
-
false
filterStrategyenum -
-
- Enum: , relabel-config
- Default: relabel-config
-
false
imagestring -
-
false
nodeSelectormap[string]string -
-
false
observabilityobject -
-
false
podDisruptionBudgetobject -
-
false
podSecurityContextobject -
-
false
prometheusCRobject -
-
false
replicasinteger -
-
- Format: int32
-
false
resourcesobject -
-
false
securityContextobject -
-
false
serviceAccountstring -
-
false
tolerations[]object -
-
false
topologySpreadConstraints[]object -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity -[↩ Parent](#opentelemetrycollectorspectargetallocator-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
nodeAffinityobject -
-
false
podAffinityobject -
-
false
podAntiAffinityobject -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.nodeAffinity -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
preferredDuringSchedulingIgnoredDuringExecution[]object -
-
false
requiredDuringSchedulingIgnoredDuringExecutionobject -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitynodeaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
preferenceobject -
-
true
weightinteger -
-
- Format: int32
-
true
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].preference -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitynodeaffinitypreferredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchFields[]object -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].preference.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitynodeaffinitypreferredduringschedulingignoredduringexecutionindexpreference-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].preference.matchFields[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitynodeaffinitypreferredduringschedulingignoredduringexecutionindexpreference-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitynodeaffinity-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
nodeSelectorTerms[]object -
-
true
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitynodeaffinityrequiredduringschedulingignoredduringexecution-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchFields[]object -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[index].matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitynodeaffinityrequiredduringschedulingignoredduringexecutionnodeselectortermsindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[index].matchFields[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitynodeaffinityrequiredduringschedulingignoredduringexecutionnodeselectortermsindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
preferredDuringSchedulingIgnoredDuringExecution[]object -
-
false
requiredDuringSchedulingIgnoredDuringExecution[]object -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
podAffinityTermobject -
-
true
weightinteger -
-
- Format: int32
-
true
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodaffinitypreferredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
topologyKeystring -
-
true
labelSelectorobject -
-
false
matchLabelKeys[]string -
-
false
mismatchLabelKeys[]string -
-
false
namespaceSelectorobject -
-
false
namespaces[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.labelSelector -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinityterm-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.labelSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinitytermlabelselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.namespaceSelector -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinityterm-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.namespaceSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinitytermnamespaceselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
topologyKeystring -
-
true
labelSelectorobject -
-
false
matchLabelKeys[]string -
-
false
mismatchLabelKeys[]string -
-
false
namespaceSelectorobject -
-
false
namespaces[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].labelSelector -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodaffinityrequiredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].labelSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodaffinityrequiredduringschedulingignoredduringexecutionindexlabelselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].namespaceSelector -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodaffinityrequiredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].namespaceSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodaffinityrequiredduringschedulingignoredduringexecutionindexnamespaceselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
preferredDuringSchedulingIgnoredDuringExecution[]object -
-
false
requiredDuringSchedulingIgnoredDuringExecution[]object -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodantiaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
podAffinityTermobject -
-
true
weightinteger -
-
- Format: int32
-
true
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodantiaffinitypreferredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
topologyKeystring -
-
true
labelSelectorobject -
-
false
matchLabelKeys[]string -
-
false
mismatchLabelKeys[]string -
-
false
namespaceSelectorobject -
-
false
namespaces[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.labelSelector -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodantiaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinityterm-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.labelSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodantiaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinitytermlabelselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.namespaceSelector -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodantiaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinityterm-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[index].podAffinityTerm.namespaceSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodantiaffinitypreferredduringschedulingignoredduringexecutionindexpodaffinitytermnamespaceselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodantiaffinity-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
topologyKeystring -
-
true
labelSelectorobject -
-
false
matchLabelKeys[]string -
-
false
mismatchLabelKeys[]string -
-
false
namespaceSelectorobject -
-
false
namespaces[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].labelSelector -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodantiaffinityrequiredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].labelSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodantiaffinityrequiredduringschedulingignoredduringexecutionindexlabelselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].namespaceSelector -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodantiaffinityrequiredduringschedulingignoredduringexecutionindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[index].namespaceSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatoraffinitypodantiaffinityrequiredduringschedulingignoredduringexecutionindexnamespaceselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.env[index] -[↩ Parent](#opentelemetrycollectorspectargetallocator-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
false
valueFromobject -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.env[index].valueFrom -[↩ Parent](#opentelemetrycollectorspectargetallocatorenvindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
configMapKeyRefobject -
-
false
fieldRefobject -
-
false
resourceFieldRefobject -
-
false
secretKeyRefobject -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.env[index].valueFrom.configMapKeyRef -[↩ Parent](#opentelemetrycollectorspectargetallocatorenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.env[index].valueFrom.fieldRef -[↩ Parent](#opentelemetrycollectorspectargetallocatorenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
fieldPathstring -
-
true
apiVersionstring -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.env[index].valueFrom.resourceFieldRef -[↩ Parent](#opentelemetrycollectorspectargetallocatorenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
resourcestring -
-
true
containerNamestring -
-
false
divisorint or string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.env[index].valueFrom.secretKeyRef -[↩ Parent](#opentelemetrycollectorspectargetallocatorenvindexvaluefrom-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.observability -[↩ Parent](#opentelemetrycollectorspectargetallocator-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
metricsobject -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.observability.metrics -[↩ Parent](#opentelemetrycollectorspectargetallocatorobservability-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
disablePrometheusAnnotationsboolean -
-
false
enableMetricsboolean -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.podDisruptionBudget -[↩ Parent](#opentelemetrycollectorspectargetallocator-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
maxUnavailableint or string -
-
false
minAvailableint or string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.podSecurityContext -[↩ Parent](#opentelemetrycollectorspectargetallocator-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
fsGroupinteger -
-
- Format: int64
-
false
fsGroupChangePolicystring -
-
false
runAsGroupinteger -
-
- Format: int64
-
false
runAsNonRootboolean -
-
false
runAsUserinteger -
-
- Format: int64
-
false
seLinuxOptionsobject -
-
false
seccompProfileobject -
-
false
supplementalGroups[]integer -
-
false
sysctls[]object -
-
false
windowsOptionsobject -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.podSecurityContext.seLinuxOptions -[↩ Parent](#opentelemetrycollectorspectargetallocatorpodsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
levelstring -
-
false
rolestring -
-
false
typestring -
-
false
userstring -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.podSecurityContext.seccompProfile -[↩ Parent](#opentelemetrycollectorspectargetallocatorpodsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
typestring -
-
true
localhostProfilestring -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.podSecurityContext.sysctls[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatorpodsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
valuestring -
-
true
- - -### OpenTelemetryCollector.spec.targetAllocator.podSecurityContext.windowsOptions -[↩ Parent](#opentelemetrycollectorspectargetallocatorpodsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
gmsaCredentialSpecstring -
-
false
gmsaCredentialSpecNamestring -
-
false
hostProcessboolean -
-
false
runAsUserNamestring -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.prometheusCR -[↩ Parent](#opentelemetrycollectorspectargetallocator-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
enabledboolean -
-
false
podMonitorSelectorobject -
-
false
scrapeIntervalstring -
-
- Format: duration
- Default: 30s
-
false
serviceMonitorSelectorobject -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.prometheusCR.podMonitorSelector -[↩ Parent](#opentelemetrycollectorspectargetallocatorprometheuscr-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.prometheusCR.podMonitorSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatorprometheuscrpodmonitorselector) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.prometheusCR.serviceMonitorSelector -[↩ Parent](#opentelemetrycollectorspectargetallocatorprometheuscr-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.prometheusCR.serviceMonitorSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatorprometheuscrservicemonitorselector) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.resources -[↩ Parent](#opentelemetrycollectorspectargetallocator-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
claims[]object -
-
false
limitsmap[string]int or string -
-
false
requestsmap[string]int or string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.resources.claims[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatorresources-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
- - -### OpenTelemetryCollector.spec.targetAllocator.securityContext -[↩ Parent](#opentelemetrycollectorspectargetallocator-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
allowPrivilegeEscalationboolean -
-
false
capabilitiesobject -
-
false
privilegedboolean -
-
false
procMountstring -
-
false
readOnlyRootFilesystemboolean -
-
false
runAsGroupinteger -
-
- Format: int64
-
false
runAsNonRootboolean -
-
false
runAsUserinteger -
-
- Format: int64
-
false
seLinuxOptionsobject -
-
false
seccompProfileobject -
-
false
windowsOptionsobject -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.securityContext.capabilities -[↩ Parent](#opentelemetrycollectorspectargetallocatorsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
add[]string -
-
false
drop[]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.securityContext.seLinuxOptions -[↩ Parent](#opentelemetrycollectorspectargetallocatorsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
levelstring -
-
false
rolestring -
-
false
typestring -
-
false
userstring -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.securityContext.seccompProfile -[↩ Parent](#opentelemetrycollectorspectargetallocatorsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
typestring -
-
true
localhostProfilestring -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.securityContext.windowsOptions -[↩ Parent](#opentelemetrycollectorspectargetallocatorsecuritycontext-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
gmsaCredentialSpecstring -
-
false
gmsaCredentialSpecNamestring -
-
false
hostProcessboolean -
-
false
runAsUserNamestring -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.tolerations[index] -[↩ Parent](#opentelemetrycollectorspectargetallocator-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
effectstring -
-
false
keystring -
-
false
operatorstring -
-
false
tolerationSecondsinteger -
-
- Format: int64
-
false
valuestring -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.topologySpreadConstraints[index] -[↩ Parent](#opentelemetrycollectorspectargetallocator-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
maxSkewinteger -
-
- Format: int32
-
true
topologyKeystring -
-
true
whenUnsatisfiablestring -
-
true
labelSelectorobject -
-
false
matchLabelKeys[]string -
-
false
minDomainsinteger -
-
- Format: int32
-
false
nodeAffinityPolicystring -
-
false
nodeTaintsPolicystring -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.topologySpreadConstraints[index].labelSelector -[↩ Parent](#opentelemetrycollectorspectargetallocatortopologyspreadconstraintsindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.targetAllocator.topologySpreadConstraints[index].labelSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectargetallocatortopologyspreadconstraintsindexlabelselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.tolerations[index] -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
effectstring -
-
false
keystring -
-
false
operatorstring -
-
false
tolerationSecondsinteger -
-
- Format: int64
-
false
valuestring -
-
false
- - -### OpenTelemetryCollector.spec.topologySpreadConstraints[index] -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
maxSkewinteger -
-
- Format: int32
-
true
topologyKeystring -
-
true
whenUnsatisfiablestring -
-
true
labelSelectorobject -
-
false
matchLabelKeys[]string -
-
false
minDomainsinteger -
-
- Format: int32
-
false
nodeAffinityPolicystring -
-
false
nodeTaintsPolicystring -
-
false
- - -### OpenTelemetryCollector.spec.topologySpreadConstraints[index].labelSelector -[↩ Parent](#opentelemetrycollectorspectopologyspreadconstraintsindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.topologySpreadConstraints[index].labelSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspectopologyspreadconstraintsindexlabelselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.volumeClaimTemplates[index] -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
apiVersionstring -
-
false
kindstring -
-
false
metadataobject -
-
false
specobject -
-
false
statusobject -
-
false
- - -### OpenTelemetryCollector.spec.volumeClaimTemplates[index].metadata -[↩ Parent](#opentelemetrycollectorspecvolumeclaimtemplatesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
annotationsmap[string]string -
-
false
finalizers[]string -
-
false
labelsmap[string]string -
-
false
namestring -
-
false
namespacestring -
-
false
- - -### OpenTelemetryCollector.spec.volumeClaimTemplates[index].spec -[↩ Parent](#opentelemetrycollectorspecvolumeclaimtemplatesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
accessModes[]string -
-
false
dataSourceobject -
-
false
dataSourceRefobject -
-
false
resourcesobject -
-
false
selectorobject -
-
false
storageClassNamestring -
-
false
volumeAttributesClassNamestring -
-
false
volumeModestring -
-
false
volumeNamestring -
-
false
- - -### OpenTelemetryCollector.spec.volumeClaimTemplates[index].spec.dataSource -[↩ Parent](#opentelemetrycollectorspecvolumeclaimtemplatesindexspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
kindstring -
-
true
namestring -
-
true
apiGroupstring -
-
false
- - -### OpenTelemetryCollector.spec.volumeClaimTemplates[index].spec.dataSourceRef -[↩ Parent](#opentelemetrycollectorspecvolumeclaimtemplatesindexspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
kindstring -
-
true
namestring -
-
true
apiGroupstring -
-
false
namespacestring -
-
false
- - -### OpenTelemetryCollector.spec.volumeClaimTemplates[index].spec.resources -[↩ Parent](#opentelemetrycollectorspecvolumeclaimtemplatesindexspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
limitsmap[string]int or string -
-
false
requestsmap[string]int or string -
-
false
- - -### OpenTelemetryCollector.spec.volumeClaimTemplates[index].spec.selector -[↩ Parent](#opentelemetrycollectorspecvolumeclaimtemplatesindexspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.volumeClaimTemplates[index].spec.selector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecvolumeclaimtemplatesindexspecselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.volumeClaimTemplates[index].status -[↩ Parent](#opentelemetrycollectorspecvolumeclaimtemplatesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
accessModes[]string -
-
false
allocatedResourceStatusesmap[string]string -
-
false
allocatedResourcesmap[string]int or string -
-
false
capacitymap[string]int or string -
-
false
conditions[]object -
-
false
currentVolumeAttributesClassNamestring -
-
false
modifyVolumeStatusobject -
-
false
phasestring -
-
false
- - -### OpenTelemetryCollector.spec.volumeClaimTemplates[index].status.conditions[index] -[↩ Parent](#opentelemetrycollectorspecvolumeclaimtemplatesindexstatus-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
statusstring -
-
true
typestring -
-
true
lastProbeTimestring -
-
- Format: date-time
-
false
lastTransitionTimestring -
-
- Format: date-time
-
false
messagestring -
-
false
reasonstring -
-
false
- - -### OpenTelemetryCollector.spec.volumeClaimTemplates[index].status.modifyVolumeStatus -[↩ Parent](#opentelemetrycollectorspecvolumeclaimtemplatesindexstatus-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
statusstring -
-
true
targetVolumeAttributesClassNamestring -
-
false
- - -### OpenTelemetryCollector.spec.volumeMounts[index] -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
mountPathstring -
-
true
namestring -
-
true
mountPropagationstring -
-
false
readOnlyboolean -
-
false
subPathstring -
-
false
subPathExprstring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index] -[↩ Parent](#opentelemetrycollectorspec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
true
awsElasticBlockStoreobject -
-
false
azureDiskobject -
-
false
azureFileobject -
-
false
cephfsobject -
-
false
cinderobject -
-
false
configMapobject -
-
false
csiobject -
-
false
downwardAPIobject -
-
false
emptyDirobject -
-
false
ephemeralobject -
-
false
fcobject -
-
false
flexVolumeobject -
-
false
flockerobject -
-
false
gcePersistentDiskobject -
-
false
gitRepoobject -
-
false
glusterfsobject -
-
false
hostPathobject -
-
false
iscsiobject -
-
false
nfsobject -
-
false
persistentVolumeClaimobject -
-
false
photonPersistentDiskobject -
-
false
portworxVolumeobject -
-
false
projectedobject -
-
false
quobyteobject -
-
false
rbdobject -
-
false
scaleIOobject -
-
false
secretobject -
-
false
storageosobject -
-
false
vsphereVolumeobject -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].awsElasticBlockStore -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
volumeIDstring -
-
true
fsTypestring -
-
false
partitioninteger -
-
- Format: int32
-
false
readOnlyboolean -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].azureDisk -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
diskNamestring -
-
true
diskURIstring -
-
true
cachingModestring -
-
false
fsTypestring -
-
false
kindstring -
-
false
readOnlyboolean -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].azureFile -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
secretNamestring -
-
true
shareNamestring -
-
true
readOnlyboolean -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].cephfs -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
monitors[]string -
-
true
pathstring -
-
false
readOnlyboolean -
-
false
secretFilestring -
-
false
secretRefobject -
-
false
userstring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].cephfs.secretRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexcephfs-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].cinder -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
volumeIDstring -
-
true
fsTypestring -
-
false
readOnlyboolean -
-
false
secretRefobject -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].cinder.secretRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexcinder-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].configMap -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
defaultModeinteger -
-
- Format: int32
-
false
items[]object -
-
false
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].configMap.items[index] -[↩ Parent](#opentelemetrycollectorspecvolumesindexconfigmap-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
pathstring -
-
true
modeinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].csi -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
driverstring -
-
true
fsTypestring -
-
false
nodePublishSecretRefobject -
-
false
readOnlyboolean -
-
false
volumeAttributesmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].csi.nodePublishSecretRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexcsi-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].downwardAPI -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
defaultModeinteger -
-
- Format: int32
-
false
items[]object -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].downwardAPI.items[index] -[↩ Parent](#opentelemetrycollectorspecvolumesindexdownwardapi-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
pathstring -
-
true
fieldRefobject -
-
false
modeinteger -
-
- Format: int32
-
false
resourceFieldRefobject -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].downwardAPI.items[index].fieldRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexdownwardapiitemsindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
fieldPathstring -
-
true
apiVersionstring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].downwardAPI.items[index].resourceFieldRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexdownwardapiitemsindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
resourcestring -
-
true
containerNamestring -
-
false
divisorint or string -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].emptyDir -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
mediumstring -
-
false
sizeLimitint or string -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].ephemeral -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
volumeClaimTemplateobject -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].ephemeral.volumeClaimTemplate -[↩ Parent](#opentelemetrycollectorspecvolumesindexephemeral-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
specobject -
-
true
metadataobject -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].ephemeral.volumeClaimTemplate.spec -[↩ Parent](#opentelemetrycollectorspecvolumesindexephemeralvolumeclaimtemplate-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
accessModes[]string -
-
false
dataSourceobject -
-
false
dataSourceRefobject -
-
false
resourcesobject -
-
false
selectorobject -
-
false
storageClassNamestring -
-
false
volumeAttributesClassNamestring -
-
false
volumeModestring -
-
false
volumeNamestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].ephemeral.volumeClaimTemplate.spec.dataSource -[↩ Parent](#opentelemetrycollectorspecvolumesindexephemeralvolumeclaimtemplatespec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
kindstring -
-
true
namestring -
-
true
apiGroupstring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].ephemeral.volumeClaimTemplate.spec.dataSourceRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexephemeralvolumeclaimtemplatespec-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
kindstring -
-
true
namestring -
-
true
apiGroupstring -
-
false
namespacestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].ephemeral.volumeClaimTemplate.spec.resources -[↩ Parent](#opentelemetrycollectorspecvolumesindexephemeralvolumeclaimtemplatespec-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
limitsmap[string]int or string -
-
false
requestsmap[string]int or string -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].ephemeral.volumeClaimTemplate.spec.selector -[↩ Parent](#opentelemetrycollectorspecvolumesindexephemeralvolumeclaimtemplatespec-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].ephemeral.volumeClaimTemplate.spec.selector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecvolumesindexephemeralvolumeclaimtemplatespecselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].ephemeral.volumeClaimTemplate.metadata -[↩ Parent](#opentelemetrycollectorspecvolumesindexephemeralvolumeclaimtemplate-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
annotationsmap[string]string -
-
false
finalizers[]string -
-
false
labelsmap[string]string -
-
false
namestring -
-
false
namespacestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].fc -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
fsTypestring -
-
false
luninteger -
-
- Format: int32
-
false
readOnlyboolean -
-
false
targetWWNs[]string -
-
false
wwids[]string -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].flexVolume -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
driverstring -
-
true
fsTypestring -
-
false
optionsmap[string]string -
-
false
readOnlyboolean -
-
false
secretRefobject -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].flexVolume.secretRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexflexvolume-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].flocker -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
datasetNamestring -
-
false
datasetUUIDstring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].gcePersistentDisk -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
pdNamestring -
-
true
fsTypestring -
-
false
partitioninteger -
-
- Format: int32
-
false
readOnlyboolean -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].gitRepo -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
repositorystring -
-
true
directorystring -
-
false
revisionstring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].glusterfs -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
endpointsstring -
-
true
pathstring -
-
true
readOnlyboolean -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].hostPath -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
pathstring -
-
true
typestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].iscsi -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
iqnstring -
-
true
luninteger -
-
- Format: int32
-
true
targetPortalstring -
-
true
chapAuthDiscoveryboolean -
-
false
chapAuthSessionboolean -
-
false
fsTypestring -
-
false
initiatorNamestring -
-
false
iscsiInterfacestring -
-
false
portals[]string -
-
false
readOnlyboolean -
-
false
secretRefobject -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].iscsi.secretRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexiscsi-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].nfs -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
pathstring -
-
true
serverstring -
-
true
readOnlyboolean -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].persistentVolumeClaim -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
claimNamestring -
-
true
readOnlyboolean -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].photonPersistentDisk -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
pdIDstring -
-
true
fsTypestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].portworxVolume -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
volumeIDstring -
-
true
fsTypestring -
-
false
readOnlyboolean -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
defaultModeinteger -
-
- Format: int32
-
false
sources[]object -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index] -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojected-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
clusterTrustBundleobject -
-
false
configMapobject -
-
false
downwardAPIobject -
-
false
secretobject -
-
false
serviceAccountTokenobject -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].clusterTrustBundle -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
pathstring -
-
true
labelSelectorobject -
-
false
namestring -
-
false
optionalboolean -
-
false
signerNamestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].clusterTrustBundle.labelSelector -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindexclustertrustbundle-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
matchExpressions[]object -
-
false
matchLabelsmap[string]string -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].clusterTrustBundle.labelSelector.matchExpressions[index] -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindexclustertrustbundlelabelselector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
operatorstring -
-
true
values[]string -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].configMap -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
items[]object -
-
false
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].configMap.items[index] -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindexconfigmap-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
pathstring -
-
true
modeinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].downwardAPI -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindex-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
items[]object -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].downwardAPI.items[index] -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindexdownwardapi-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
pathstring -
-
true
fieldRefobject -
-
false
modeinteger -
-
- Format: int32
-
false
resourceFieldRefobject -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].downwardAPI.items[index].fieldRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindexdownwardapiitemsindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
fieldPathstring -
-
true
apiVersionstring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].downwardAPI.items[index].resourceFieldRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindexdownwardapiitemsindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
resourcestring -
-
true
containerNamestring -
-
false
divisorint or string -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].secret -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
items[]object -
-
false
namestring -
-
false
optionalboolean -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].secret.items[index] -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindexsecret-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
pathstring -
-
true
modeinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].projected.sources[index].serviceAccountToken -[↩ Parent](#opentelemetrycollectorspecvolumesindexprojectedsourcesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
pathstring -
-
true
audiencestring -
-
false
expirationSecondsinteger -
-
- Format: int64
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].quobyte -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
registrystring -
-
true
volumestring -
-
true
groupstring -
-
false
readOnlyboolean -
-
false
tenantstring -
-
false
userstring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].rbd -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
imagestring -
-
true
monitors[]string -
-
true
fsTypestring -
-
false
keyringstring -
-
false
poolstring -
-
false
readOnlyboolean -
-
false
secretRefobject -
-
false
userstring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].rbd.secretRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexrbd-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].scaleIO -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
gatewaystring -
-
true
secretRefobject -
-
true
systemstring -
-
true
fsTypestring -
-
false
protectionDomainstring -
-
false
readOnlyboolean -
-
false
sslEnabledboolean -
-
false
storageModestring -
-
false
storagePoolstring -
-
false
volumeNamestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].scaleIO.secretRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexscaleio-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].secret -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
defaultModeinteger -
-
- Format: int32
-
false
items[]object -
-
false
optionalboolean -
-
false
secretNamestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].secret.items[index] -[↩ Parent](#opentelemetrycollectorspecvolumesindexsecret-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
keystring -
-
true
pathstring -
-
true
modeinteger -
-
- Format: int32
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].storageos -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
fsTypestring -
-
false
readOnlyboolean -
-
false
secretRefobject -
-
false
volumeNamestring -
-
false
volumeNamespacestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].storageos.secretRef -[↩ Parent](#opentelemetrycollectorspecvolumesindexstorageos-1) - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
namestring -
-
false
- - -### OpenTelemetryCollector.spec.volumes[index].vsphereVolume -[↩ Parent](#opentelemetrycollectorspecvolumesindex-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
volumePathstring -
-
true
fsTypestring -
-
false
storagePolicyIDstring -
-
false
storagePolicyNamestring -
-
false
- - -### OpenTelemetryCollector.status -[↩ Parent](#opentelemetrycollector-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescriptionRequired
imagestring -
-
false
scaleobject -
-
false
versionstring -
-
false
- - -### OpenTelemetryCollector.status.scale -[↩ Parent](#opentelemetrycollectorstatus-1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/internal/manifests/collector/horizontalpodautoscaler.go b/internal/manifests/collector/horizontalpodautoscaler.go index bfdcaff05a..28b0b3cc52 100644 --- a/internal/manifests/collector/horizontalpodautoscaler.go +++ b/internal/manifests/collector/horizontalpodautoscaler.go @@ -19,7 +19,7 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" + "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" "github.com/open-telemetry/opentelemetry-operator/internal/manifests" "github.com/open-telemetry/opentelemetry-operator/internal/manifests/manifestutils" "github.com/open-telemetry/opentelemetry-operator/internal/naming" @@ -82,7 +82,7 @@ func HorizontalPodAutoscaler(params manifests.Params) (*autoscalingv2.Horizontal ObjectMeta: objectMeta, Spec: autoscalingv2.HorizontalPodAutoscalerSpec{ ScaleTargetRef: autoscalingv2.CrossVersionObjectReference{ - APIVersion: v1beta1.GroupVersion.String(), + APIVersion: v1alpha1.GroupVersion.String(), Kind: "OpenTelemetryCollector", Name: naming.OpenTelemetryCollector(params.OtelCol.Name), }, diff --git a/internal/status/collector/collector.go b/internal/status/collector/collector.go index a3adbb5c21..091b36231c 100644 --- a/internal/status/collector/collector.go +++ b/internal/status/collector/collector.go @@ -23,14 +23,14 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/client" - "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" + "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" "github.com/open-telemetry/opentelemetry-operator/internal/manifests/collector" "github.com/open-telemetry/opentelemetry-operator/internal/manifests/manifestutils" "github.com/open-telemetry/opentelemetry-operator/internal/naming" "github.com/open-telemetry/opentelemetry-operator/internal/version" ) -func UpdateCollectorStatus(ctx context.Context, cli client.Client, changed *v1beta1.OpenTelemetryCollector) error { +func UpdateCollectorStatus(ctx context.Context, cli client.Client, changed *v1alpha1.OpenTelemetryCollector) error { if changed.Status.Version == "" { // a version is not set, otherwise let the upgrade mechanism take care of it! changed.Status.Version = version.OpenTelemetryCollector() @@ -38,7 +38,7 @@ func UpdateCollectorStatus(ctx context.Context, cli client.Client, changed *v1be mode := changed.Spec.Mode - if mode == v1beta1.ModeSidecar { + if mode == v1alpha1.ModeSidecar { changed.Status.Scale.Replicas = 0 changed.Status.Scale.Selector = "" return nil @@ -66,7 +66,7 @@ func UpdateCollectorStatus(ctx context.Context, cli client.Client, changed *v1be var statusImage string switch mode { // nolint:exhaustive - case v1beta1.ModeDeployment: + case v1alpha1.ModeDeployment: obj := &appsv1.Deployment{} if err := cli.Get(ctx, objKey, obj); err != nil { return fmt.Errorf("failed to get deployment status.replicas: %w", err) @@ -76,7 +76,7 @@ func UpdateCollectorStatus(ctx context.Context, cli client.Client, changed *v1be statusReplicas = strconv.Itoa(int(readyReplicas)) + "/" + strconv.Itoa(int(replicas)) statusImage = obj.Spec.Template.Spec.Containers[0].Image - case v1beta1.ModeStatefulSet: + case v1alpha1.ModeStatefulSet: obj := &appsv1.StatefulSet{} if err := cli.Get(ctx, objKey, obj); err != nil { return fmt.Errorf("failed to get statefulSet status.replicas: %w", err) @@ -86,7 +86,7 @@ func UpdateCollectorStatus(ctx context.Context, cli client.Client, changed *v1be statusReplicas = strconv.Itoa(int(readyReplicas)) + "/" + strconv.Itoa(int(replicas)) statusImage = obj.Spec.Template.Spec.Containers[0].Image - case v1beta1.ModeDaemonSet: + case v1alpha1.ModeDaemonSet: obj := &appsv1.DaemonSet{} if err := cli.Get(ctx, objKey, obj); err != nil { return fmt.Errorf("failed to get daemonSet status.replicas: %w", err) diff --git a/internal/status/collector/collector_test.go b/internal/status/collector/collector_test.go index 8b142c05f7..83312187dd 100644 --- a/internal/status/collector/collector_test.go +++ b/internal/status/collector/collector_test.go @@ -25,20 +25,20 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/client/fake" - "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" + "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" ) func TestUpdateCollectorStatusUnsupported(t *testing.T) { ctx := context.TODO() cli := client.Client(fake.NewFakeClient()) - changed := &v1beta1.OpenTelemetryCollector{ + changed := &v1alpha1.OpenTelemetryCollector{ ObjectMeta: metav1.ObjectMeta{ Name: "test-sidecar", Namespace: "default", }, - Spec: v1beta1.OpenTelemetryCollectorSpec{ - Mode: v1beta1.ModeSidecar, + Spec: v1alpha1.OpenTelemetryCollectorSpec{ + Mode: v1alpha1.ModeSidecar, }, } @@ -79,13 +79,13 @@ func TestUpdateCollectorStatusDeploymentMode(t *testing.T) { ctx := context.TODO() cli := createMockKubernetesClientDeployment() - changed := &v1beta1.OpenTelemetryCollector{ + changed := &v1alpha1.OpenTelemetryCollector{ ObjectMeta: metav1.ObjectMeta{ Name: "test-deployment", Namespace: "default", }, - Spec: v1beta1.OpenTelemetryCollectorSpec{ - Mode: v1beta1.ModeDeployment, + Spec: v1alpha1.OpenTelemetryCollectorSpec{ + Mode: v1alpha1.ModeDeployment, }, } @@ -127,13 +127,13 @@ func TestUpdateCollectorStatusStatefulset(t *testing.T) { ctx := context.TODO() cli := createMockKubernetesClientStatefulset() - changed := &v1beta1.OpenTelemetryCollector{ + changed := &v1alpha1.OpenTelemetryCollector{ ObjectMeta: metav1.ObjectMeta{ Name: "test-statefulset", Namespace: "default", }, - Spec: v1beta1.OpenTelemetryCollectorSpec{ - Mode: v1beta1.ModeStatefulSet, + Spec: v1alpha1.OpenTelemetryCollectorSpec{ + Mode: v1alpha1.ModeStatefulSet, }, } @@ -171,7 +171,7 @@ func TestUpdateCollectorStatusDaemonsetMode(t *testing.T) { ctx := context.TODO() cli := createMockKubernetesClientDaemonset() - changed := &v1beta1.OpenTelemetryCollector{ + changed := &v1alpha1.OpenTelemetryCollector{ ObjectMeta: metav1.ObjectMeta{ Name: "test-daemonset", Namespace: "default", @@ -179,8 +179,8 @@ func TestUpdateCollectorStatusDaemonsetMode(t *testing.T) { "customLabel": "customValue", }, }, - Spec: v1beta1.OpenTelemetryCollectorSpec{ - Mode: v1beta1.ModeDaemonSet, + Spec: v1alpha1.OpenTelemetryCollectorSpec{ + Mode: v1alpha1.ModeDaemonSet, }, } diff --git a/internal/status/collector/handle.go b/internal/status/collector/handle.go index ab92a337ad..9620d37975 100644 --- a/internal/status/collector/handle.go +++ b/internal/status/collector/handle.go @@ -22,7 +22,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" + "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" "github.com/open-telemetry/opentelemetry-operator/internal/manifests" "github.com/open-telemetry/opentelemetry-operator/internal/version" collectorupgrade "github.com/open-telemetry/opentelemetry-operator/pkg/collector/upgrade" @@ -38,7 +38,9 @@ const ( ) // HandleReconcileStatus handles updating the status of the CRDs managed by the operator. -func HandleReconcileStatus(ctx context.Context, log logr.Logger, params manifests.Params, otelcol v1beta1.OpenTelemetryCollector, err error) (ctrl.Result, error) { +// TODO: make the status more useful https://github.com/open-telemetry/opentelemetry-operator/issues/1972 +// TODO: update status to use v1beta1 https://github.com/open-telemetry/opentelemetry-operator/milestone/4 +func HandleReconcileStatus(ctx context.Context, log logr.Logger, params manifests.Params, otelcol v1alpha1.OpenTelemetryCollector, err error) (ctrl.Result, error) { log.V(2).Info("updating collector status") if err != nil { params.Recorder.Event(&otelcol, eventTypeWarning, reasonError, err.Error()) diff --git a/internal/webhook/podmutation/webhookhandler_suite_test.go b/internal/webhook/podmutation/webhookhandler_suite_test.go index 84f5d56757..8e37f8ab2d 100644 --- a/internal/webhook/podmutation/webhookhandler_suite_test.go +++ b/internal/webhook/podmutation/webhookhandler_suite_test.go @@ -39,7 +39,6 @@ import ( "sigs.k8s.io/controller-runtime/pkg/webhook" "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" - "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" "github.com/open-telemetry/opentelemetry-operator/internal/config" "github.com/open-telemetry/opentelemetry-operator/internal/rbac" // +kubebuilder:scaffold:imports @@ -59,7 +58,6 @@ func TestMain(m *testing.M) { ctx, cancel = context.WithCancel(context.TODO()) defer cancel() utilruntime.Must(v1alpha1.AddToScheme(testScheme)) - utilruntime.Must(v1beta1.AddToScheme(testScheme)) testEnv = &envtest.Environment{ CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "config", "crd", "bases")}, @@ -110,10 +108,6 @@ func TestMain(m *testing.M) { fmt.Printf("failed to SetupWebhookWithManager: %v", err) os.Exit(1) } - if err = v1beta1.SetupCollectorWebhook(mgr, config.New(), reviewer); err != nil { - fmt.Printf("failed to SetupWebhookWithManager: %v", err) - os.Exit(1) - } ctx, cancel = context.WithCancel(context.TODO()) defer cancel() diff --git a/main.go b/main.go index 5e57e669d4..6c566efa43 100644 --- a/main.go +++ b/main.go @@ -46,7 +46,6 @@ import ( "sigs.k8s.io/controller-runtime/pkg/webhook/admission" otelv1alpha1 "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" - otelv1beta1 "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" "github.com/open-telemetry/opentelemetry-operator/controllers" "github.com/open-telemetry/opentelemetry-operator/internal/autodetect" "github.com/open-telemetry/opentelemetry-operator/internal/config" @@ -75,7 +74,6 @@ type tlsConfig struct { func init() { utilruntime.Must(clientgoscheme.AddToScheme(scheme)) utilruntime.Must(otelv1alpha1.AddToScheme(scheme)) - utilruntime.Must(otelv1beta1.AddToScheme(scheme)) utilruntime.Must(routev1.AddToScheme(scheme)) utilruntime.Must(monitoringv1.AddToScheme(scheme)) utilruntime.Must(networkingv1.AddToScheme(scheme)) @@ -312,10 +310,6 @@ func main() { setupLog.Error(err, "unable to create webhook", "webhook", "OpenTelemetryCollector") os.Exit(1) } - if err = otelv1beta1.SetupCollectorWebhook(mgr, cfg, reviewer); err != nil { - setupLog.Error(err, "unable to create webhook", "webhook", "OpenTelemetryCollector") - os.Exit(1) - } if err = otelv1alpha1.SetupInstrumentationWebhook(mgr, cfg); err != nil { setupLog.Error(err, "unable to create webhook", "webhook", "Instrumentation") os.Exit(1) diff --git a/pkg/collector/upgrade/suite_test.go b/pkg/collector/upgrade/suite_test.go index 5026914a96..16c684514d 100644 --- a/pkg/collector/upgrade/suite_test.go +++ b/pkg/collector/upgrade/suite_test.go @@ -39,7 +39,6 @@ import ( "sigs.k8s.io/controller-runtime/pkg/webhook" "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" - "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" "github.com/open-telemetry/opentelemetry-operator/internal/config" "github.com/open-telemetry/opentelemetry-operator/internal/rbac" // +kubebuilder:scaffold:imports @@ -59,7 +58,6 @@ func TestMain(m *testing.M) { ctx, cancel = context.WithCancel(context.TODO()) defer cancel() utilruntime.Must(v1alpha1.AddToScheme(testScheme)) - utilruntime.Must(v1beta1.AddToScheme(testScheme)) testEnv = &envtest.Environment{ CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "config", "crd", "bases")}, @@ -110,10 +108,6 @@ func TestMain(m *testing.M) { fmt.Printf("failed to SetupWebhookWithManager: %v", err) os.Exit(1) } - if err = v1beta1.SetupCollectorWebhook(mgr, config.New(), reviewer); err != nil { - fmt.Printf("failed to SetupWebhookWithManager: %v", err) - os.Exit(1) - } //+kubebuilder:scaffold:webhook diff --git a/pkg/collector/upgrade/testdata/v0_61_0-invalid.yaml b/pkg/collector/upgrade/testdata/v0_61_0-invalid.yaml index 59135d5f3e..e04bc249a2 100644 --- a/pkg/collector/upgrade/testdata/v0_61_0-invalid.yaml +++ b/pkg/collector/upgrade/testdata/v0_61_0-invalid.yaml @@ -6,10 +6,3 @@ receivers: remote_sampling: strategy_file: "/etc/strategy.json" strategy_file_reload_interval: 10s -exporters: - debug: {} -service: - pipelines: - traces: - receivers: ["jaeger"] - exporters: ["debug"] diff --git a/pkg/collector/upgrade/testdata/v0_61_0-valid.yaml b/pkg/collector/upgrade/testdata/v0_61_0-valid.yaml index 78629856a0..2dc25ca4a1 100644 --- a/pkg/collector/upgrade/testdata/v0_61_0-valid.yaml +++ b/pkg/collector/upgrade/testdata/v0_61_0-valid.yaml @@ -3,10 +3,3 @@ receivers: jaeger: protocols: grpc: -exporters: - debug: {} -service: - pipelines: - traces: - receivers: ["jaeger"] - exporters: ["debug"] diff --git a/pkg/collector/upgrade/upgrade.go b/pkg/collector/upgrade/upgrade.go index 971689169d..fc64e3d5c9 100644 --- a/pkg/collector/upgrade/upgrade.go +++ b/pkg/collector/upgrade/upgrade.go @@ -26,7 +26,6 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" - "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" "github.com/open-telemetry/opentelemetry-operator/internal/version" ) @@ -48,7 +47,7 @@ func (u VersionUpgrade) ManagedInstances(ctx context.Context) error { "app.kubernetes.io/managed-by": "opentelemetry-operator", }), } - list := &v1beta1.OpenTelemetryCollectorList{} + list := &v1alpha1.OpenTelemetryCollectorList{} if err := u.Client.List(ctx, list, opts...); err != nil { return fmt.Errorf("failed to list: %w", err) } @@ -57,12 +56,12 @@ func (u VersionUpgrade) ManagedInstances(ctx context.Context) error { original := list.Items[i] itemLogger := u.Log.WithValues("name", original.Name, "namespace", original.Namespace) - if original.Spec.ManagementState == v1beta1.ManagementStateUnmanaged { + if original.Spec.ManagementState == v1alpha1.ManagementStateUnmanaged { itemLogger.Info("skipping upgrade because instance is not managed") continue } - if original.Spec.UpgradeStrategy == v1beta1.UpgradeStrategyNone { + if original.Spec.UpgradeStrategy == v1alpha1.UpgradeStrategyNone { itemLogger.Info("skipping instance upgrade due to UpgradeStrategy") continue } @@ -102,7 +101,7 @@ func (u VersionUpgrade) ManagedInstances(ctx context.Context) error { } // ManagedInstance performs the necessary changes to bring the given otelcol instance to the current version. -func (u VersionUpgrade) ManagedInstance(_ context.Context, otelcol v1beta1.OpenTelemetryCollector) (v1beta1.OpenTelemetryCollector, error) { +func (u VersionUpgrade) ManagedInstance(ctx context.Context, otelcol v1alpha1.OpenTelemetryCollector) (v1alpha1.OpenTelemetryCollector, error) { // this is likely a new instance, assume it's already up to date if otelcol.Status.Version == "" { return otelcol, nil @@ -134,35 +133,16 @@ func (u VersionUpgrade) ManagedInstance(_ context.Context, otelcol v1beta1.OpenT for _, available := range versions { if available.GreaterThan(instanceV) { - if available.upgrade != nil { - otelcolV1alpha1 := &v1alpha1.OpenTelemetryCollector{} - if err := otelcolV1alpha1.ConvertFrom(&otelcol); err != nil { - return otelcol, err - } - - upgradedV1alpha1, err := available.upgrade(u, otelcolV1alpha1) - if err != nil { - u.Log.Error(err, "failed to upgrade managed otelcol instances", "name", otelcol.Name, "namespace", otelcol.Namespace) - return otelcol, err - } - upgradedV1alpha1.Status.Version = available.String() - - if err := upgradedV1alpha1.ConvertTo(&otelcol); err != nil { - return otelcol, err - } - u.Log.V(1).Info("step upgrade", "name", otelcol.Name, "namespace", otelcol.Namespace, "version", available.String()) - } else { - - upgraded, err := available.upgradeV1beta1(u, &otelcol) //available.upgrade(params., &otelcol) - if err != nil { - u.Log.Error(err, "failed to upgrade managed otelcol instances", "name", otelcol.Name, "namespace", otelcol.Namespace) - return otelcol, err - } - - u.Log.V(1).Info("step upgrade", "name", otelcol.Name, "namespace", otelcol.Namespace, "version", available.String()) - upgraded.Status.Version = available.String() - otelcol = *upgraded + upgraded, err := available.upgrade(u, &otelcol) //available.upgrade(params., &otelcol) + + if err != nil { + u.Log.Error(err, "failed to upgrade managed otelcol instances", "name", otelcol.Name, "namespace", otelcol.Namespace) + return otelcol, err } + + u.Log.V(1).Info("step upgrade", "name", otelcol.Name, "namespace", otelcol.Namespace, "version", available.String()) + upgraded.Status.Version = available.String() + otelcol = *upgraded } } // Update with the latest known version, which is what we have from versions.txt diff --git a/pkg/collector/upgrade/upgrade_test.go b/pkg/collector/upgrade/upgrade_test.go index 640ccb923a..500bf3068d 100644 --- a/pkg/collector/upgrade/upgrade_test.go +++ b/pkg/collector/upgrade/upgrade_test.go @@ -26,7 +26,6 @@ import ( logf "sigs.k8s.io/controller-runtime/pkg/log" "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" - "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" "github.com/open-telemetry/opentelemetry-operator/internal/version" "github.com/open-telemetry/opentelemetry-operator/pkg/collector/upgrade" ) @@ -108,7 +107,7 @@ func TestUpgradeUpToLatestKnownVersion(t *testing.T) { Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } // test - res, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) // verify assert.NoError(t, err) @@ -148,7 +147,7 @@ func TestVersionsShouldNotBeChanged(t *testing.T) { } // test - res, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) if tt.failureExpected { assert.Error(t, err) } else { @@ -161,28 +160,10 @@ func TestVersionsShouldNotBeChanged(t *testing.T) { } } -const collectorCfg = `--- -receivers: - otlp: - protocols: - grpc: {} -processors: - batch: {} -exporters: - otlp: - endpoint: "otlp:4317" -service: - pipelines: - traces: - receivers: [otlp] - exporters: [otlp] -` - func makeOtelcol(nsn types.NamespacedName, managementState v1alpha1.ManagementStateType) v1alpha1.OpenTelemetryCollector { return v1alpha1.OpenTelemetryCollector{ Spec: v1alpha1.OpenTelemetryCollectorSpec{ ManagementState: managementState, - Config: collectorCfg, }, ObjectMeta: metav1.ObjectMeta{ Name: nsn.Name, @@ -193,17 +174,3 @@ func makeOtelcol(nsn types.NamespacedName, managementState v1alpha1.ManagementSt }, } } - -func convertTov1beta1(t *testing.T, collector v1alpha1.OpenTelemetryCollector) v1beta1.OpenTelemetryCollector { - betacollector := v1beta1.OpenTelemetryCollector{} - err := collector.ConvertTo(&betacollector) - require.NoError(t, err) - return betacollector -} - -func convertTov1alpha1(t *testing.T, collector v1beta1.OpenTelemetryCollector) v1alpha1.OpenTelemetryCollector { - alphacollector := v1alpha1.OpenTelemetryCollector{} - err := alphacollector.ConvertFrom(&collector) - require.NoError(t, err) - return alphacollector -} diff --git a/pkg/collector/upgrade/v0_15_0_test.go b/pkg/collector/upgrade/v0_15_0_test.go index 0a01a3e847..d087076d93 100644 --- a/pkg/collector/upgrade/v0_15_0_test.go +++ b/pkg/collector/upgrade/v0_15_0_test.go @@ -61,7 +61,7 @@ func TestRemoveMetricsTypeFlags(t *testing.T) { Client: nil, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - res, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) // verify diff --git a/pkg/collector/upgrade/v0_19_0_test.go b/pkg/collector/upgrade/v0_19_0_test.go index 63162e5dce..e599469dc7 100644 --- a/pkg/collector/upgrade/v0_19_0_test.go +++ b/pkg/collector/upgrade/v0_19_0_test.go @@ -42,26 +42,13 @@ func TestRemoveQueuedRetryProcessor(t *testing.T) { }, }, Spec: v1alpha1.OpenTelemetryCollectorSpec{ - Config: ` -processors: - queued_retry: - otherprocessor: - queued_retry/second: - compression: "on" - reconnection_delay: 15 - num_workers: 123 - -receivers: - otlp: {} -exporters: - debug: {} - -service: - pipelines: - traces: - receivers: [otlp] - exporters: [otlp] -`, + Config: `processors: + queued_retry: + otherprocessor: + queued_retry/second: + compression: "on" + reconnection_delay: 15 + num_workers: 123`, }, } existing.Status.Version = "0.18.0" @@ -78,9 +65,8 @@ service: Client: nil, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - resV1beta1, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res := convertTov1alpha1(t, resV1beta1) // verify assert.NotContains(t, res.Spec.Config, "queued_retry:") @@ -101,21 +87,9 @@ func TestMigrateResourceType(t *testing.T) { }, }, Spec: v1alpha1.OpenTelemetryCollectorSpec{ - Config: ` -processors: + Config: `processors: resource: type: some-type - -receivers: - otlp: {} -exporters: - debug: {} - -service: - pipelines: - traces: - receivers: [otlp] - exporters: [otlp] `, }, } @@ -128,28 +102,16 @@ service: Client: nil, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - resV1beta1, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res := convertTov1alpha1(t, resV1beta1) // verify - assert.YAMLEq(t, `processors: + assert.Equal(t, `processors: resource: attributes: - action: upsert key: opencensus.type value: some-type - -receivers: - otlp: {} -exporters: - debug: {} - -service: - pipelines: - traces: - receivers: [otlp] - exporters: [otlp] `, res.Spec.Config) } @@ -165,24 +127,11 @@ func TestMigrateLabels(t *testing.T) { }, }, Spec: v1alpha1.OpenTelemetryCollectorSpec{ - Config: ` -processors: + Config: `processors: resource: labels: cloud.zone: zone-1 host.name: k8s-node - -receivers: - otlp: {} -exporters: - debug: {} - -service: - pipelines: - traces: - receivers: [otlp] - exporters: [otlp] - processors: [resource] `, }, } @@ -195,9 +144,8 @@ service: Client: nil, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - resV1beta1, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res := convertTov1alpha1(t, resV1beta1) actual, err := adapters.ConfigFromString(res.Spec.Config) require.NoError(t, err) diff --git a/pkg/collector/upgrade/v0_24_0_test.go b/pkg/collector/upgrade/v0_24_0_test.go index caf53bdfd2..2d56c76099 100644 --- a/pkg/collector/upgrade/v0_24_0_test.go +++ b/pkg/collector/upgrade/v0_24_0_test.go @@ -45,17 +45,6 @@ func TestHealthCheckEndpointMigration(t *testing.T) { endpoint: "localhost:13133" health_check/3: port: 13133 - -receivers: - otlp: {} -exporters: - debug: {} - -service: - pipelines: - traces: - receivers: [otlp] - exporters: [otlp] `, }, } @@ -68,26 +57,14 @@ service: Client: nil, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - resV1beta1, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res := convertTov1alpha1(t, resV1beta1) // verify - assert.YAMLEq(t, `extensions: + assert.Equal(t, `extensions: health_check/2: endpoint: localhost:13133 health_check/3: endpoint: 0.0.0.0:13133 - -receivers: - otlp: {} -exporters: - debug: {} - -service: - pipelines: - traces: - receivers: [otlp] - exporters: [otlp] `, res.Spec.Config) } diff --git a/pkg/collector/upgrade/v0_31_0_test.go b/pkg/collector/upgrade/v0_31_0_test.go index 861cdb492d..b240abce3b 100644 --- a/pkg/collector/upgrade/v0_31_0_test.go +++ b/pkg/collector/upgrade/v0_31_0_test.go @@ -67,12 +67,11 @@ service: Client: nil, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - resV1beta1, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res := convertTov1alpha1(t, resV1beta1) // verify - assert.YAMLEq(t, `exporters: + assert.Equal(t, `exporters: prometheusremotewrite: endpoint: http:hello:4555/hii receivers: diff --git a/pkg/collector/upgrade/v0_36_0_test.go b/pkg/collector/upgrade/v0_36_0_test.go index 7695d39c00..7d4e31a64a 100644 --- a/pkg/collector/upgrade/v0_36_0_test.go +++ b/pkg/collector/upgrade/v0_36_0_test.go @@ -84,12 +84,11 @@ service: Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } // test - resV1beta1, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res := convertTov1alpha1(t, resV1beta1) // verify - assert.YAMLEq(t, `exporters: + assert.Equal(t, `exporters: otlp: endpoint: example.com tls: diff --git a/pkg/collector/upgrade/v0_38_0_test.go b/pkg/collector/upgrade/v0_38_0_test.go index 26e3d69bbb..0cf1670cfc 100644 --- a/pkg/collector/upgrade/v0_38_0_test.go +++ b/pkg/collector/upgrade/v0_38_0_test.go @@ -76,9 +76,8 @@ service: Client: nil, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - resV1beta1, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res := convertTov1alpha1(t, resV1beta1) // verify assert.Equal(t, map[string]string{ @@ -87,7 +86,7 @@ service: }, res.Spec.Args) // verify - assert.YAMLEq(t, `exporters: + assert.Equal(t, `exporters: otlp: endpoint: example.com receivers: @@ -141,12 +140,11 @@ service: "--arg1": "", } - resV1beta1, err = up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err = up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res = convertTov1alpha1(t, resV1beta1) // verify - assert.YAMLEq(t, configWithLogging, res.Spec.Config) + assert.Equal(t, configWithLogging, res.Spec.Config) assert.Equal(t, map[string]string{ "--hii": "hello", "--arg1": "", diff --git a/pkg/collector/upgrade/v0_39_0_test.go b/pkg/collector/upgrade/v0_39_0_test.go index 204c576c8a..f8dd436f45 100644 --- a/pkg/collector/upgrade/v0_39_0_test.go +++ b/pkg/collector/upgrade/v0_39_0_test.go @@ -42,29 +42,26 @@ func Test0_39_0Upgrade(t *testing.T) { Spec: v1alpha1.OpenTelemetryCollectorSpec{ Config: ` receivers: - httpd/mtls: - protocols: - http: - endpoint: mysite.local:55690 + httpd/mtls: + protocols: + http: + endpoint: mysite.local:55690 - httpd: + httpd: processors: - memory_limiter: - memory_limiter/with-settings: - check_interval: 5s - limit_mib: 4000 - spike_limit_mib: 500 - ballast_size_mib: 2000 - -exporters: - debug: {} + memory_limiter: + memory_limiter/with-settings: + check_interval: 5s + limit_mib: 4000 + spike_limit_mib: 500 + ballast_size_mib: 2000 service: - pipelines: - metrics: - receivers: [httpd/mtls, httpd] - exporters: [debug] + pipelines: + metrics: + receivers: [httpd/mtls, httpd] + exporters: [nop] `, }, } @@ -78,11 +75,10 @@ service: Client: nil, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - resV1beta1, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res := convertTov1alpha1(t, resV1beta1) - assert.YAMLEq(t, `processors: + assert.Equal(t, `processors: memory_limiter: memory_limiter/with-settings: check_interval: 5s @@ -94,13 +90,11 @@ receivers: protocols: http: endpoint: mysite.local:55690 -exporters: - debug: {} service: pipelines: metrics: exporters: - - debug + - nop receivers: - apache/mtls - apache @@ -125,25 +119,21 @@ processors: spike_limit_mib: 500 ballast_size_mib: 2000 -exporters: - debug: {} - service: pipelines: traces: receivers: [otlp/mtls, otlp] - exporters: [debug] + exporters: [nop] `, }, } existing1.Status.Version = "0.38.0" - resV1beta1, err = up.ManagedInstance(context.Background(), convertTov1beta1(t, existing1)) + res, err = up.ManagedInstance(context.Background(), existing1) assert.NoError(t, err) - res = convertTov1alpha1(t, resV1beta1) // verify - assert.YAMLEq(t, `processors: + assert.Equal(t, `processors: memory_limiter: memory_limiter/with-settings: check_interval: 5s @@ -155,15 +145,11 @@ receivers: protocols: http: endpoint: mysite.local:55690 - -exporters: - debug: {} - service: pipelines: traces: exporters: - - debug + - nop receivers: - otlp/mtls - otlp diff --git a/pkg/collector/upgrade/v0_41_0_test.go b/pkg/collector/upgrade/v0_41_0_test.go index 01903044a5..24e49371e6 100644 --- a/pkg/collector/upgrade/v0_41_0_test.go +++ b/pkg/collector/upgrade/v0_41_0_test.go @@ -48,14 +48,12 @@ receivers: - https://*.test.com cors_allowed_headers: - ExampleHeader -exporters: - debug: {} service: pipelines: metrics: receivers: [otlp] - exporters: [debug] + exporters: [nop] `, }, } @@ -68,11 +66,10 @@ service: Client: nil, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - resV1beta1, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res := convertTov1alpha1(t, resV1beta1) - assert.YAMLEq(t, `receivers: + assert.Equal(t, `receivers: otlp: cors: allowed_headers: @@ -80,13 +77,11 @@ service: allowed_origins: - https://foo.bar.com - https://*.test.com -exporters: - debug: {} service: pipelines: metrics: exporters: - - debug + - nop receivers: - otlp `, res.Spec.Config) @@ -108,36 +103,30 @@ receivers: - https://foo.bar.com - https://*.test.com -exporters: - debug: {} - service: pipelines: metrics: receivers: [otlp] - exporters: [debug] + exporters: [nop] `, }, } existing.Status.Version = "0.40.0" - resV1beta1, err = up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err = up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res = convertTov1alpha1(t, resV1beta1) - assert.YAMLEq(t, `receivers: + assert.Equal(t, `receivers: otlp: cors: allowed_origins: - https://foo.bar.com - https://*.test.com -exporters: - debug: {} service: pipelines: metrics: exporters: - - debug + - nop receivers: - otlp `, res.Spec.Config) diff --git a/pkg/collector/upgrade/v0_43_0_test.go b/pkg/collector/upgrade/v0_43_0_test.go index 348b1d0b96..8bb650c50e 100644 --- a/pkg/collector/upgrade/v0_43_0_test.go +++ b/pkg/collector/upgrade/v0_43_0_test.go @@ -74,9 +74,8 @@ service: Client: nil, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - resV1beta1, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res := convertTov1alpha1(t, resV1beta1) // verify assert.Equal(t, map[string]string{ @@ -85,7 +84,7 @@ service: }, res.Spec.Args) // verify - assert.YAMLEq(t, `exporters: + assert.Equal(t, `exporters: otlp: endpoint: example.com receivers: @@ -133,12 +132,11 @@ service: "--test-upgrade43": "true", "--test-arg1": "otel", } - resV1beta1, err = up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err = up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res = convertTov1alpha1(t, resV1beta1) // verify - assert.YAMLEq(t, configWithMetrics, res.Spec.Config) + assert.Equal(t, configWithMetrics, res.Spec.Config) assert.Equal(t, map[string]string{ "--test-upgrade43": "true", "--test-arg1": "otel", diff --git a/pkg/collector/upgrade/v0_56_0.go b/pkg/collector/upgrade/v0_56_0.go index 60656ec0e8..16ac0080d7 100644 --- a/pkg/collector/upgrade/v0_56_0.go +++ b/pkg/collector/upgrade/v0_56_0.go @@ -22,21 +22,18 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" - "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" "github.com/open-telemetry/opentelemetry-operator/internal/naming" ) func upgrade0_56_0(u VersionUpgrade, otelcol *v1alpha1.OpenTelemetryCollector) (*v1alpha1.OpenTelemetryCollector, error) { // return if this does not use an autoscaler - if otelcol.Spec.Autoscaler == nil || otelcol.Spec.Autoscaler.MaxReplicas == nil { + if otelcol.Spec.MaxReplicas == nil { return otelcol, nil } // Add minReplicas one := int32(1) - if otelcol.Spec.Autoscaler.MinReplicas == nil { - otelcol.Spec.Autoscaler.MinReplicas = &one - } + otelcol.Spec.MinReplicas = &one // Find the existing HPA for this collector and upgrade it if necessary listOptions := []client.ListOption{ @@ -62,7 +59,7 @@ func upgrade0_56_0(u VersionUpgrade, otelcol *v1alpha1.OpenTelemetryCollector) ( updated.Spec.ScaleTargetRef = autoscalingv1.CrossVersionObjectReference{ Kind: "OpenTelemetryCollector", Name: naming.OpenTelemetryCollectorName(otelcol.Name), - APIVersion: v1beta1.GroupVersion.String(), + APIVersion: v1alpha1.GroupVersion.String(), } patch := client.MergeFrom(&existing) err := u.Client.Patch(ctx, updated, patch) diff --git a/pkg/collector/upgrade/v0_56_0_test.go b/pkg/collector/upgrade/v0_56_0_test.go index 57ced4b07a..639ceccb7d 100644 --- a/pkg/collector/upgrade/v0_56_0_test.go +++ b/pkg/collector/upgrade/v0_56_0_test.go @@ -43,7 +43,6 @@ func Test0_56_0Upgrade(t *testing.T) { Spec: v1alpha1.OpenTelemetryCollectorSpec{ Replicas: &one, MaxReplicas: &three, - Config: collectorCfg, }, } @@ -54,8 +53,7 @@ func Test0_56_0Upgrade(t *testing.T) { Client: k8sClient, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - upgradedInstanceV1beta1, err := versionUpgrade.ManagedInstance(context.Background(), convertTov1beta1(t, collectorInstance)) + upgradedInstance, err := versionUpgrade.ManagedInstance(context.Background(), collectorInstance) assert.NoError(t, err) - upgradedInstance := convertTov1alpha1(t, upgradedInstanceV1beta1) - assert.Equal(t, one, *upgradedInstance.Spec.Autoscaler.MinReplicas) + assert.Equal(t, one, *upgradedInstance.Spec.MinReplicas) } diff --git a/pkg/collector/upgrade/v0_57_2_test.go b/pkg/collector/upgrade/v0_57_2_test.go index a3ca59919c..f3f392424b 100644 --- a/pkg/collector/upgrade/v0_57_2_test.go +++ b/pkg/collector/upgrade/v0_57_2_test.go @@ -51,14 +51,12 @@ extensions: enabled: false exporter_failure_threshold: 5 interval: 5m -exporters: - debug: {} service: extensions: [health_check] pipelines: metrics: receivers: [otlp] - exporters: [debug] + exporters: [nop] `, }, } @@ -72,10 +70,9 @@ service: Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - upgradedInstanceV1beta1, err := versionUpgrade.ManagedInstance(context.Background(), convertTov1beta1(t, collectorInstance)) + upgradedInstance, err := versionUpgrade.ManagedInstance(context.Background(), collectorInstance) assert.NoError(t, err) - upgradedInstance := convertTov1alpha1(t, upgradedInstanceV1beta1) - assert.YAMLEq(t, `extensions: + assert.Equal(t, `extensions: health_check: check_collector_pipeline: enabled: false @@ -87,15 +84,13 @@ receivers: protocols: http: endpoint: mysite.local:55690 -exporters: - debug: {} service: extensions: - health_check pipelines: metrics: exporters: - - debug + - nop receivers: - otlp `, upgradedInstance.Spec.Config) diff --git a/pkg/collector/upgrade/v0_61_0_test.go b/pkg/collector/upgrade/v0_61_0_test.go index f702695672..5c43aa32b4 100644 --- a/pkg/collector/upgrade/v0_61_0_test.go +++ b/pkg/collector/upgrade/v0_61_0_test.go @@ -77,7 +77,7 @@ func Test0_61_0Upgrade(t *testing.T) { Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - _, err := versionUpgrade.ManagedInstance(context.Background(), convertTov1beta1(t, collectorInstance)) + _, err := versionUpgrade.ManagedInstance(context.Background(), collectorInstance) if (err != nil) != tc.expectErr { t.Errorf("expect err: %t but got: %v", tc.expectErr, err) } diff --git a/pkg/collector/upgrade/v0_9_0.go b/pkg/collector/upgrade/v0_9_0.go index cdcc9bdf5e..49a791fa8f 100644 --- a/pkg/collector/upgrade/v0_9_0.go +++ b/pkg/collector/upgrade/v0_9_0.go @@ -19,10 +19,11 @@ import ( "strings" "gopkg.in/yaml.v2" - corev1 "k8s.io/api/core/v1" "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" "github.com/open-telemetry/opentelemetry-operator/internal/manifests/collector/adapters" + + corev1 "k8s.io/api/core/v1" ) func upgrade0_9_0(u VersionUpgrade, otelcol *v1alpha1.OpenTelemetryCollector) (*v1alpha1.OpenTelemetryCollector, error) { diff --git a/pkg/collector/upgrade/v0_9_0_test.go b/pkg/collector/upgrade/v0_9_0_test.go index c428034000..98b96b9545 100644 --- a/pkg/collector/upgrade/v0_9_0_test.go +++ b/pkg/collector/upgrade/v0_9_0_test.go @@ -60,10 +60,9 @@ func TestRemoveConnectionDelay(t *testing.T) { Client: nil, Recorder: record.NewFakeRecorder(upgrade.RecordBufferSize), } - resv1beta1, err := up.ManagedInstance(context.Background(), convertTov1beta1(t, existing)) + res, err := up.ManagedInstance(context.Background(), existing) assert.NoError(t, err) - res := convertTov1alpha1(t, resv1beta1) // verify assert.Contains(t, res.Spec.Config, "opencensus:") assert.Contains(t, res.Spec.Config, `compression: "on"`) diff --git a/pkg/collector/upgrade/versions.go b/pkg/collector/upgrade/versions.go index 3ab72166c6..ae0870f044 100644 --- a/pkg/collector/upgrade/versions.go +++ b/pkg/collector/upgrade/versions.go @@ -18,17 +18,12 @@ import ( "github.com/Masterminds/semver/v3" "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" - "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" ) -// Deprecated use upgradeFuncV1beta1. type upgradeFunc func(u VersionUpgrade, otelcol *v1alpha1.OpenTelemetryCollector) (*v1alpha1.OpenTelemetryCollector, error) -type upgradeFuncV1beta1 func(u VersionUpgrade, otelcol *v1beta1.OpenTelemetryCollector) (*v1beta1.OpenTelemetryCollector, error) type otelcolVersion struct { - // deprecated use upgradeV1beta1. - upgrade upgradeFunc - upgradeV1beta1 upgradeFuncV1beta1 + upgrade upgradeFunc semver.Version } diff --git a/pkg/sidecar/pod_test.go b/pkg/sidecar/pod_test.go index 0e843d7bee..a15548c62d 100644 --- a/pkg/sidecar/pod_test.go +++ b/pkg/sidecar/pod_test.go @@ -23,6 +23,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" logf "sigs.k8s.io/controller-runtime/pkg/log" + "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" "github.com/open-telemetry/opentelemetry-operator/internal/config" "github.com/open-telemetry/opentelemetry-operator/internal/naming" @@ -47,29 +48,35 @@ func TestAddSidecarWhenNoSidecarExists(t *testing.T) { }, } - otelcol := v1beta1.OpenTelemetryCollector{ + v1alpha1Col := v1alpha1.OpenTelemetryCollector{ ObjectMeta: metav1.ObjectMeta{ Name: "otelcol-sample-with-a-name-that-is-longer-than-sixty-three-characters", Namespace: "some-app", }, - Spec: v1beta1.OpenTelemetryCollectorSpec{ - OpenTelemetryCommonFields: v1beta1.OpenTelemetryCommonFields{ - Ports: []corev1.ServicePort{ - { - Name: "metrics", - Port: 8888, - Protocol: corev1.ProtocolTCP, - }, + Spec: v1alpha1.OpenTelemetryCollectorSpec{ + Ports: []corev1.ServicePort{ + { + Name: "metrics", + Port: 8888, + Protocol: corev1.ProtocolTCP, }, - InitContainers: []corev1.Container{ - { - Name: "test", - }, + }, + InitContainers: []corev1.Container{ + { + Name: "test", }, }, + Config: ` +receivers: +exporters: +processors: +`, }, } + otelcol := v1beta1.OpenTelemetryCollector{} + err := v1alpha1Col.ConvertTo(&otelcol) + require.NoError(t, err) otelcolYaml, err := otelcol.Spec.Config.Yaml() require.NoError(t, err) cfg := config.New(config.WithCollectorImage("some-default-image")) diff --git a/pkg/sidecar/podmutator.go b/pkg/sidecar/podmutator.go index b906c1cf7e..635c668463 100644 --- a/pkg/sidecar/podmutator.go +++ b/pkg/sidecar/podmutator.go @@ -26,6 +26,7 @@ import ( "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1" "github.com/open-telemetry/opentelemetry-operator/apis/v1beta1" "github.com/open-telemetry/opentelemetry-operator/internal/config" "github.com/open-telemetry/opentelemetry-operator/internal/webhook/podmutation" @@ -97,15 +98,20 @@ func (p *sidecarPodMutator) Mutate(ctx context.Context, ns corev1.Namespace, pod // we should add the sidecar. logger.V(1).Info("injecting sidecar into pod", "otelcol-namespace", otelcol.Namespace, "otelcol-name", otelcol.Name) - return add(p.config, p.logger, otelcol, pod, attributes) + otc := v1beta1.OpenTelemetryCollector{} + err = otelcol.ConvertTo(&otc) + if err != nil { + return corev1.Pod{}, err + } + return add(p.config, p.logger, otc, pod, attributes) } -func (p *sidecarPodMutator) getCollectorInstance(ctx context.Context, ns corev1.Namespace, ann string) (v1beta1.OpenTelemetryCollector, error) { +func (p *sidecarPodMutator) getCollectorInstance(ctx context.Context, ns corev1.Namespace, ann string) (v1alpha1.OpenTelemetryCollector, error) { if strings.EqualFold(ann, "true") { return p.selectCollectorInstance(ctx, ns) } - otelcol := v1beta1.OpenTelemetryCollector{} + otelcol := v1alpha1.OpenTelemetryCollector{} var nsnOtelcol types.NamespacedName instNamespace, instName, namespaced := strings.Cut(ann, "/") if namespaced { @@ -118,35 +124,35 @@ func (p *sidecarPodMutator) getCollectorInstance(ctx context.Context, ns corev1. return otelcol, err } - if otelcol.Spec.Mode != v1beta1.ModeSidecar { - return v1beta1.OpenTelemetryCollector{}, errInstanceNotSidecar + if otelcol.Spec.Mode != v1alpha1.ModeSidecar { + return v1alpha1.OpenTelemetryCollector{}, errInstanceNotSidecar } return otelcol, nil } -func (p *sidecarPodMutator) selectCollectorInstance(ctx context.Context, ns corev1.Namespace) (v1beta1.OpenTelemetryCollector, error) { +func (p *sidecarPodMutator) selectCollectorInstance(ctx context.Context, ns corev1.Namespace) (v1alpha1.OpenTelemetryCollector, error) { var ( - otelcols = v1beta1.OpenTelemetryCollectorList{} - sidecars []v1beta1.OpenTelemetryCollector + otelcols = v1alpha1.OpenTelemetryCollectorList{} + sidecars []v1alpha1.OpenTelemetryCollector ) if err := p.client.List(ctx, &otelcols, client.InNamespace(ns.Name)); err != nil { - return v1beta1.OpenTelemetryCollector{}, err + return v1alpha1.OpenTelemetryCollector{}, err } for i := range otelcols.Items { coll := otelcols.Items[i] - if coll.Spec.Mode == v1beta1.ModeSidecar { + if coll.Spec.Mode == v1alpha1.ModeSidecar { sidecars = append(sidecars, coll) } } switch { case len(sidecars) == 0: - return v1beta1.OpenTelemetryCollector{}, errNoInstancesAvailable + return v1alpha1.OpenTelemetryCollector{}, errNoInstancesAvailable case len(sidecars) > 1: - return v1beta1.OpenTelemetryCollector{}, errMultipleInstancesPossible + return v1alpha1.OpenTelemetryCollector{}, errMultipleInstancesPossible default: return sidecars[0], nil } diff --git a/tests/e2e-autoscale/autoscale/00-assert.yaml b/tests/e2e-autoscale/autoscale/00-assert.yaml index 87a41c51c7..2546b5462d 100644 --- a/tests/e2e-autoscale/autoscale/00-assert.yaml +++ b/tests/e2e-autoscale/autoscale/00-assert.yaml @@ -20,7 +20,7 @@ spec: scaleTargetRef: kind: OpenTelemetryCollector name: simplest - apiVersion: opentelemetry.io/v1beta1 + apiVersion: opentelemetry.io/v1alpha1 minReplicas: 1 maxReplicas: 2 metrics: @@ -57,7 +57,7 @@ spec: scaleTargetRef: kind: OpenTelemetryCollector name: simplest-set-utilization - apiVersion: opentelemetry.io/v1beta1 + apiVersion: opentelemetry.io/v1alpha1 minReplicas: 1 maxReplicas: 2 metrics: diff --git a/tests/e2e-autoscale/autoscale/01-assert.yaml b/tests/e2e-autoscale/autoscale/01-assert.yaml index 1266fdf2ea..faae4da95b 100644 --- a/tests/e2e-autoscale/autoscale/01-assert.yaml +++ b/tests/e2e-autoscale/autoscale/01-assert.yaml @@ -6,7 +6,7 @@ spec: scaleTargetRef: kind: OpenTelemetryCollector name: simplest-set-utilization - apiVersion: opentelemetry.io/v1beta1 + apiVersion: opentelemetry.io/v1alpha1 minReplicas: 1 maxReplicas: 2 metrics: diff --git a/tests/e2e-autoscale/autoscale/04-error.yaml b/tests/e2e-autoscale/autoscale/04-error.yaml index 3da6fc3b27..04900e76a9 100644 --- a/tests/e2e-autoscale/autoscale/04-error.yaml +++ b/tests/e2e-autoscale/autoscale/04-error.yaml @@ -6,7 +6,7 @@ metadata: spec: maxReplicas: 2 scaleTargetRef: - apiVersion: opentelemetry.io/v1beta1 + apiVersion: opentelemetry.io/v1alpha1 kind: OpenTelemetryCollector name: simplest status: @@ -20,7 +20,7 @@ metadata: spec: maxReplicas: 2 scaleTargetRef: - apiVersion: opentelemetry.io/v1beta1 + apiVersion: opentelemetry.io/v1alpha1 kind: OpenTelemetryCollector name: simplest-set-utilization status: diff --git a/tests/e2e-openshift/route/00-assert.yaml b/tests/e2e-openshift/route/00-assert.yaml index dd44d286a8..f0366fa187 100644 --- a/tests/e2e-openshift/route/00-assert.yaml +++ b/tests/e2e-openshift/route/00-assert.yaml @@ -16,7 +16,7 @@ metadata: app.kubernetes.io/name: otlp-grpc-simplest-route name: otlp-grpc-simplest-route ownerReferences: - - apiVersion: opentelemetry.io/v1beta1 + - apiVersion: opentelemetry.io/v1alpha1 blockOwnerDeletion: true controller: true kind: OpenTelemetryCollector @@ -39,7 +39,7 @@ metadata: app.kubernetes.io/name: otlp-http-simplest-route name: otlp-http-simplest-route ownerReferences: - - apiVersion: opentelemetry.io/v1beta1 + - apiVersion: opentelemetry.io/v1alpha1 blockOwnerDeletion: true controller: true kind: OpenTelemetryCollector diff --git a/tests/e2e-prometheuscr/create-sm-prometheus-exporters/chainsaw-test.yaml b/tests/e2e-prometheuscr/create-sm-prometheus-exporters/chainsaw-test.yaml index 5ab1c5cbe2..efdef46a69 100755 --- a/tests/e2e-prometheuscr/create-sm-prometheus-exporters/chainsaw-test.yaml +++ b/tests/e2e-prometheuscr/create-sm-prometheus-exporters/chainsaw-test.yaml @@ -52,7 +52,7 @@ spec: try: - delete: ref: - apiVersion: opentelemetry.io/v1beta1 + apiVersion: opentelemetry.io/v1alpha1 kind: OpenTelemetryCollector name: simplest namespace: create-sm-prometheus diff --git a/tests/e2e/ingress-subdomains/00-assert.yaml b/tests/e2e/ingress-subdomains/00-assert.yaml index 44690cee08..d92353b3d6 100644 --- a/tests/e2e/ingress-subdomains/00-assert.yaml +++ b/tests/e2e/ingress-subdomains/00-assert.yaml @@ -16,7 +16,7 @@ metadata: app.kubernetes.io/name: simplest-ingress name: simplest-ingress ownerReferences: - - apiVersion: opentelemetry.io/v1beta1 + - apiVersion: opentelemetry.io/v1alpha1 blockOwnerDeletion: true controller: true kind: OpenTelemetryCollector diff --git a/tests/e2e/ingress/00-assert.yaml b/tests/e2e/ingress/00-assert.yaml index 9f8f7089d3..79f736ee79 100644 --- a/tests/e2e/ingress/00-assert.yaml +++ b/tests/e2e/ingress/00-assert.yaml @@ -16,7 +16,7 @@ metadata: app.kubernetes.io/name: otel-simplest-ingress name: otel-simplest-ingress ownerReferences: - - apiVersion: opentelemetry.io/v1beta1 + - apiVersion: opentelemetry.io/v1alpha1 blockOwnerDeletion: true controller: true kind: OpenTelemetryCollector diff --git a/tests/e2e/ingress/01-error.yaml b/tests/e2e/ingress/01-error.yaml index 4b62a0b64c..e7db9b4f03 100644 --- a/tests/e2e/ingress/01-error.yaml +++ b/tests/e2e/ingress/01-error.yaml @@ -9,7 +9,7 @@ metadata: app.kubernetes.io/name: otel-simplest-ingress name: otel-simplest-ingress ownerReferences: - - apiVersion: opentelemetry.io/v1beta1 + - apiVersion: opentelemetry.io/v1alpha1 blockOwnerDeletion: true controller: true kind: OpenTelemetryCollector diff --git a/tests/e2e/smoke-simplest-v1beta1/00-assert.yaml b/tests/e2e/smoke-simplest-v1beta1/00-assert.yaml deleted file mode 100644 index 17365cdacd..0000000000 --- a/tests/e2e/smoke-simplest-v1beta1/00-assert.yaml +++ /dev/null @@ -1,54 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simplest-collector -status: - readyReplicas: 1 - ---- - -apiVersion: v1 -kind: Service -metadata: - name: simplest-collector-headless -spec: - ports: - - appProtocol: grpc - name: jaeger-grpc - port: 14250 - protocol: TCP - targetPort: 14250 - - appProtocol: grpc - name: otlp-grpc - port: 4317 - protocol: TCP - targetPort: 4317 - - appProtocol: http - name: otlp-http - port: 4318 - protocol: TCP - targetPort: 4318 - ---- - -apiVersion: v1 -kind: Service -metadata: - name: simplest-collector -spec: - ports: - - appProtocol: grpc - name: jaeger-grpc - port: 14250 - protocol: TCP - targetPort: 14250 - - appProtocol: grpc - name: otlp-grpc - port: 4317 - protocol: TCP - targetPort: 4317 - - appProtocol: http - name: otlp-http - port: 4318 - protocol: TCP - targetPort: 4318 diff --git a/tests/e2e/smoke-simplest-v1beta1/00-install.yaml b/tests/e2e/smoke-simplest-v1beta1/00-install.yaml deleted file mode 100644 index 9db391fc63..0000000000 --- a/tests/e2e/smoke-simplest-v1beta1/00-install.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: opentelemetry.io/v1beta1 -kind: OpenTelemetryCollector -metadata: - name: simplest -spec: - config: - receivers: - jaeger: - protocols: - grpc: - otlp: - protocols: - grpc: - http: - processors: - - exporters: - debug: - - service: - pipelines: - traces: - receivers: [jaeger,otlp] - processors: [] - exporters: [debug] diff --git a/tests/e2e/smoke-simplest-v1beta1/chainsaw-test.yaml b/tests/e2e/smoke-simplest-v1beta1/chainsaw-test.yaml deleted file mode 100755 index 80803fe1ff..0000000000 --- a/tests/e2e/smoke-simplest-v1beta1/chainsaw-test.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/kyverno/chainsaw/main/.schemas/json/test-chainsaw-v1alpha1.json -apiVersion: chainsaw.kyverno.io/v1alpha1 -kind: Test -metadata: - creationTimestamp: null - name: smoke-simplest-v1beta1 -spec: - steps: - - name: step-00 - try: - - apply: - file: 00-install.yaml - - assert: - file: 00-assert.yaml
NameTypeDescriptionRequired
replicasinteger -
-
- Format: int32
-
false
selectorstring -
-
false
statusReplicasstring -
+ StatusReplicas is the number of pods targeted by this OpenTelemetryCollector's with a Ready Condition / +Total number of non-terminated pods targeted by this OpenTelemetryCollector's (their labels matc
false