Skip to content

kaskou/gcloud_custommetric_writer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

gcloud_custommetric_writer

  • This repo helps you to create custommetric in gcloud which can be used for scaling up the pods.Basically code is return in Golang.

Creation of custom metric

  • Things that you need to be aware is the gcloud_project id and cluster where you want to use it.Please follow the specific commands below
go build custommetric.go
go run custommetric.go ${Cluster_name} ${Project_id}

Deletion of metric

Initially uncommenyt the delete method line in main func and comment the create method.

go build custommetric.go
go run custommetric.go ${Cluster_name} ${Project_id}

Note

  • You can change the metric type to be anything, basically based on your way of work.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages