Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Maintenance Policy for Memorystore Redis #514

Open
deleocj opened this issue Oct 24, 2023 · 0 comments
Open

Support Maintenance Policy for Memorystore Redis #514

deleocj opened this issue Oct 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@deleocj
Copy link

deleocj commented Oct 24, 2023

What problem are you facing?

I am trying to set a Maintenance Policy for Memorystore Redis instances, but everything I try is unsuccessful. This instance gets created but doesnt have a maintenance policy set

CRD

maintenancePolicy:
  description: >-
    Maintenance Window dictates when Google may perform
    maintanance requiring short outage < 5mins
  properties:
    weeklyMaintenanceWindow:
      description: Day of week for maintenance
      properties:
        day:
          type: string
        startTime:
          description: Time of day for maintenance
          properties:
            hours:
              maximum: 23
              minimum: 0
              type: integer
          type: object
      type: object
  type: object

Instance

apiVersion: dbaas.kohls.io/v1alpha1
kind: RedisCluster
metadata:
  name: test-maint-3
  annotations:
    crossplane.io/external-name: test-maint-3
spec:
  parameters:
    version: "REDIS_6_X"
    memorySizeGB: 1
    tier: BASIC
    deletionPolicy: Delete
    maintenancePolicy:
      weeklyMaintenanceWindow:
        day: WEDNESDAY
        startTime:
          hours: 6
  compositionSelector:
    matchLabels:
      purpose: memorystore-redis
      provider: gcp
  writeConnectionSecretToRef:
    name: test-maint-3

How could Crossplane help solve your problem?

Is it already possible and Im just doing this wrong? Or is it not possible?

@deleocj deleocj added the enhancement New feature or request label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant