Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Pass server resource limits on to the pods in the stateful set #62

Merged
merged 2 commits into from
Nov 20, 2018

Conversation

adilyse
Copy link
Contributor

@adilyse adilyse commented Nov 13, 2018

The values.yaml allowed users to define resource limitations for
the server pods, but was not applying these to the pods in the
server-statefulset.yaml. This fixes that oversight.

Switches the resources definitions to be optional multi-line
strings to match the same formatting as affinity. Adds tests
for the resource definitions.

Updates several test file extensions from .yaml. to .bats.
Rearranges the order of tests in the server-statefulset.yaml
file to match the ordering in the values file.

The values.yaml allowed users to define resource limitations for
the server pods, but was not applying these to the pods in the
server-statefulset.yaml. This fixes that oversight.
These values now default to null and are optional in the template files.
Adds tests for the new values.

Also changes the file extension on several of the test files from .yaml
to .bats.
@adilyse adilyse requested review from mitchellh, anubhavmishra and a team November 20, 2018 17:51
@adilyse adilyse changed the title WIP: Pass server resource limits on to the pods in the stateful set Pass server resource limits on to the pods in the stateful set Nov 20, 2018
Copy link
Contributor

@mitchellh mitchellh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, looks great.

@adilyse adilyse merged commit c32179f into master Nov 20, 2018
@adilyse adilyse deleted the bugfix/server-resources branch November 20, 2018 18:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants