Open hzxuzhonghu opened 2 years ago
do you means something like ELK api?
In what way to query and output the log? add command kurator logs
?
After searching more, i found https://github.com/onelittlenightmusic/kubernetes-graphql does exactly what I want.
Read https://scientya.com/search-kubernetes-world-with-graphql-1c57888c2f22 for more details.
unfortunately, I did not install it successfully according to the guide.
hi @hzxuzhonghu , what do you think of this. https://github.com/hasura/graphql-engine
unfortunately, I did not install it successfully according to the guide.
I successfully installed using helm. FYI
helm repo add graphql-mesh https://onelittlenightmusic.github.io/graphql-mesh-docker/helm-chart
helm repo up
helm install my-graphql-mesh graphql-mesh/graphql-mesh
Does it support open API convert?
Does it support open API convert?
looks supported. https://hasura.io/blog/turn-your-go-rest-api-to-graphql-using-hasura-actions/
We need automatically do this, can make use of kubernetes' swagger.json
@hzxuzhonghu I think this is good, what do you think. https://docs.cloudgraph.dev/querying-kubernetes-data
It seems this https://github.com/cloudgraphdev/cloudgraph-provider-kubernetes#supported-services is not automatically converted, while https://github.com/onelittlenightmusic/kubernetes-graphql make use of graphqlMesh, which can convert from a swagger.json
FYI how graphql-mesh handles openapi https://www.graphql-mesh.com/docs/handlers/handlers-introduction
What would you like to be added:
FYI https://graphql.org/
The benifit is
Get many resources in a single request
As how to support GraphQL, i donot have a clear thought right now. Any comments are welcomed.
Why is this needed:
Currently, if we want to check a workload and its correslated resources, we must do many queries. With graphQL supported, this can be largely saved.