Merge pull request #14646 from ideepika/wip-rgw-sidecar

add rgw ops sidecar for op logs
This commit is contained in:
Travis Nielsen authored and GitHub committed 2024-12-17 10:35:08 -07:00
commit 1a44ab3fa3
13 files changed
+309 -13

No files matched your search

+64
View File
@@ -11281,6 +11281,70 @@ spec:
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
opsLogSidecar:
description: Enable enhanced operation Logs for S3 in a sidecar named ops-log
nullable: true
properties:
resources:
description: Resources represents the way to specify resource requirements for the ops-log sidecar
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.
This field is immutable. It can only be set for containers.
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
request:
description: |-
Request is the name chosen for a request in the referenced claim.
If empty, everything from the claim is made available, otherwise
only the result of this request.
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
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:
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
description: |-
Requests describes the minimum amount of compute resources required.
If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
otherwise to an implementation-defined value. Requests cannot exceed Limits.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type: object
type: object
type: object
placement:
nullable: true
properties:
+7
View File
@@ -112,6 +112,13 @@ spec:
#zone:
#name: zone-a
# service endpoint healthcheck
# opsLogSidecar:
# resources:
# limits:
# memory: "60Mi"
# requests:
# cpu: "100m"
# memory: "60Mi"
healthCheck:
# Configure the pod probes for the rgw daemon
startupProbe: