Skip to content

v20.06.10

Compare
Choose a tag to compare
@CMGS CMGS released this 10 Jun 08:45
· 529 commits to master since this release

Changelog

1fa0f42 CPU prior with mem limit
9da4ba4 ContainerStatusStream: Add log about watch and exit.
1dec010 Dockerfile使用ARG替换模板 && Dockerfile中添加USER
0656d04 ExtraHosts made global rather than entrypoint-wise
2195c8d Fix packaging script on RPM which will conflict with systemd
4f2e22b I need space!
d2229cd Mercury can BatchGet keys
5577f95 Mercury.MultiGet
c4f0160 Merge branch 'add-available-in-rpc' into 'master'
5bc135e Merge branch 'add-grpc-tests' into 'master'
0c328fe Merge branch 'add-nodename-env' into 'master'
dea6d55 Merge branch 'add-zone' into 'master'
921c98a Merge branch 'algorithm' into 'master'
7b568b6 Merge branch 'available' into 'master'
277c1f6 Merge branch 'block_problem' into 'master'
9574101 Merge branch 'bug-fix' into 'master'
536446c Merge branch 'bug-fix' into 'master'
ba0c27d Merge branch 'bug/appdir' into 'master'
7789588 Merge branch 'bug/build' into 'master'
8749465 Merge branch 'bug/docker-client-cache' into 'master'
cefc1cd Merge branch 'bug/error-message' into 'master'
747db24 Merge branch 'bug/error-message' into 'master'
58ae883 Merge branch 'bug/govet' into 'master'
3e82a48 Merge branch 'bug/grpcio-tools'
8bc542b Merge branch 'bug/make' into 'master'
360e623 Merge branch 'bug/nodename-env' into 'master'
e5356e4 Merge branch 'bug/remove-container' into 'master'
4722edc Merge branch 'bug/sample' into 'master'
beb4844 Merge branch 'bug/swap' into 'master'
74208e1 Merge branch 'bug/timeout' into 'master'
6cff815 Merge branch 'bug/vendor' into 'master'
a58dead Merge branch 'bugs' into 'master'
910234b Merge branch 'check-port' into 'master'
ccb83d7 Merge branch 'clean_agent' into 'master'
654daa7 Merge branch 'close' into 'master'
a1ed546 Merge branch 'config-timeout' into 'master'
ea6d3e6 Merge branch 'context_with_timeout' into 'master'
f591414 Merge branch 'debug' into 'master'
32f8bb4 Merge branch 'debug' into 'master'
728eefb Merge branch 'debug' into 'master'
9dbbde3 Merge branch 'debug' into 'master'
af4adac Merge branch 'debug' into 'master'
8a383bf Merge branch 'debug' into 'master'
6e5b68d Merge branch 'debug' into 'master'
9f14908 Merge branch 'debug' into 'master'
35f1046 Merge branch 'debug' into 'master'
5e1768c Merge branch 'debug' into 'master'
002f592 Merge branch 'debug' into 'master'
c782d65 Merge branch 'dev' into 'master'
6a1048c Merge branch 'dev' into 'master'
983a4e1 Merge branch 'dev' into 'master'
eae0ba7 Merge branch 'dev' into 'master'
f4cd934 Merge branch 'dev' into 'master'
6db24bf Merge branch 'dev' into 'master'
29447e9 Merge branch 'dev' into 'master'
ac7b94b Merge branch 'dev' into 'master'
f761109 Merge branch 'dev' into 'master'
194b800 Merge branch 'dev' into 'master'
328aa5a Merge branch 'enhance' into 'master'
fd6b783 Merge branch 'entrypoint' into 'master'
c9b415d Merge branch 'explain_for_patch' into 'master'
cb01060 Merge branch 'feature/GracefulStop' into 'master'
c0bc378 Merge branch 'feature/chown-permdir' into 'master'
b6bf859 Merge branch 'feature/chown-permdir' into 'master'
a542fd7 Merge branch 'feature/default-volumn' into 'master'
8fd417a Merge branch 'feature/docker-cp' into 'master'
6cb8039 Merge branch 'feature/docs' into 'master'
98233fb Merge branch 'feature/golang-1.8' into 'master'
8648985 Merge branch 'feature/log-level' into 'master'
4675520 Merge branch 'feature/remove-node' into 'master'
fa098e3 Merge branch 'feature/set-node-available' into 'master'
44aca7c Merge branch 'fix-cache-image' into 'master'
21dc097 Merge branch 'hide-log' into 'master'
dc2e76d Merge branch 'lock' into 'master'
24857f7 Merge branch 'make-resource-back' into 'master'
5160cf8 Merge branch 'master' into 'master'
b3679da Merge branch 'master' into 'master'
fd6c07b Merge branch 'master' into 'master'
021a4f0 Merge branch 'master' into 'master'
1a4fac5 Merge branch 'master' into realloc-test
3ba426e Merge branch 'master' into satisfy-yifu
023c3e9 Merge branch 'master' of gitlab.ricebook.net:platform/core
9890b3e Merge branch 'master' of gitlab.ricebook.net:platform/core
05b1715 Merge branch 'master' of gitlab.ricebook.net:platform/core
2e6ae27 Merge branch 'master' of gitlab.ricebook.net:platform/core
e177ca5 Merge branch 'master' of gitlab.ricebook.net:platform/core
8d0dcdf Merge branch 'master' of gitlab.ricebook.net:platform/core
fd6aba6 Merge branch 'master' of gitlab.ricebook.net:platform/core
342c4be Merge branch 'master' of gitlab.ricebook.net:platform/core
c57eafb Merge branch 'master' of gitlab.ricebook.net:platform/core
dbc2ac3 Merge branch 'master' of gitlab.ricebook.net:platform/core
ea1785f Merge branch 'minor/nodeIP' into 'master'
fd1b6ad Merge branch 'multiple_build' into 'master'
380e929 Merge branch 'new_etcd' into 'master'
c67be95 Merge branch 'realloc' into 'master'
3a98412 Merge branch 'realloc' into 'master'
1a626c9 Merge branch 'realloc-unit-test' into 'master'
7d6101b Merge branch 'refactor' into 'master'
80b7e56 Merge branch 'refactor/add-node' into 'master'
e8bc5f5 Merge branch 'refactor/add-pod' into 'master'
ef0101f Merge branch 'refactor/appdir' into 'master'
0e084ae Merge branch 'refactor/create-container' into 'master'
d428c15 Merge branch 'refactor/dev-cli' into 'master'
6d8530a Merge branch 'refactor/engine-api' into 'master'
cda75fc Merge branch 'refactor/graceful' into 'master'
484bf1d Merge branch 'refactor/health-check' into 'master'
538db3e Merge branch 'refactor/image' into 'master'
8ac261f Merge branch 'refactor/libgit2' into 'master'
c9a51ba Merge branch 'refactor/log'
3104fc1 Merge branch 'refactor/log' into 'master'
50c54ec Merge branch 'refactor/mem_limit' into 'master'
3a7554e Merge branch 'refactor/memory-swap' into 'master'
2da0b06 Merge branch 'refactor/obsolete' into 'master'
5c9f37c Merge branch 'refactor/permdir' into 'master'
736d9dd Merge branch 'refactor/prefetch-image' into 'master'
f446ea1 Merge branch 'refactor/restart-policy' into 'master'
bb1e51d Merge branch 'refactor/timeout' into 'master'
f75ca09 Merge branch 'refactor/volume' into 'master'
232f99d Merge branch 'refactor/volume' into 'master'
50fca21 Merge branch 'refactor/volume' into 'master'
1a372c5 Merge branch 'refactor/volumes' into 'master'
c4a3eac Merge branch 'refactor/working-dir' into 'master'
db22e46 Merge branch 'remove-sync' into 'master'
619c202 Merge branch 'revert-2e0cec32' into 'master'
e68707a Merge branch 'run-and-wait' into 'master'
6d713b9 Merge branch 'run-and-wait' into 'master'
a21b789 Merge branch 'satisfy-yifu' into 'master'
3b86066 Merge branch 'stdcopy' into 'master'
fb7244b Merge branch 'task-counter' into 'master'
32023b1 Merge branch 'timeout' into 'master'
acedc88 Merge branch 'timeout' of gitlab.ricebook.net:platform/core into timeout
c7083e0 Merge branch 'timeout-fix' into 'master'
0963352 Merge branch 'timout' into 'master'
ce6cb2e Merge branch 'unit-test/scm-test' into 'master'
903927c Merge branch 'unit-tests/create_container' into 'master'
786cc28 Merge branch 'update' into 'master'
e559fef Merge branch 'update-build-image-version' into 'master'
eff0b01 Merge branch 'volumes' into 'master'
afeb601 Merge pull request #20 from timfeirg/master
166aac5 README: Mac install 0.27.x libgit2 for now.
f17ab48 Revert "Merge branch 'bug/swap' into 'master'"
150f25e Revert "Revert "use new build image""
f341119 Revert "[skip ci] 注册 node 的时候允许覆盖"
f3e75ea Revert "citadel knows nothing about core error"
5096c18 Revert "compatible with new docker api"
385a370 Revert "display core error message in citadel"
dccd499 Revert "trying out CreateContainerMessage"
fc62bd2 Revert "use new build image"
91670c7 Revert "加个只列出name的方法"
003a85e Support specify ipv4 addr for container
5f701ad Update
353353f Update README.md
9f9c2bf [skip ci] [WIP] remove the notion of permdir
1b73f0c [skip ci] add TestRound
31ebc2e [skip ci] completely remove timeout from config
de9d773 [skip ci] deploy script rename
246aa4e [skip ci] fix deploy script
e32b883 [skip ci] fix outdated config sample
8d6ff17 [skip ci] lock at Node level, not Pod level now. And will lock container if some ops on it.
19f6306 [skip ci] minor
305c705 [skip ci] move log_level setting from CLI to config
1309600 [skip ci] readme
70e034c [skip ci] readme
f165780 [skip ci] remove obsolete code
398a1f6 [skip ci] use debug mode when deploy test
c49c9c7 [skip ci] 不涉及资源分配的 rpc 接口就不要等待完成了
d8ace61 [skip ci] 注册 node 的时候允许覆盖
544d9e2 add 'Log unsent messages' tasks
6ad8b1c add Copy tests
7d6458a add ERU label
fbe70d4 add ERU_MEMORY
71c2cc6 add GetPodResource test
50b1e79 add Id for build progress ident
188140d add ListNodeContainers interface
944d5c4 add a bunch of error logs
cde52c9 add a deploy plan based on node resource usage
561829e add another default volumn, @CMGS
fc9e5a7 add api for agent use it
08c7440 add artifacts retriever
00a47c3 add available in rpc return value
173f224 add basic auth
fbd30ea add benchmark for complex scheduler, make custom errors without prefix
8ad12dd add cert files for docker
02e7137 add clean pod interface
8a7b027 add client lib
9a298c0 add client.py example
1c8b3e0 add container first then update it meta
e97d51b add core client pkgs
e073ac8 add create tar stream test
d186738 add dns
8559e29 add embedded storage for standalone testing
9f74519 add errorlog
bf2d147 add etcd lock tests
4c9d79c add etcdv3 tests
d3a6cfc add exit code
d51e84f add extra arguments support
4033ce6 add get pod resource API
35fa1d1 add git
2636ce9 add gitlab ci configs
ea2af40 add grpc
497af2f add grpc tests
1d772d2 add hard memory limit
53148b8 add health check method
5a1b071 add inspect info to container
c592d55 add instructions for grpcio-tools
7f64f6d add labels
3f086c4 add labels, envs, image and user in container type
b1cfb22 add list container api
f8300fb add list network api
453bb9d add lock in case that read/write concurrency on the same map
d3f6ee6 add locks tests
74d1569 add log
a07720c add log for exec
3ca517a add log level
c41e2cf add log stream for getting log from one container
9325c6b add makeMockDockerClient for testing
68f3cff add mark containers down to set node api
e19a63b add mercury test
8386e35 add missing expose port config
ff0c40c add mock engine, for some system testing
84ee53c add mocks for docker and tests for type
e622d7f add more container data in etcd
61f7980 add more output when pull image
0238cf4 add more stats report
d7a1256 add namespace for image
f7eaf39 add network tests
f1fc94f add node availability
cf3dd12 add node info
6a68d22 add nodeIP to env
b2deaf0 add nodename as container env
c359410 add option
97c1791 add option for submobule update when building
836c776 add ports
a99d831 add realloc cpu tests
ffaf8a5 add realloc mem tests
029657b add realloc unit test
1477059 add remove container tests
1ab4148 add replace container method
9678b49 add replace containers tests
489aaf7 add resource test
1ab67b1 add rpc method
952f28c add sequence no in env
88f39a5 add simple auth tests
b7cbbbd add some missing err log
678dd1f add some more debug info when downloading artifacts
439d6d1 add source code tests
95e97fd add test actions
d6b8be9 add test for MaxIdle selector
71a95d6 add test pkgs
5c50c26 add test script
e23a2d9 add tests
6873720 add tests
5748ae8 add tests for utils
d80ec0d add timeout
2f319ab add timeout to context of engine actions
72a2520 add ttl to deploy status
1d3cda8 add type tests
736e71b add types.Container tests
906e3e1 add unit tests
e21ef27 add unittest for unlimited scheduling and realloc
6620c76 add update container method
0e66c26 add updatev3 tool
5dd7047 add updatev5 for migrate container data to deploy path
719e86e add upgrade container
e15f48f add user without using adduser
5ddb711 add version
732d8ba add zone in rpc node
67edee5 alloc algorithm
8fffc52 allow cpu prior oversell
8b771a2 allow virt:// and virt-grpc:// prefix endpoint
1176685 api for stream deploy status
9e7bf92 api isolation.
e06259f async run and wait
de2f48e auto detect cpu num, set log to stdout
3b8a307 automatic get submodule
328e0d4 avoid attach container if stdin disabled
3ad1b0e backup file name
62ae115 backup return backupfile's path && fix
685cf68 batch get for etcd
76fc437 better Debugf
8df2474 better debug log
7eb95e2 better version control
04a5e07 bind status to container object
8724215 boost pull image
fddffa3 bug fix: specs turned into 0xffffffffffffffff and make eru-core crash
3174864 bugfix bind node engine when get node
fea9274 bugfix: remove node failed
a1a76af bugfix: rollback node resource on failure of creating container (#211)
ec49d62 build with auth configs
bb3e62b build with git dir for reasons
6f09ef2 bump 19.09.01
6f1fe56 bump 20.01.01, add more tests
78318ba bump 3rd version in Apr, minor modified status update
176b7cf bump version
ce416fd bump version
8ec5c84 bump version
8dbb8b1 bump version
074dd46 bump version
df7d89a bump version
b3b030e bump version
21958fc bump version
c289a75 bump version
8afbcce bump version 18.11.30
5133736 bump version 19.04.01
129cd7c bump version, fuck
0d2a714 cache engine with expiration
db4859c cache images when in cpu prior pod
449c633 can build image now...
4568519 can config grpc params
bb20b47 cannot use MaximumRetryCount with restart:always
cd85850 change core config file in /etc/eru
d4cd683 change readme
45b5df6 change syslog tag
b05db90 change timestamp format
d955f69 change volumes
86e0f66 check exec return code, because docker api will not response error when use attch
090e57b check image
2996e56 check pointer
0f9b3c0 check port
94cd855 check remote image digest before pull image
a911ca8 check stor availability
db000bc chore: refactor error types and add units
955b773 chore: refactor errors
194dca9 chown on /APPNAME inside container
b11ed09 chown on permdir within launcher
40c708a citadel knows nothing about core error
cb04c7d clean cached image after building
e73b89f clean container if it had no id
fddb2f6 clean failed container when creating
d429ebb clean upgrade container
67925b8 clean useless code
e4105bd clean useless code
4d29718 clean useless make container config
778476b clean useless params
4d605c7 clear const and var
e348f26 clear info.
60234ff clear log pattern
619abaf clear logs
a1a6359 cluster and store
f1a44ab common division accepts resource type
cdcf8ab compare and swap container meta
f74fff9 compatible with new docker api
c066cf8 complex build
68cb860 complex deploy in cpu period mode
91fb635 complex hook
5676a73 concurrently send files to containers and add tests for send api
fb404d9 config image cache count
2333262 config in engine, not in cluster
1db5728 config lock timeout in config file
a790f6c configurable appdir
b8aebfc conflicts with file /usr/bin
3020229 container info with labels, version and publish
f261784 copy data using io.Reader
b4d0a0f copy files to container after created before start
e8890b0 copyFrom for systemd engine
c507ac3 copyFromVirtualization return reader of text bytes
17c7ffa create container
6aac61f create container unit test && mock docker client
1c0d703 create virt client by $schema://$netloc$endpoint
a092b04 crypto/rand instead of math/rand
d093d28 custom add node
5621ae0 debugging build issue
58e961b default log level to INFO
48bca6c delete docker clients from _cache when deleteNode
8f82128 deploy core itself
74a1a3a deploy script bug
c309d76 deploy status etcd data structure
aea061b deprecate engine-api
00af33c disable lock on deploy status
f08e41e disable lock on watch status api
dcdb0d7 disable pull image automatically, add cache image api
7c05ddb disable scm type check, if user did not want build api
c1aa425 disable status nil
fde4abe disable swap
d4753ec disable unittest for deploy method first
fe8356e display core error message in citadel
be460dd dissociate container from eru
a908287 do not publish info if contianer not running
23e3e5c do not send any meminfo now
6bf4355 do not set healthcheck_code if code is 0
e47826c do not use none
9137c57 docker engine BuildFromExist (#207)
262c693 docker engine can update resource to unlimit
4151254 docker engine support unlimited resource opt
ce12034 docker engine: numa = "" when quota = 0
6f76de8 don't backup if no backup dir set
50a5fbd drift unlimit binding for realloc compatibility
6ebe7cd drop labels in syslog config
7989d67 dynamically update node info, sloooooow
48c9631 emit a final BuildImageMessage that indicates build success
d1774ae enable golangci-lint for code check
9a7a381 engine copy with raw io.reader
34ee9db english ver
2487e2a enhance metrics, add resource middleware (#194)
ac93370 ensure stream will close
e47a92c execuate command inside container with output
a919a27 execute with out inspect first
8d1dbae exitcode 提前
225aa0c expand resource calculation precision (#191)
6b17d95 explain for patch
af9c7d5 expose container deploy status and node cpu usage
1437524 expose remove pod API in grpc
1636536 fast fail when building failed
47e6b84 feat. dmi uuid parameterized
edec27a feat: adding/list of nodes with storage.
9f59e9d feat: bind vol
f0fb6c1 feat: bind volumes for virt.
066cbea feat: capture from exists container/vm (#206)
69f54df feat: munipulate meta labels
5e2333c feat: resize local disk.
064a016 feat: rm -f
0fab363 feat: storage alloc.
14b02a8 feat: storage from engine INFO.
a5adf2c feat: virt.
623779f fetch correct cpu number (#188)
5bee0b6 fill and average plan will failed if nodes less than nodeslimit
eb91918 filter node by labels when creating
ef78612 fix #175, wrong memory calculate
4195575 fix ...
c25f3b8 fix / in container name, Fxk docker
cd07b0c fix BuildRun
1095c82 fix README
84d9b68 fix a bug found in c2-docker-15
444a415 fix a bug in complex scheduler and add more unit test
878edf5 fix a bug: not use complex scheduler
4cf9978 fix all typos
c391748 fix alpine race ci failed
60aa0bc fix appdir bug
8aa83a4 fix bug
4b6e897 fix bug: 创建内存为0的容器的时候会崩溃
6252b73 fix bugs
b5f0af0 fix build content missing bug
f0ba661 fix build error
9c19b9f fix build error
7af8123 fix build timeout problem
e5344c3 fix calcium tests, add slash for container filter
da7411e fix clean image bug
2464ebb fix cpu realloc problems
1e7ad94 fix deploy script
24d7217 fix dir list error
8925bae fix empty raw args issue
b3187d2 fix error
5f8bfb7 fix etcd requirements bug
a020f7e fix gauge format bug
11a0c10 fix http client leak and add pprof
bb98211 fix invalid problem
aa1fc7a fix length
b6085c7 fix loop read
e061e0d fix makefile, show container meta if container not exists
a83c8bc fix mem realloc problem
2ad7149 fix memory leak
c1bb6e3 fix mock engine type for node testing
144cda0 fix network config when creating container
49fb04e fix networkConfig for container replace (#142)
ac3c4d0 fix networklist empty
bb3bf4f fix node down container labels
2405419 fix panic on step = 0 when remove image
351de58 fix podname problem
291aba6 fix raw user
6f19265 fix realloc bug
15cce95 fix realloc volumeChange calculation (#199)
a104696 fix replace all issue
dbd2c5e fix replace issue if inherit network is host mode
cf4801f fix replace issue if pull image failed
ed1b6b0 fix resource reset problem when pulling failed
e1a1d32 fix restart container issue
a6f3f0f fix rewrite deploy status problem
8aa31f0 fix run and wait block problem
288fe87 fix sandbox bug
a15ae3d fix scheduler
f6ac030 fix self-build spec error
0a504d4 fix simple test, refactor random nodes in build image
42616e1 fix stags
9ec1e94 fix stop container timeout
bb36863 fix storage metrics
a04f13e fix stream interceptor bug
923940a fix tests
4e0d1f5 fix tests
dc96431 fix tests
2eca42f fix tests
21e446f fix tests and lock log and scheduler
cbe1e57 fix the bug found yesterday
09256c3 fix timeout bug
bb779ef fix typo
a0f2ad7 fix unittest
1a48668 fix unlock funcs
4b5699a fix upgrader
fe84252 fix: 使用ARG替换的时候,RUN中的变量需要再用ENV替换;
c5f4780 fixup old go vet errors
9ff7589 fuck dante
419c809 fuck docker prefix
7701415 fuck docker stream
8ad868c get container key then api can put status
cc55ff3 get containers
f9698f8 github scm & unint test
f55518f github.com/codegangsta/cli-> github.com/urfave/cli (#129)
240afe1 global resource lock
fc62687 global schedule with resource type
dd264d6 grpc and doc
a134ecb grpc 升级了...
f478a8a handle txnResponse properly
7d90542 healthcheck and hook will be nil now
49f7eb5 hotfix #103 can not remove empty pod
e80715d hotfix #94
129d2f0 hotfix #95
3e86111 hotfix #98
02a48b5 hotfix deploy first container
9df19bf hotfix realloc, add realloc mem tests
99e67a3 hotfix trim prefix when making client
ef10455 hotfix, limit nodes if nodes more than limit
6950808 hotfix, reservation should more than 4MB
1a62c48 if containter was created and something wrong when starting, we have to keep resouce
fe070dc if quota/memory was not positive, return error
f8f14cd ignore after start once
fbd586e ignore containers if not in specify pod when replacing
2897f2f ignore run and wait output
74c84ff ignore same value when watching
e41d600 image build supports vm (#201)
300da63 implement graceful stop using GracefulStop
4f8ba70 improve UpdateNodeResource context (#209)
8890a31 improve deploy script
81816e9 improve deploy script
bcd3a90 in golang 1.11 os and user should use go implement by tags
e2e768f in hardlimit mode, softlimit memory/2
b3770f4 inherit volumes when replacing
cf38cdc init systemd engine
0790cd7 inplace file copy
ef26af2 inspect container beforce control it
9dee8cb inspect through systemd engine
68bc21b install libgit2
8fb3cb9 int64 -> int
f524dcb it's ok not to remove image while removing container
191bef9 keep cpu-binding mode during realloc
9d113db lambda with stdin
1425d9d less inspect if necessary
7fd3b5e less timeout
1212451 let cpumap has getnumanode func
15e43a6 let node api support numa
741c929 limit container storage quota
c3bb536 limit listcontainers API response
4dd2eda limit nodes in fill and each mode
ca17e32 limit resources precisely
625017e lock appname_entrypoint
9c6eaf4 lock node without podname
6d02467 log on division resource preference
629fc07 log remove etcd data error
ecc59cc make TimeoutAPI compatible with new Image methods
aa8068f make close ch will happen when finished
3ed5fea make python
de4edd9 make sure corebuild files will be removed, and not remove twice by http request
5fe9990 make sure processing ident will be removed
994cb02 make sure redundant leases when return
6495c94 make sure rm container will put resource back
ea6bab7 make sure status stream always return container obj if no errors occured
c8b02ab make tarball for copy api in rpc layer
ba85039 make test
5437126 map should lock when multiple goroutines write
be055d9 mark all remove_container error
cd79fad mark sure build will end
8abbd6f merge clean pod to remove images
d4f25d2 metrics: Init metrics send all exists node info. (#189)
cad066d metrics: Prometheus metrics names remain origin. (#196)
5bf5f0d minor
bf892f7 minor change etcd if else
798e082 minor change for cleanup
b12208b minor change to embeded storage
d7c33f9 minor changes, bump version to 19.04.14
ea3fe7f minor fix
40615e9 minor fix storage size issue if backend is docker
2ba5516 minor fix, make sure vm will be removed
4a57c0e minor fix: compose create container opts properly
9db7270 minor modification
1d24343 minor modification
c2faba5 minor refactor apis for ignore-hook and after-create process
c5c90cc minor refactor etcdv3
85269d2 minor refactor etcdv3 node tests
f32b42a minor refactor, bugfix virt prefix trim
a387d63 minor revise APIs
4b83950 minor revise create and clean useless docker const vars
aeac471 minor revise lambda interface
4c1a552 minor revise list ops, if there is no containers, do not show no txn ops
6aab509 minor revise on container filter
646f232 minor revised all errors due to golangci-lint
a471521 minor revised due to codacy advise
d200387 missing resource update
92c9dd1 missing softlimit, add output
01ee6d4 modify hostname format
49278e1 modify metric format
277aad0 modify rpc interface
0335322 modify share from int64 to int32
1931489 monopoly volume schedule (#164)
a0da712 more error log
0ce475f more settings for systemd engine: network, no cpu bind
3d25f28 more test and fuck mocking
9e28b69 move dummyLock to tests
03c6419 move mem scheduler to scheduler package
9a023c4 new api for agent publish container deploy status
f254071 new engine interface: ExecuteAttach (#138)
f974d07 new meta design
3186420 new rpc type for removeContainers
efd66b3 new_api
784d083 no home dir for a user in image
eee8f93 no more CPU or MEM favor, now all resource united!
222cf9b no more ttl when update container status
5246100 node with labels
feefa35 nodeInfo has volume rate and usage ratio
a7a22d2 non-interactive ExecuteContainer (#107)
9bbdb3a normalize build image process
3805d11 normalize network implement
5876569 not add 50G storage quota
57e4e74 not filter networks when driver is not set
ea96829 not html render!text with quote!
377ba39 not restore mem when container is cpu prior
fe74a90 not save etcd data in file, use temp file
2bea0f3 not use status meta in replace/control
bae6a51 one place to remove
fb1f695 one stream one world
358d863 only build for master, use sa-ricebook for custom builds
29b28ec oops
0070930 oops
ac45be0 oops one more dollar
dd050b5 option needs --
898ba33 output failed realloc message
40998aa output node memory info to client
7747613 pick server randomly
a5f66f3 prepare for cluster tests
c93657b preserve more CreateContainerMessage fields
0f27a31 pretty output deploy opts
59b1c7b privileged
79720ab profile setter
5e57120 publish CreateTarStream and GetIP for agent and cli use
73d7826 pull image before replace
915ca55 pull image for as long as you like
de633d7 pull with auth
6d6197f put error log inside functions, instead of printing outside
373567b race test
363eef8 randomized AllocContainerPla
96d8ad9 raw args for support something specify
0c12d20 readme
10d502d realloc container resource
d3b343b realloc cpu prior container
1b24384 realloc deems hard volume as delta (#198)
b2d51fd realloc from cpubinding + cpuquota to cpuquota=0
c6984ce realloc functional test
a52bad6 realloc(gen grpc): Send Error to watcher instead of boolean success.
c60b6b5 realloc.go support bindCpu/unbindCpu (#190)
ba6f8b1 realloc: Send Error to watcher instead of boolean success.
a9c305f realloc: Send success back when update resource finish. (#187)
9de65e9 realloc: Try to make error handling simple.
8faa1ae rebase useless clone test
d773e26 record node cpuusage
ff99055 record node resource change
272c992 record update time when update container status
6dfcaab redefine labels and meta
9b9814d refactor
8d27436 refactor
25e0cee refactor
f39d162 refactor
376c56e refactor
88202da refactor GetContainer by GetContainers
d43538f refactor all cluster APIs
636afe2 refactor alloc resource
67a8a2b refactor alloc resource in cluster
66fc6fc refactor and cleanup
27a1b62 refactor async lambda
58fce04 refactor backup
86dbdd5 refactor build
89f6ee2 refactor build processor
fd12a72 refactor build, hidde docker build now
0948212 refactor by batch ops
41f5c6e refactor cluster
2881845 refactor cluster interface with context
664e90e refactor cluster tests
bfecf89 refactor container life control
4bf0d53 refactor container status
1b26d64 refactor container status APIs
f975e41 refactor container with meta
71bfd82 refactor container with runtime meta
d02cbe2 refactor control container
94e2ca5 refactor control containers api
c0c8de7 refactor cpu selector, allow oversell in cpu mode
9d8c43c refactor create and start
3b9d287 refactor create process
a5061f9 refactor deploy status
7122dcc refactor embeded etcd cluster
de81703 refactor engine and add factory to make client
5d3cb54 refactor etcd lock
d33c278 refactor etcdv3 store
2ca8d1f refactor favor to scheduler
5e0b1f8 refactor get max idle node
06da695 refactor get/set/watch container status
5eefa29 refactor health check
a1459d9 refactor label filter
8a2e521 refactor lables
5c9b779 refactor lambda protocol
532c5b9 refactor lock and update container process
a5eacce refactor locks
53bfab4 refactor log driver
b9eb2c4 refactor logs
c1d601f refactor memory scheduler by sort
f94a569 refactor metrics, support prometheus
152a0fe refactor network binding
647ecb1 refactor node implement
7d8c9e4 refactor realloc containers
9949beb refactor realloc var names
f6eccd6 refactor realloc volume: extract function
533821c refactor scheduler
8cfb874 refactor set-node api
3022f13 refactor statsd
455e478 refactor storage interface with context
1c7fd80 refactor store methods
c05a198 refactor store tests
eb80b9d refactor tests
b92e7b6 refactor timeout
0d6b592 refactor unlock process
e70b365 refactor url parse when adding node to eru
7140d9f refactor: resource_test
bdaa194 refector cleanImageOnNode
bd8bacc refine lambda (#128)
ab0a4fd regenerate grpc interface
7ce89d6 release resource no matter what
e13050c remove agent macvlan support
90a8017 remove all mem_limit reference
5e9c8eb remove binds and permDir from specs, add $PERMDIR environment variable
9ab16bb remove bridge network anyway
2dea65f remove build commands check, refine deploy script BTW
3e551c3 remove container
141623e remove container from etcd only if container is successfully removed
6aaaa38 remove container should not block run and wait
13cc078 remove container, remove image, build image
009ffba remove deprecated image cache options for config
8c49c43 remove final return error msg
9c655b8 remove force delete pod
af8c8e4 remove get then put method
1abc3f9 remove hard code
57d16bf remove image after build
7ea5d6f remove image with context
5216e9a remove just remove, like docker did, not stop and running hook now
2ad78ed remove meanless tests
eaddfec remove mount_path from app specs
973bb13 remove multiple times will change resource incorrect
3aaf7a2 remove network pkgs, add replace opts for network inherit
790af99 remove node without podname
cbfd573 remove node, testing
43e12a7 remove old $APPNAME/permdir, and handles empty config.PermDir
b5a7e36 remove passwords & tokens
6baaa92 remove prefix
4710aef remove rawcontainer things
a805d92 remove source code if artifact download url is provided
323cdf4 remove the notion of permdir
6ecfe15 remove use complex hook
4f18f68 remove useless config params
d3beafa remove useless favor code
32b92f4 remove zone in core
4423fb8 remove的时候希望不要卡那么严格, 错误消息返回在message就行了
21fdd63 rename CpuMap to CPUMap
dda0695 rename main.go -> core.go
358dc20 replace container simultaneously
e9306c3 replace container support specify container ids
bae6850 replace lock with interface and add lock to cluster
03e6537 rescue tests again
9a1e6df rescue unit tests
c7b5c11 reset test init status
1039dc8 resolve NPE problem
e7ea7c0 resource check in engine layer
55e56cc restructure
e4de9a4 return back resource when alloc failed
fe20f98 return err when create container fails
2a140e0 return error to show dissociate issue
c051b19 return favor of pod when calling ListPods
17403cf return ip when publish is empty
186c2b2 revert databuffer
8153d74 review nodeinfo
3fd5bb6 revise SetContainersStatus API
f5789fe revise auto distributor
5316bce revise build image
938ff59 revise container status API
573dc1f revise container status stream API
03719eb revise errors in etcdv3
6abf083 revise etcdv3 storage interfaces
1f272d6 revise maxcpuidle to maxidle
44ec7ea revise metrics obj
0fe7f56 revise pod and node remove
6a8d110 revise status tests
fa2f33c revised networks config
f52f97a rewrite healthcheck
5f802e5 rewrite launcher using template
ed8e65d rewrite lock process
960b20c rsyslog was repeating tag, tag was alright
e0a8cf4 run and wait
ac489d7 runAndWait should use backgroud when create containers
25d1fd8 runAndWait use context from grpc
677104b schedule volume resource (#161)
9faf9ea scheduler orchestrate candidates using resource preference
1988f06 score sort servers
e649712 sed under osx
673b20b seek 0 everytime before send file
669aef8 send file
d714a07 send memcap to statsd
abcf58a separate docker engine with eru core, can support other executor now
4d3f822 set CertPath to global config
3f891d7 set container deploy status to empty when node unavailable
e85831c set container logconfig mode to non-blocking
9147adc set default cpu and memory when add node
8d11590 set node availability in client.py
00e175e set status with txn
85f46ec set user and remove labels
3d15227 setting node resource keeps status intact (#202)
35af316 short container id
5cacaf6 should be rw
aa6b701 should be string
8fbacdd show host ip if networkmode is host
76e3127 show more watch status details
2372b15 simple scheduler
be555ce skip IP SAN check
731b516 sleep 1s after stop
b6f84b2 sleep 下吧, gitlab 测试过不了
d5573b5 soft limit memory by options
377f444 sooth lint
bd905b7 sort out context issues (#205)
91683a2 spec log driver
a134082 specified IPs can be assign
a40dd0a specify node to deploy
9c0165d specify scheduler favor when adding pod
f9218f5 start cluster tests
a9efa94 start core will active agent for watching if they are running at the same node
8607785 storage follows volume sizes (#186)
842ea29 store deploy with container id after create
b135fee store more meta in data store
de1e1d6 store new container meta after realloc in memory prior
275e6f2 store node init resource
0aae8ef store node-containers relationship
0de55d8 stream list containers for huge containers
79252b1 stream output
c870281 string key if unmarshal failed
6700979 supoort raw build
23db44d support Healthy/Running/Pid in container add auto increasing itaration number to rpm/deb
49b8c3f support args/envs/labels for building
972102f support copy file from one container to another
67022da support etcd with tls and etcd auth
3759452 support etcdv3
c1471d7 support exec resize
47bc376 support fill deploy method
4e16be8 support force set containers status
c6b56e0 support get node resource
e6467bd support gitlab code clone
7e01bb9 support label filter at list containers methods
db92c91 support label filter at node list
1278f37 support log stream options
9dd2627 support mount_paths
16abeb5 support multi tags in build image
132231f support numa architecture
db43e00 support publish port under bridge mode
906b2d5 support raw res containers
76c781e support realloc raw resource container
9e1ab88 support registry authentication
e2ec551 support send files to containers
1d79272 support start/stop/restart container
1c2015e support stop signal when building image
3309beb support sysctls
27ae597 support unix sock when add node
2ff7873 support working dir
f53446e switch coday to latest one
b0794ba switch to etcdv3
5d3058e switch to go module, upgrade go to 1.12.1
642f23f sysctl should bind to entrypoint
2e3015a systemd TimeoutSec should match run and wait API timeout
92688f2 systemd engine can create virtualization
a6d8469 systemd engine can makeclient and info
3961cb6 systemd engine can remove
f78ba77 systemd engine start and stop
4634751 systemd engine support unlimited resource opt
d6a18e3 tag was unnecessary
285bec3 test engine cache expire
ecad8ad tests
fb5c4e1 timeout in runAndWait buildImage and RemoveContainer
b163f6f to remove a redundant field.
f598155 trace deploying process [ci skip]
26b0fa2 trying out CreateContainerMessage
ff39543 typo
00078d0 uninstall old eru-core first
f180a75 unit test for GetContainers via BatchGet
3b4be32 unite node info, add tools for update
0f43c4b unlimited memory on systemd engine
453ee36 unlimited memory with limited binding cpu
a890a8e unlimited resource scheduler
abb021d update
6f8ab67 update
7e1d221 update README.md
13b1896 update VERSION
831f038 update base image
14c063e update basic image
10eff7e update deploy script
4f80e8a update docs
576ca3c update etcd data with else checker
3e093aa update image with libgit 0.26
09dc4f1 update interface
64329db update libyavirt
82c954f update libyavirt dep
273a3f5 update readme
e147ce0 update readme
a46d1f7 update readme
fc5f16d update readme
eaa6c95 update readme, use latest cli
71fc0e0 update requirements
1aec470 update requirements
0bfe7db update to golang 1.10.3 at alpine 3.8
9a7eb04 update to libgit2 1.0.1
e55d561 update version
417d858 update version
5a4291a update version
96023e2 update: add statsd
af2fa60 update: new CreateContainer
d55f38b upgrade deps
65bd40e upgrade grpc & protobuf
f106a44 upgrade libyavirt
2134395 upgrade to git2go v30
ea54ec5 upgrade to golang 1.13 and libgit 0.28, use corba replace cli
acd67c6 use %v
276729c use SetNode API to replace SetNodeAvailable API
f61ff44 use checkout replace reset to commit
bfa656f use cli and configor
51901f8 use common define when lock contianer info
8a1a13d use container start
3ebb4b7 use context not docker timeout
fa2c0dc use cpu quota and period replace cpu share
d6a8831 use debian sid slim replace alpine
0e5ae28 use different key to store containers status
4b18628 use engine to make mount path
99dcc44 use etcd origin v3 mutex
c196767 use file cache
b9ee6a8 use github workflow
c664978 use glide
2f9fc61 use golang 1.8
e16d665 use goreleaser to release linux binary
6947791 use label filter containers
72d3d19 use latest feature, start core without local config
668da42 use libgit2 0.25.1
2634f1c use new base image for test and build
44ec673 use new build image
48ccafa use new data struct in etcd, use tools/updatev2.go for updating
9277759 use new footstone to make release
9836659 use new image
13dab6c use proto3
2626f9b use pwd
1dec666 use scanner to avoid static size buffer (#132)
ebfc660 use server context instead of timeout context
b9a3047 use sort.Slice refactor
9c2a034 use stdcopy
4c0e767 use syslog as log driver for debug mode
613f1a6 use time.Duration in lock timeout
73589ec validate resource usage by engine
1921939 vendor directory causes problem
0243214 version bump
f0a4cbc version bump
0affb88 version is label, however image is not
bc02eef when upgrading, should only connect to user defined networks
351833b wrapper rpc dump files
403c932 下次还是要先编译下...
687c383 为了防止channel block死, 加个goroutine去清空channel吧 不要问我为什么不传个stop channel进去...那样清理起来好麻烦的
38537c3 你们的幺蛾子啊害我要改这个
3d511c8 傻逼 docker, swap == memory 的时候, 相当于不限制, 太特么傻了
aaed55e 傻逼 grpc, 又修改包名
6bc3c71 先去掉这个Info吧
f6814b0 加上了govet检查,还有些别的错误暂时不敢乱修
39ec890 加个只列出name的方法
d00c14f 加俩timeout
456744d 加全局counter, 任务完成才给stop
6619704 去掉等待, 给hook自己做去
efabe23 又是这种 map 没有初始化的错
190e203 只要声明ports,就免费赠送tcp健康检查,如需http健康检查,需自定义url以及expected_codes,相应地agent也需要修改
ed647ce 哦这个版本可以编译跑了
b96c738 在发现跨区域没办法pull之后只好在第一次部署的时候来cache了
6eeaad6 基本法
e1ce564 增加 libgit2 相关的安装方法
3d2c515 增加内存限制
9c843c5 处理了一下添加失败的清理过程, 以及用Create替代Set
51c9f26 如果妹有artifacts那么就继续
56cbcc5 如果是host就不给了
f759d99 如果没有就不要继续了...
6665bed 应用不会用到宿主机的路径
86d2af0 必须同步删除容器
b735204 把zone给加入到label和env里去
66a16dd 控制并发puller
715db70 日志太多了, 隐藏一些非stream的吧
e7929fc 更新构建镜像版本
ea3c641 最后还是用了tricky的方法
a49e272 有时候并不想要tls...
917b809 添加了更多debug log; 去掉分配算法随机化部分
b1f64bd 真是受够了这个 libgit2 的问题
5260b74 给 run_and_wait 加上超时
d6ff185 自己清理镜像, 自己cache镜像
0e4d2d6 被大王鄙视了, typo
95961a1 要哭了,真的好难写
de7d4de 让这个选项可配置吧, 也好调整systemctl的超时
6d81c88 误以为是cli了
a9580c6 需要回复一下打好的镜像名字是什么
bb07a96 默认就 rw 吧, permdir 就是给应用瞎搞的