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

refactor: link both provisioners back to a shared node template #205

Merged
merged 5 commits into from
Oct 25, 2023

Conversation

blacha
Copy link
Member

@blacha blacha commented Oct 25, 2023

Motivation

There appears to be a bug with cdk8s unsing nested specs causing volumes to show as

volumeSize:
  value: 200Gi

the value key is invalid, doing the exact same source as a node template outpus

volumeSize: 200Gi

to work around the problem use a shared node template.

Modification

Adds a shared aws node template for both spot provisionsers to reference.

Checklist

If not applicable, provide explanation of why.

  • Tests updated
  • Docs updated
  • Issue linked in Title

@blacha blacha marked this pull request as ready for review October 25, 2023 20:00
@blacha blacha requested review from a team as code owners October 25, 2023 20:00
@l0b0 l0b0 enabled auto-merge October 25, 2023 20:40
config/charts/karpenter.ts Outdated Show resolved Hide resolved
@l0b0 l0b0 added this pull request to the merge queue Oct 25, 2023
Merged via the queue into master with commit d0041bf Oct 25, 2023
2 checks passed
@l0b0 l0b0 deleted the refactor/shared-template branch October 25, 2023 21:34
amfage pushed a commit that referenced this pull request Oct 30, 2023
#### Motivation

There appears to be a bug with cdk8s unsing nested specs causing volumes
to show as

```
volumeSize:
  value: 200Gi
```

the value key is invalid, doing the exact same source as a node template
outpus

```
volumeSize: 200Gi
```

to work around the problem use a shared node template.


#### Modification

Adds a shared aws node template for both spot provisionsers to
reference.

#### Checklist

_If not applicable, provide explanation of why._

- [ ] Tests updated
- [ ] Docs updated
- [ ] Issue linked in Title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants