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

Added support for the "prirotyClassName" field #282

Merged
merged 1 commit into from
Aug 27, 2020

Conversation

identw
Copy link
Contributor

@identw identw commented Aug 25, 2020

Added support for the "prirotyClassName" field for sentinel and redis pods

For example:

apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
  name: prod
value: 150
globalDefault: false
description: "prod"
---
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
  name: prod
value: 500
globalDefault: false
description: "prod-databases"
---
apiVersion: databases.spotahome.com/v1
kind: RedisFailover
metadata:
  name: redis
  namespace: default
spec:
  sentinel:
    replicas: 3
    securityContext: {}
    priorityClassName: "prod"
    resources:
      requests:
        cpu: 100m
        memory: 50Mi
      limits:
        cpu: 300m
        memory: 100Mi
  redis:
    replicas: 2
    securityContext: {}
    priorityClassName: "prod-databases"
    resources:
      requests:
        cpu: 100m
        memory: 100Mi
      limits:
        cpu: 400m
        memory: 500Mi

@identw identw requested a review from ese as a code owner August 25, 2020 16:17
@ese ese merged commit 95fda92 into spotahome:master Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants