Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages