Kubernetes GraphQL Dynamic Query in Go | by Stefanie Lai | Jun, 2022

Play some magic with client-go DiscoveryClient In the first episode of Kubernetes GraphQL Query in Go, we built the server code using GraphQL to query Pods in a cluster. However, such queries are poor in flexibility and scalability since the definitions of the related graphql.Feilds are all hard-coded, which needs refactoring. So here comes the … Read more

Kubernetes GraphQL Query in Go. Build GraphQL server for searching… | by Stefanie Lai | Jun, 2022

Build GraphQL server for searching Kubernetes resources in the cluster In shared-cluster governance, part of our responsibility is to allow users to access their resources, which we fulfill by RBAC to assign reasonable permissions and enable users’ queries via kubectl. “None barrier” to back-end developers, while not the case for users like mobile, web, and … Read more