Commit Graph

21 Commits

Author SHA1 Message Date
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