#help (2024-06)

Where to get help about getting help!

2024-06-01

milhouse avatar
milhouse

Hi team, I need to deploy all of our microservices in Kubernetes using Helm. Currently, I go to each project, run helm create <project-name>, modify some deployment templates, and then install the app with that Helm package. Could anyone suggest best practices for managing Helm charts for all of our microservices?

Additionally, I have another idea for managing our Helm charts. We could create a separate GitLab group for all our Helm charts and set up CI/CD pipelines to automatically create or update Helm charts based on any modifications. These would then be pushed to a private Helm repository. During deployment, we could fetch the latest version of the Helm chart from the private repo. What do you think?

Thanks!

Hao Wang avatar
Hao Wang

seems in the stack all services are put in the same helm chart? is it possible to use public helm chart for different services and integrate them together, kinda microservices in helm design

milhouse avatar
milhouse

No, each service is packaged in its own Helm chart.

milhouse avatar
milhouse

I have created a Helm chart inside each microservice. Now, I think it would be better to have a separate group and pipeline for our Helm charts.

Hao Wang avatar
Hao Wang

looks good, as long as the dependencies are correctly set

Hao Wang avatar
Hao Wang

troubleshooting would be interesting for a big stack

2024-06-02

2024-06-18

andrew_pintxo avatar
andrew_pintxo

Hello, I am trying to create module _module_ "pdf_ecs_task" {` `source = "cloudposse/ecs-alb-service-task/aws"` `_version_ = "0.66.4"` with `task_policy_arns = [` `module.pdf_ecs_iam_policy.policy_arn` `] but got this error: Error: Invalid for_each argument` `│` `│ on .terraform/modules/pdf_ecs_task/main.tf line 162, in resource "aws_iam_role_policy_attachment" "ecs_task":` `│ 162: for_each = local.create_task_role ? toset(var.task_policy_arns) : toset([])` `│ ├────────────────` `│ │ local.create_task_role is true` `│ │ var.task_policy_arns is list of string with 1 element

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

(pro tip, use code fences instead of back ticks)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

This is a good question for #terraform

1
Hao Wang avatar
Hao Wang

what is the value of module.pdf_ecs_iam_policy.policy_arn?

andrew_pintxo avatar
andrew_pintxo

The problem was in module versions, thank you

2024-06-20

Paul Stagner avatar
Paul Stagner

Not sure where to post this but it seems like there was a delete button or the docs were moved from the modules page in the documentation here: https://docs.cloudposse.com/modules/

Paul Stagner avatar
Paul Stagner

If you look on the wayback site you can see the difference.

Paul Stagner avatar
Paul Stagner
Paul Stagner avatar
Paul Stagner

One of the engineers I am working with pointed it out. The issue started happening today I guess?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

We gave a bug

this1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I think @Dan Miller (Cloud Posse) is looking into it

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Thanks for reporting!

2024-06-24

    keyboard_arrow_up