2.0.0-1
Hi 👋
Here is the pre-release of Swiftwave v2.
In coming week, will do the final release of Swiftwave v2.
Installation Step
We are working on v2 documentation
In the meanwhile, you can install to tryout Swiftwave v2 by the following steps mentioned here
- Fedora/CentOS based distros - http://rpm.repo.swiftwave.org/
- Debian/Ubuntu based distros - http://deb.repo.swiftwave.org/
Then run,
sudo swiftwave init
sudo swiftwave start
// Once setup done, run
sudo swiftwave service enable
Note
Mostly, we have tested on Amd64, Arm64, and ArmV7 (Raspberry pi) architectures running Ubuntu or Debian. You may thus try it out with the pre-release of version 2.
Warning
In Fedora or Centos based distros, you may face that the haproxy is crashing infinitely. To mitigate this set default-ulimits
of docker
.
- Create or edit file
/etc/docker/daemon.json
and add thedefault-ulimits
.Note : Try setting any value in the configuration less than the highest ulimit of the system. To get highest ulimit of system, run{ "default-ulimits": { "nofile": { "Hard": 262144, "Name": "nofile", "Soft": 262144 } } }
ulimit -n -H
on your server. - Restart docker daemon of system by
systemctl restart docker
What's Changed
- feat: add mergify backport support by @tanmoysrt in #226
- feat: harden container security by @tanmoysrt in #225
- feat: support udp ingress + container capabilities by @tanmoysrt in #244
- feat: added https redirection support by @tanmoysrt in #246
- feat:
tls
in CLI added by @tanmoysrt in #251 - feat: graphql docs workflow updated by @tanmoysrt in #253
- feat: persistent volume backup and restore support by @tanmoysrt in #260
- feat: options added to configure no of workers by @tanmoysrt in #262
- feat: s3 support added in pv backup by @tanmoysrt in #265
- chore: docs update by @tanmoysrt in #267
- feat: add api endpoint to fecth filename of backup by @tanmoysrt in #273
- feat: remove graphql endpoints and use only rest api for restore by @tanmoysrt in #275
- fix: order of table in migration by @tanmoysrt in #287
- feat: support added for submodule clone and use depth 1 by @tanmoysrt in #291
- feat: disable local backup for cluster by @tanmoysrt in #293
- feat: patch applying system by @tanmoysrt in #295
- feat: application sleep support by @tanmoysrt in #298
- feat: nfs volume support by @tanmoysrt in #306
- feat: added support to provide docker command by @tanmoysrt in #313
- fix: docker cmd issue by @tanmoysrt in #315
- feat: auto ssl queue on domain add by @tanmoysrt in #323
- chore: update license by @tanmoysrt in #327
- chore: update email in security section by @tanmoysrt in #329
- feat: support for deploy from stack by @tanmoysrt in #335
- feat: add application type docs variable by @tanmoysrt in #343
- chore: reformat haproxy manager codes by @tanmoysrt in #350
- feat: added support to dyncamically update server templates while scaling apps by @tanmoysrt in #352
- fix: socket closed error in firefox by @tanmoysrt in #367
- feat: restructure architecture (part1) by @tanmoysrt in #364
- fix: haproxy #369 perf issue by @tanmoysrt in #413
- chore: remove debug statements from testcase by @tanmoysrt in #416
- fix: use image registry locally also by @tanmoysrt in #417
- feat: git api revamp by @tanmoysrt in #418
- feat: provide option to create admin at the time of setup by @tanmoysrt in #419
- feat: fetchAnalyticsServiceToken gql mutation function added by @tanmoysrt in #420
- feat: cronjob to monitor server status by @tanmoysrt in #421
- feat: swiftwave snapshot cmd added by @tanmoysrt in #422
- feat: auto ssl renewal by @tanmoysrt in #424
- feat: remove microservice mode from task queue by @tanmoysrt in #425
- feat: redis as task queue added and postgres as backup in local added by @tanmoysrt in #426
- feat: tq cmd added to resolve task queue related issues by @tanmoysrt in #427
- feat: use registry version from local config by @tanmoysrt in #428
- fix: ineffassign fix by @tanmoysrt in #429
- fix: replace == & != with strings.compare(..) by @tanmoysrt in #439
- fix: fix updater to use repo by @tanmoysrt in #440
- fix: minor fixes by @tanmoysrt in #445
- fix: typo mistake in node active/inactive gql query by @tanmoysrt in #454
- feat: show system logs in dashboard by @tanmoysrt in #456
- feat: option to select timeframe in runtime logs added by @tanmoysrt in #472
- feat: application group in model added by @tanmoysrt in #478
- fix: issue #479 by @tanmoysrt in #481
- feat: gql queries for application group added by @tanmoysrt in #482
- feat: application auto grouping in stack deployment by @tanmoysrt in #486
- feat: restart system gql query and server deletion support by @tanmoysrt in #487
- fix: haproxy causing issue with exposing mongodb tcp by @tanmoysrt in #497
- feat: custom ssh port support by @tanmoysrt in #503
- feat: atlas and golang-migrate integration by @tanmoysrt in #515
- feat: cifs support added by @tanmoysrt in #517
- fix: minor fixes by @tanmoysrt in #519
- Add license scan report and status by @fossabot in #533
- feat: added custom iofs driver for gorm-migrate by @tanmoysrt in #534
- fix: minor code bugs by @tanmoysrt in #535
- feat: allow any git provider and allow ssh git credentials by @tanmoysrt in #539
- feat: support added to only repo based git by @tanmoysrt in #544
- feat: ssh type v2 support added by @tanmoysrt in #547
- feat: add manual ingress proxy configuration by @tanmoysrt in #548
- fix: restart local imnage registry if tls settings got changed by @tanmoysrt in #556
- feat: support to manually pick service config type by @tanmoysrt in #558
- feat: management node address tunelling override config support added by @tanmoysrt in #560
- feat: option to override image registry url added by @tanmoysrt in #562
- feat: on setup bring the custom error pages for proxy by @tanmoysrt in #565
- feat: allow to create new ingress rule / redirect rule with non-existent domain by @tanmoysrt in #594
- fix: add rsync in server dependency by @tanmoysrt in #595
- bug: create volume in all server manually + auto create on new server onboarding by @tanmoysrt in #601
- bugfix: handle
disable deployment
manually instead of relying on swarm mode by @tanmoysrt in #605 - feat: disposable mail detection in letsencrypt mail has been added by @tanmoysrt in #611
- feat: allow to select docker swarm advertiser ip by @tanmoysrt in #616
- feat: noOfServers noOfPreparedServers gql query added by @tanmoysrt in #624
- feat: added echo middleware to cache js,css,png files upto 1yr by @tanmoysrt in #627
- feat: docker push log prettified by @tanmoysrt in #631
- bugfix: cpu stats calculation of stats_ninja by @tanmoysrt in #633
Additional Context
After adding many features, still swiftwave
takes much less resources.
Tested with couple of app builds and deployment
Memory usage stays between 40~75 MB
CPU Usage also stays below 1% most of the time. But, at the time of new server onboarding, it can have 20% of CPU usage. After onboarding completion, CPU usage will decreases below 1%.
P.S : This test has been performed in a 1vCPU 2GB ram Debian server.
Full Changelog: 1.0.0...2.0.0-1