0.3.0 • Published 4 years ago
@cloudgraph/cg-provider-k8s v0.3.0
CloudGraph Kubernetes Provider
Scan cloud infrastructure via the K8s SDK
Docs
💻 Full CloudGraph Documentation Including k8s Examples
Install
Install the k8s provider in CloudGraph
cg init k8sAuthentication
Authenticate the CloudGraph k8s Provider any of the following ways:
- Set the
KUBECONFIGenv variable pointing to your Kubernetes config file (or use the default location for your OS)
Supported Services
| Service | Relations |
|---|---|
| cronJob | namespace |
| deployment | namespace |
| ingress | namespace |
| job | namespace |
| namespace | ALL SERVICES |
| networkPolicy | namespace |
| node | namespace |
| persistentVolume | namespace |
| persistentVolumeClaim | namespace |
| pod | namespace |
| role | namespace |
| secret | namespace |
| service | namespace |
| serviceAccount | namespace |
| storageClass | namespace |
Development
Please see the CONTRIBUTING.md file in CloudGraph CLI for details.
Install all the dependencies:
yarnGenerate types and compile:
yarn build