-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add Ondat #255
Add Ondat #255
Conversation
Nice work on this Calum @cvlc 🙌 Thanks for adding this Add-on. 👍🏼 |
@cvlc thanks again for this PR! We merged the extensibility guide for partners last week. https://github.com/aws-samples/aws-eks-accelerator-for-terraform/blob/main/docs/extensibility.md. As you will see in the doc, the recommendation is for partners to maintain their add-ons in a repo that they own. This allows you to evolve your add-on independent of the core repo. Please review the guide and let us know if you have any questions. |
Hello @cvlc. Did you have a chance to look at this comment? We also recently merged Tetrate Istio which you can look at a reference example for a partner addon. Please let us know if you need any additional guidance. |
Thanks all, I've made updates according to the documentation and examples provided! |
variable "ondat_etcd_endpoints" { | ||
type = list(string) | ||
default = [] | ||
description = "List of etcd endpoints for Ondat" | ||
} | ||
|
||
variable "ondat_etcd_ca" { | ||
type = string | ||
default = null | ||
description = "CA content for Ondat etcd" | ||
} | ||
|
||
variable "ondat_etcd_cert" { | ||
type = string | ||
default = null | ||
description = "Certificate content for Ondat etcd" | ||
} | ||
|
||
variable "ondat_etcd_key" { | ||
type = string | ||
default = null | ||
sensitive = true | ||
description = "Private key content for Ondat etcd" | ||
} | ||
|
||
variable "ondat_admin_username" { | ||
type = string | ||
default = "storageos" | ||
description = "Username for Ondat admin user" | ||
} | ||
|
||
variable "ondat_admin_password" { | ||
type = string | ||
default = "storageos" | ||
sensitive = true | ||
description = "Password for Ondat admin user" | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice fit these additional variables into one complex type variable. I am concerned that number of variables growing heavily for k8s add-ons module. Its nice improvement if you want to look into it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cvlc LGTM 👍🏼
One change is required for version tagging . The other change is nice to have
Also uses Terraform registry over GitHub
Thanks - I've pinned the version and switched to the Terraform registry as module source. I did try with a combined object variable but I found it easier to debug with multiple - it can get a bit confusing when you're working with a massive object, especially if you mark it sensitive in the state! |
Hi all, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cvlc thanks so much for the PR and the updates. One requested change from my side. Here https://github.com/ondat/terraform-eksblueprints-ondat-addon/blob/d1f4dd18315b93ceca554bb6f209f4b6d1c5d64a/main.tf#L12, please pin source to version ref=v4.0.1
(assuming you have tested with that).
@askulkarni2 Sure thing, please see https://github.com/ondat/terraform-eksblueprints-ondat-addon/blob/0.0.2/main.tf#L12! |
Hi all, Now the repo has been renamed I've released a new version and updated all references. The module now requires a manual edit to the example to this ref for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Hi @cvlc, thanks for the updates. The code changes look good. However, I am seeing the following when I test the blueprint example from your repo. Can you please check at your end? ▶ k get pods -n storageos
NAME READY STATUS RESTARTS AGE
ondat-ondat-operator-c8b7d4fd5-nckjz 2/2 Running 0 7m26s
storageos-node-2b8jt 2/3 CrashLoopBackOff 5 6m56s
storageos-node-ct6s9 2/3 CrashLoopBackOff 5 6m56s
storageos-node-sfkbj 2/3 CrashLoopBackOff 5 6m56s
storageos-scheduler-5ddc468b54-dwlgq 1/1 Running 0 7m6s Upon checking the logs for one of the pods, I see the following error..
|
Thanks - I've figured out the issue and will update when it's resolved! |
Hi all, The problems are now resolved! Please do try again after a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @cvlc 👍🏼 LGTM
…n/test/util/yaml-2.2.1 Bump yaml from 2.1.3 to 2.2.1 in /test/util
What does this PR do?
This PR provides a Terraform module to install a fully-fledged Ondat cluster using EKS, Helm and using a few Ondat OSS Terraform modules for etcd and storage.
Motivation
This contribution is aimed to provide an easy path for users to deploy Ondat within AWS with EKS.
More
pre-commit run -a
with this PRNote: Not all the PRs required examples and docs except a new pattern or add-on added.
For Moderators
Additional Notes
target_core_user
. A feature request has been raised to resolve this.