Skip to content

Commit

Permalink
chore(deps): update mongodb and janusgraph.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenithar committed Dec 2, 2024
1 parent 5cabd42 commit 75cbad0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 30 deletions.
30 changes: 2 additions & 28 deletions deployments/kubehound/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
mongodb:
image: mongo:6.0.6
image: mongo:8.0.3
restart: unless-stopped
networks:
- kubenet
Expand All @@ -23,7 +23,7 @@ services:
- kubenet
healthcheck:
test: ["CMD", "bin/gremlin.sh", "-e", "scripts/remote-connect.groovy"]
interval: 30s
interval: 30s
timeout: 30s
retries: 3
labels:
Expand All @@ -47,32 +47,6 @@ services:
environment:
- NOTEBOOK_PASSWORD=admin
- GRAPH_NOTEBOOK_SSL=False

ui-invana-engine:
image: invanalabs/invana-engine:latest
profiles:
- invana
restart: unless-stopped
networks:
- kubenet
ports:
- 127.0.0.1:8200:8200
environment:
GREMLIN_SERVER_URL: ws://kubegraph:8182/gremlin
depends_on:
- kubegraph

ui-invana-studio:
image: invanalabs/invana-studio:latest
restart: unless-stopped
profiles:
- invana
networks:
- kubenet
ports:
- 127.0.0.1:8300:8300
depends_on:
- ui-invana-engine

networks:
kubenet:
Expand Down
4 changes: 2 additions & 2 deletions deployments/kubehound/graph/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY dsl/kubehound/pom.xml /home/app
RUN mvn -f /home/app/pom.xml clean install

# Now build our janusgraph wrapper container with KubeHound customizations
FROM janusgraph/janusgraph:1.0.0
FROM janusgraph/janusgraph:1.1.0
LABEL org.opencontainers.image.source="https://github.com/DataDog/kubehound/"

# Add our initialization script for the database schema to the startup directory
Expand Down Expand Up @@ -61,7 +61,7 @@ ENV gremlinserver.metrics.csvReporter.enabled=false

# Performance tweaks based on: https://www.sailpoint.com/blog/souping-up-the-gremlin/
# gremlinPool will default to Runtime.availableProcessors()
ENV gremlinserver.gremlinPool=0
ENV gremlinserver.gremlinPool=0
# threadPoolWorker should be 2x VCPU (TODO: can we set dynamically?)
ENV gremlinserver.threadPoolWorker=16

Expand Down

0 comments on commit 75cbad0

Please sign in to comment.