47 Commits

Author SHA1 Message Date
Shishir Mahajan
f80f41896d
Add support for hostname. 2021-04-19 15:15:14 -07:00
Shishir Mahajan
5b7969448a
Add support for image_pull_timeout. 2021-04-09 11:19:15 -07:00
Shishir Mahajan
f4a27f615c
Add support for sysctl. 2021-04-08 11:26:37 -07:00
Shishir Mahajan
0d83b4eb83
Add support for pids_limit. 2021-03-29 10:13:24 -07:00
Shishir Mahajan
b93e718ac7
Add comments. 2021-03-25 11:00:54 -07:00
Shishir Mahajan
a657d6ce68
Fix review comments. 2021-03-25 06:29:45 -07:00
Shishir Mahajan
947c05e01f Add support for entrypoint.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2021-03-24 13:11:44 -07:00
Shishir Mahajan
6a7fa68c0f
Plugin configuration level privileged mode. 2021-03-04 09:46:27 -08:00
Shishir Mahajan
e4ead0dea3
Set default docker registry. 2021-03-04 07:45:46 -08:00
Shishir Mahajan
24d7f2d73b
Add comments (notes). 2021-02-23 19:00:10 -08:00
Shishir Mahajan
bf13908ec6
Add support for extra_hosts. 2021-02-23 16:13:32 -08:00
Shishir Mahajan
2e0a50bde1
Change filesystem isolation to FSIsolationImage.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2021-01-14 12:32:00 -08:00
Shishir Mahajan
c4060e6466 Updates. 2021-01-05 09:18:21 -08:00
Shishir Mahajan
a23d84064e Fix issue #1: Add timeout to containerd context. 2021-01-05 09:18:21 -08:00
Shishir Mahajan
d101e9c5b3
Add option to select current working directory (cwd). 2020-11-12 11:34:56 -08:00
Shishir Mahajan
b810840bec
Add host_dns flag into TaskConfig. 2020-09-29 14:32:51 -07:00
Shishir Mahajan
44b3fc82bc
Fix review comments: Add ContainerConfig struct. 2020-09-28 19:08:02 -07:00
Shishir Mahajan
a54d675d08
Add support for cpu shares. 2020-09-28 17:42:27 -07:00
Shishir Mahajan
d49a03d6c6
Apply memory cgroups to the container. 2020-09-25 16:41:30 -07:00
Shishir Mahajan
8d56f64297
Bind mount ${NOMAD_ALLOC_DIR} into the container. 2020-09-23 13:39:19 -07:00
Shishir Mahajan
c79c4e4c30
Add support for consul templates. 2020-09-22 14:11:52 -07:00
Shishir Mahajan
c49fd132d2
Add support for custom seccomp profiles. 2020-08-31 15:51:02 -07:00
Shishir Mahajan
6167229b31 Add comments. 2020-08-27 17:58:55 -07:00
Shishir Mahajan
d02f35f2d5 Updates. 2020-08-27 17:58:55 -07:00
Shishir Mahajan
c872343d45 Add support for networking. 2020-08-27 17:58:55 -07:00
Shishir Mahajan
ac817ceaf3
Add seccomp support. 2020-08-27 15:26:23 -07:00
Shishir Mahajan
dfb312ca2b
Add support for host network. 2020-08-21 15:24:21 -07:00
Shishir Mahajan
c699faf654
Add support for {nomad alloc logs} command. 2020-08-20 17:42:58 -07:00
Shishir Mahajan
2bda59679b
Add license file and headers. 2020-07-10 16:53:50 -07:00
Shishir Mahajan
fb3781aba2
Add validations.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2020-06-29 14:37:47 -07:00
Shishir Mahajan
22200eb06c
Add comments. 2020-06-29 13:16:31 -07:00
Shishir Mahajan
910f61de3b Pass mount info to containerd.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2020-06-29 11:54:19 -07:00
Shishir Mahajan
acf30037b2 Add support for mounts.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2020-06-29 11:47:55 -07:00
Shishir Mahajan
3b0a1ca61c
Support for adding linux devices (/dev) into the container.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2020-06-26 19:06:43 -07:00
Shishir Mahajan
69353377be
Ability to launch nomad job in read-only mode. 2020-06-25 17:46:03 -07:00
Shishir Mahajan
e37fa44630
Add support for privileged containers. 2020-06-25 17:04:51 -07:00
Shishir Mahajan
d74c364fe5
Fix add capabilities. 2020-06-23 20:58:45 -07:00
Shishir Mahajan
b4f27fa4e2
Add support for TaskConfig flags.
--command
--args []
--cap-add []
--cap-drop []

Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2020-06-22 18:56:55 -07:00
Shishir Mahajan
9b2dcbcb62
Setup container environment. 2020-06-10 11:47:43 -07:00
Shishir Mahajan
c449b1a1d1
RecoverTask: Fix issues. 2020-05-15 13:46:29 -07:00
Shishir Mahajan
2e3aad4ca3
Make containerd runtime configurable. 2020-05-12 14:51:00 -07:00
Shishir Mahajan
a8bab44acf
Create containerd task. 2020-05-11 16:40:22 -07:00
Shishir Mahajan
175e692254
Create OCI container. 2020-05-11 16:07:51 -07:00
Shishir Mahajan
d0ef91a0d9
Pull OCI image. 2020-05-11 15:43:50 -07:00
Shishir Mahajan
883b5f0397
Add isContainerdRunning() and getContainerdVersion(). 2020-05-11 12:36:21 -07:00
Shishir Mahajan
509bbbf675
Add fingerprint. 2020-05-08 17:24:56 -07:00
Shishir Mahajan
f6184c3a9a
Add containerd client. 2020-05-08 15:08:39 -07:00