Kubernetes provider for the CloudGraph CLI
npm install @cloudgraph/cg-provider-kubernetesScan cloud infrastructure via the K8s SDK
- Docs
- Install
- Authentication
- Supported Services
💻 Full CloudGraph Documentation Including k8s Examples
Install the k8s provider in CloudGraph
``console`
cg init k8s
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)
| Service | Relations |
| ---------------------------- | ------------------ |
| cronJob | namespace |
| deployment | namespace |
| ingress | namespace |
| job | namespace |
| namespace | ALL SERVICES |
| node | namespace |
| persistentVolume | namespace |
| persistentVolumeClaim | namespace |
| pod | namespace |
| role | namespace |
| secret | namespace |
| service | namespace |
| serviceAccount | namespace |
| storageClass | namespace |
Please see the CONTRIBUTING.md file in CloudGraph CLI for details.
Install all the dependencies:
``
yarn
Generate types and compile:
```
yarn build