This repository contains the necessary files to run a standalone version of the JupiterOne Kubernetes integration in your local Kubernetes cluster. This integration allows you to collect and upload Kubernetes configuration data to your JupiterOne account.
- Access to a Kubernetes cluster
kubectl
CLI tool installed and configured- Docker installed (for building and pushing the image)
- Access to a container registry
- JupiterOne account with administrative access
You'll need to gather the following information from your JupiterOne account:
-
JupiterOne Account ID
- Navigate to Settings > Account Management
- Copy the Account ID
-
Integration Instance ID
- Go to Integrations > Kubernetes Native
- Click "New Instance"
- Fill in the required details and click "Create"
- The Instance ID will be displayed in the instance properties (look for 'id')
-
Integration API Key
- In the new integration instance
- Click "API Keys"
- Click "New API Key"
- Click "Reveal" to view the key
- Copy the API key
-
JupiterOne URL (usually https://api.us.jupiterone.io)
-
Proxy URL (if required)
-
Proxy PEM Certificate (if required)
Navigate to the Image directory and run:
docker build -t your-registry/jupiterone-integration:latest .
docker push your-registry/jupiterone-integration:latest
Update the jupiterone.yaml file with your collected environment variables and Docker image reference.
Required environment variables:
JUPITERONE_ACCOUNT
: your account IDINTEGRATION_INSTANCE_ID
: your instance IDINTEGRATION_API_KEY
: your API keyJUPITERONE_API_BASE_URL
: JupiterOne API URL
Optional proxy configuration:
HTTPS_PROXY
: your proxy URLNODE_EXTRA_CA_CERTS
: path to proxy certificate
Update the image reference to point to your uploaded Docker image.
Run: kubectl apply -f rbac.yaml
Run: kubectl apply -f jupiterone.yaml
To verify the integration is running:
- Check pod status:
kubectl get pods -l app=jupiterone
- View logs:
kubectl logs -l app=jupiterone
If you encounter issues:
- Ensure all environment variables are correctly set in jupiterone.yaml
- Verify the pod has the necessary permissions by checking the logs
- Confirm the Docker image is accessible from your cluster
- Check if proxy settings are correctly configured (if applicable)
For additional support, please contact JupiterOne support or refer to the JupiterOne documentation.