Commit Graph

31 Commits

Author SHA1 Message Date
ravinsp
e8c2d75ad8 Improved moment-based instance expiration. 2021-11-05 21:04:55 +05:30
Chalith Desaman
f20abe7087 Set docker log size and file limits (#74) 2021-11-05 11:06:47 +05:30
Savinda Senevirathne
b83ce543c9 Handling redeem error message. (#69) 2021-10-15 12:45:45 +05:30
Ravin Perera
4102c119a4 Automation scripts for Evernode cluster deployment. (#67)
* Message board install automation with faucet host account generation.
* Deregister Evernode host on uninstall.
* Used Evernode client lib in message board.
* Removed file logging by default in Sashimono services.
* Evernode cluster spin-up script.
* Cleaned up hp.cfg template.
2021-10-10 22:21:16 +05:30
Ravin Perera
1473d2b059 Improvements for large test cluster management. (#59)
* VM script improvements.
* Modified docker-pull to create new container
* Replaced vpnkit with slirp4netns for better containerized network performance.
* Added swap allocation config.
Co-authored-by: chalith <desaman.chalith@gmail.com>
2021-09-17 12:07:56 +05:30
Chalith Desaman
7a34defd0e Added change roundtime ability for the initiate message (#49) 2021-08-04 09:31:04 +05:30
Savinda Senevirathne
7302270f30 List implementation for Sashi CLI. (#46) 2021-08-02 16:30:11 +05:30
Savinda Senevirathne
4ed4e45ef1 Contract directory permission fix. (#42) 2021-07-29 15:59:40 +05:30
Savinda Senevirathne
4820f9660e Support additional hp config. (#39) 2021-07-26 12:14:41 +05:30
Chalith Desaman
7cb4ddc069 Adding a low previledged user for the hotpocket contract (#35) 2021-07-19 15:32:10 +05:30
Chalith Desaman
9bbb7baa3c Added cgcreate service to create cgroups at the system boot (#32) 2021-07-16 10:29:20 +05:30
Ravin Perera
5a54967320 Ability to specify docker image in create msg. (#31)
* Added docker image list in config.
* Specify docker image in create msg.
2021-07-15 12:56:02 +05:30
ravinsp
bfdd781524 Reduced docker create command len. 2021-07-15 12:52:34 +05:30
Ravin Perera
8cb0c44703 Introduced Sashimono hp docker images. (#30) 2021-07-14 16:51:00 +05:30
Savinda Senevirathne
521423c20d Apply latest hp.cfg values during hpfs service starts. (#29) 2021-07-14 12:55:52 +05:30
Savinda Senevirathne
4617a97a52 Running hpfs as systemd services. (#28) 2021-07-13 15:44:49 +05:30
Ravin Perera
737c3c0af0 Revamped Sashimono installation process. (#27)
- During development, binaries and data exist in build dir.
- In production, binaries in '/usr/bin/sashimono-agent' and data in '/etc/sashimono'.
- Added prerequisites script for easy machine preparation.
- Added cloud installation scripts.
- Added non-interactive installation scripts for fully automated setup of test vms.
- sagent must now be run as root (in development as well as in production)
2021-07-12 15:00:11 +05:30
Ravin Perera
e7f64861f9 Reorganized build dependencies. (#24) 2021-07-09 11:52:22 +05:30
Chalith Desaman
b51633563b Applying cpu, memory and disk quotas. (#22)
CPU and memory quotas using cgroups.
Disk quotas using userquota.
Limiting max allowed hp instances.
2021-07-08 17:18:01 +05:30
Savinda Senevirathne
e8509d1188 Name uniqueness check before creating a contract instance. (#21) 2021-06-29 16:58:26 +05:30
Chalith Desaman
43cb7e8ca1 Two step instance creation and refactoring (#20) 2021-06-29 16:09:04 +05:30
Chalith Desaman
c8df2e75ac Added contract id to the instance create message (#19) 2021-06-28 10:41:08 +05:30
Savinda Senevirathne
7dd0ea97b5 Instance users and dockerd. (#18) 2021-06-25 14:16:22 +05:30
Chalith Desaman
ef74c6c92c Added support to external hpfs per instance (#16) 2021-06-21 11:09:02 +05:30
Savinda Senevirathne
d1b86ee173 Bootstrap contract and Sashimono client. (#15) 2021-06-18 11:33:34 +05:30
Savinda Senevirathne
fb25a4025b HP config default settings. (#12) 2021-06-17 12:05:27 +05:30
Savinda Senevirathne
8e103fa80b Adding restart policy unless-stopped to hp containers (#11) 2021-06-17 10:48:44 +05:30
Savinda Senevirathne
433a4a1e0a Hp monitor loop to monitor container status and re spawn if crashed. (#8) 2021-06-16 14:05:43 +05:30
Chalith Desaman
d36992ede9 Configuration values for sashimono resources (#10) 2021-06-16 13:52:46 +05:30
Savinda Senevirathne
44528cab1f Assigning vacant ports from destroyed instances before assigning a new port (#6) 2021-06-10 10:53:35 +05:30
Savinda Senevirathne
913d219d94 Running hp docker from Sashimono Agent (#5)
* Updated ReadMe
2021-06-08 12:38:15 +05:30