CloudGraph Kubernetes Provider

January 17, 2022 Ā· View on GitHub

Scan cloud infrastructure via the K8s SDK

Docs

⭐ CloudGraph Readme

šŸ’» Full CloudGraph Documentation Including k8s Examples

Install

Install the k8s provider in CloudGraph

cg init k8s

Authentication

Authenticate the CloudGraph k8s Provider any of the following ways:

  • Set the KUBECONFIG env variable pointing to your Kubernetes config file (or use the default location for your OS)

Supported Services

ServiceRelations
cronJobnamespace
deploymentnamespace
ingressnamespace
jobnamespace
namespaceALL SERVICES
networkPolicynamespace
nodenamespace
persistentVolumenamespace
persistentVolumeClaimnamespace
podnamespace
rolenamespace
secretnamespace
servicenamespace
serviceAccountnamespace
storageClassnamespace

Development

Please see the CONTRIBUTING.md file in CloudGraph CLI for details.

Install all the dependencies:

yarn

Generate types and compile:

yarn build