Coder Social home page Coder Social logo

ackeecz / terraform-gcp-gke-oom-kill-monitoring Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 24 KB

Terraform module for creation of resources needed for OOM kills monitoring.

Dockerfile 2.03% Python 29.79% HCL 63.51% Shell 4.67%
gke-cluster oom terraform

terraform-gcp-gke-oom-kill-monitoring's Introduction

Terraform Google Cloud GKE OOM Kills Monitoring

Terraform module for creation of resources needed for OOM kills monitoring.

Requirements

No requirements.

Providers

Name Version
google n/a
kubernetes n/a
random n/a

Modules

No modules.

Resources

Name Type
google_project_iam_member.sa resource
google_service_account.sa resource
google_service_account_iam_member.sa_allow_iam_workload_identity resource
kubernetes_deployment.gke_oom_killed_monitoring resource
kubernetes_service_account.sa resource
random_string.random resource

Inputs

Name Description Type Default Required
cluster_name Name of cluster of the monitored pods string n/a yes
docker_tag Tag of image ackee/gke_oom_monitoring used for monitoring string "latest" no
location Location of the monitored pods string n/a yes
namespace Namespace for monitoring deployment containing pod runtime string n/a yes
project Project ID string n/a yes

Outputs

No outputs.

terraform-gcp-gke-oom-kill-monitoring's People

Contributors

tomashejatko avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

terraform-gcp-gke-oom-kill-monitoring's Issues

error creating service_account

Not sure why (for me) it isn't picking up the project from the module definition (which does have a project definition set) but my deployment never completes because the serviceAccount referenced was not created.

Error: project: required field is not set
with module.gke-oom-kill-monitoring.google_service_account.sa,
on .terraform/modules/gke-oom-kill-monitoring/iam.tf line 7, in resource "google_service_account" "sa":
7: resource "google_service_account" "sa" {

I am not sure if there should be a depends_on in the deployment on that service_account being created but my attempt at using this module failed because the deployment and subsequent pod never was created because the service_account wasn't created. I only saw this exception when I manually removed the deployments serviceAccount reference which let the terraform process proceed with resource creations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.