How do I get a list of nodes/pods running in a cluster through an application running on Cloud Run in GCP?

This page summarizes the projects mentioned and recommended in the original post on /r/kubernetes

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • client-go

    Go client for Kubernetes.

  • This is basically the function of a kubectl get pods/nodes command, except I want to be able to do this through an application running in a container deployed on Cloud Run. I want to be able to get this information for any of the clusters in my project. I'm using Go for my app and I've tried a thousand different things to get to be able to get this info from the Kube API but nothing has worked. I can get it to work locally using something very similar to https://github.com/kubernetes/client-go/blob/master/examples/out-of-cluster-client-configuration/main.go but because I don't have a kubeconfig file in the container, this wouldn't work with Cloud Run. I'd really appreciate any help!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts