Comments (3)
cross checked by increasing RAM-memory (in vmware esxi vm) and still deployment is stuck. Additionally I noticed this error in vm-console while trying to deploy swarmpit using ssh-session:
Memory cgroup out of memory: Killed process xxxx (beam.smp)
I don't know if this may have to do with the error thrown inside docker swarm-pit container?!
from swarmpit.
Hi,
Try the following custom setup. It works flawlessly so far. As first attempt, it does not include any cpu and ram limitations&reservations for the service subcomponents. Those can be added later. In addition it includes a few modifications to avoid culprits which are explained here. Hope this helps.
On Photon OS, clone the swarmpit github repository.
cd $HOME
tdnf install -y git
git clone https://github.com/swarmpit/swarmpit -b master
Replace docker-compose.yml and deploy.
cat > swarmpit/docker-compose.yml << "EOFdockercompose"
version: '3.9'
services:
app:
image: swarmpit/swarmpit:1.9
depends_on:
- db
ulimits:
nofile:
soft: 65536
hard: 65536
environment:
- SWARMPIT_DB=http://db:5984
- SWARMPIT_INFLUXDB=http://influxdb:8086
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 888:8080
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 60s
timeout: 10s
retries: 3
networks:
- net
deploy:
placement:
constraints:
- node.role == manager
db:
image: couchdb:2.3.1
ulimits:
nofile:
soft: 65536
hard: 65536
volumes:
- db-data:/opt/couchdb/data
networks:
- net
influxdb:
image: influxdb:1.7
volumes:
- influx-data:/var/lib/influxdb
networks:
- net
agent:
image: swarmpit/agent:2.2
depends_on:
- app
- db
- influxdb
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- net
deploy:
labels:
swarmpit.agent: 'true'
networks:
net:
driver: overlay
volumes:
db-data:
driver: local
influx-data:
driver: local
EOFdockercompose
docker stack deploy -c swarmpit/docker-compose.yml swarmpit
from swarmpit.
Related Issues (20)
- Is this tool still being mantained? HOT 2
- Simple Interface tunning, allow cluster name in
- Show which node is running a service in the service view HOT 2
- Build error on Dockerfile: Package 'openjdk-11-jre-headless' has no installation candidate
- Add support for viewing service logs when Grafana Loki logging driver is used
- couch db issue
- gitlab does not work
- [BUG] Hostname disappears from compose.yml configuration file after successful deployment HOT 1
- [Bug] No support for OCI images
- HTTP 500 on api/services/ts/cpu and random restarts when visiting Dashboard HOT 1
- Swarmpit show wrong memory usage HOT 3
- Empty docker content digest causing service creation/update impossible - No 2 HOT 5
- swarmpit_influxdb failed to starts
- Is this Project still being active? HOT 2
- All requests canceled with timeout(redeploy, link registry)
- Better support for replicated jobs
- Unable to upload config through Swarmpit GUI HOT 1
- Support for volume tmpfs in docker compose HOT 1
- Secondary edit of stack config not saving HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swarmpit.