PouchContainer 1.0.1
Welcome to the 1.0.1 version of PouchContainer.
The patch release for PouchContainer 1.0.1 includes several runtime, container IO and image improvements.
And PouchContainer is build by go1.10.4.
Runtime:
- bugfix: fix incorrect mountpoint size if running container with tmpfs volume #2477 (mathspanda)
- fix: make cpuquota, MemorySwappiness validation compatible with docker #2474 (zhuangqh)
- refactor: use raw system call instead of clone-and-read-from-stdout to boost GetKernelVersion. #2463 (SimonCqk)
- feature: change the function name about prometheus registry #2436 (fengzixu)
- feature: set debug trace back all #2435 (zhuangqh)
- feature: optimise the logic of using prometheus #2429 (fengzixu)
- feature: use ringBuffer to make log not blocking and make it configurable #2428 (Starnop)
- feature: enable ipv6 networking #2417 (houstar)
- feature: support api plugin #2413 (zhuangqh)
- feature: support get security options in daemon #2408 (Ace-Tang)
- feature: add rules for type validation #2394 (zhuangqh)
- feature: add Close function for boltdb backend #2392 (HusterWan)
- refactor: combine functions into one file #2390 (Ace-Tang)
- bugfix: fix pouch inspect does not return Ports in NetworkSettings #2387 (xiaoxubeii)
- refector: refect the pouch's volume module #2379 (rudyfly)
- [RFC] refactor: redesign container io in pouch #2375 (fuweid)
- refactor: use return fast to make code readable #2373 (allencloud)
- bugfix: get ip address by
hostname -i
#2367 (zhuangqh) - bugfix: judge enablement of libnetwork resolver by network mode #2364 (mathspanda)
- refactor: refact the pouch hook plugin #2360 (rudyfly)
- bugfix: distinct init process exit and exec process exit #2347 (HusterWan)
- refactor: refact daemon log #2324 (rudyfly)
- refactor: several change #2320 (zhuangqh)
- enhance: add retry helper method for Trylock #2319 (fuweid)
- enhance: split the containerd daamon control from ctrd #2318 (fuweid)
- feature: add volume plugin #2317 (zhuangqh)
- refactor: modify the definition of ContainerPlugin interface #2316 (zhuangqh)
- bugfix: remove set quota for container meta directory #2310 (zhuangqh)
- bugfix: add check for json-file log opt #2306 (ZYecho)
- feature: add pouch metrics #2303 (zhuangqh)
- fix: remove fifo path if stdio is not initail #2302 (zhuangqh)
- bugfix: jsonfile log should be compatible with moby #2297 (fuweid)
- fix: keep meta data complete #2292 (Ace-Tang)
- feature: add LogPath in Inspect Response #2286 (allencloud)
- refactor: remove redundant code #2285 (SimonCqk)
- bugfix: pouch exec with envs will not replace old envs #2275 (knightXun)
- bugfix: event api connection may be recycled if keeps idle too long #2274 (HusterWan)
- refactor: refactor security spec #2271 (Ace-Tang)
- bugfix: return pid with 0 rather than -1 #2269 (Starnop)
- bugfix: use same memory in ringbuffer #2268 (fuweid)
- bugfix: fix check annotation format #2267 (Ace-Tang)
- fix: make container state in inpsect API correct #2256 (allencloud)
- bugfix: fix lock competition between Stats and Start interface #2238 (HusterWan)
- bugfix: check int type is empty #2235 (rudyfly)
- bugfix: container inspect/list should return image field right #2234 (fuweid)
- feature: support create a container with a given id #2231 (wangforthinker)
- bugfix: fix start container twice error #2229 (HusterWan)
- bugfix: fix error api json #2225 (rudyfly)
- bugfix: fix can't set macaddress for endpoint #2222 (rudyfly)
- refactor: re-design upgrade feature #2211 (HusterWan)
- fix: simplify logic of update env file, and fix bug #2205 (Ace-Tang)
- bugfix: umount rootfs when delete a container #2196 (HusterWan)
- bugfix: set pid of stopped container to 0 #2193 (HusterWan)
Image:
- feature: support images filter flag #2410 (ZYecho)
- enhance: cache image size and oci image spec in pouchd #2301 (fuweid)
CRI:
- bugfix: use netNSPath dynamically #2443 (Starnop)
- fix(kata): use
vm
other thanrunv
as annotations #2441 (flyer103) - fix: kata: workaround passthru net mode when get pod ip #2437 (zhuangqh)
- nvidia-gpu 2.0 make compatible for k8s #2434 (CodeJuan)
- bugfix: not remove the metadata when remove container failed #2348 (Starnop)
- bugfix: put sandbox into store after created to avoid uncontrolled sandbox container #2326 (Starnop)
- feature: add cri metrics #2304 (Starnop)
- upgrade: upgrade the vendor of cri-o/ocicni #2282 (Starnop)
- feature: support RunAsGroup of CRI Manager #2263 (Starnop)
- bugfix: make the time period of cri collecting stats from containerd configurable or just disable it #2278 (YaoZengzeng)
- bugfix: minor fix for error misuse #2277 (YaoZengzeng)
- bugfix: only list container stats which are created by cri #2273 (YaoZengzeng)
- refactor: handle the error in advance to avoid useless requests #2270 (Starnop)
- bugfix: complete json tag for StreamServerReusePort and add some useful log for stop & remove pod operation #2266 (YaoZengzeng)
- cri: add default annotation sandboxid #2254 (Ace-Tang)
- feature: complete the details of StartPodSandbox #2242 (Starnop)
- feature: add CRI interface of start podsandbox #2237 (Starnop)
- fix: fix cri exec hang #2224 (Ace-Tang)
- refactor: make CRI Stream Server share http server with pouchd #2214 (YaoZengzeng)
- feature: make lxcfs configurable supportd in CRI #2210 (Starnop)
- bugfix: add the missing
devices
field when creating cri container #2209 (YaoZengzeng) - bugfix: sort mounts according to the depth of destination path #2200 (YaoZengzeng)
- bugfix: remove useless noop cni manager and speak loudly if init cni manager failed #2194 (YaoZengzeng)
CLI:
- change flags from --ports to --publish #2478 (cpaasarch)
- feature: add volume ls quiet flag support #2464 (ZYecho)
- bugfix: fix some meaningless cli option type #2446 (mathspanda)
- feature: support dns related flags when creating container through pouch cli #2380 (mathspanda)
- feature: add no-trunc flag for pouch images #2374 (ZYecho)
- bugfix: can't allow run cmd attach ttyMode container from a non-tty c… #2353 (ZYecho)
- bugfix: can't allow exec attach ttyMode container from a non-tty client #2351 (ZYecho)
- bugfix: can't allow attach in non-tty client when container in ttyMode #2338 (ZYecho)
- feature: add logs cli details opt support and add more cli tests #2261 (ZYecho)
- bugfix: print error info twice when cmd unknown #2260 (Starnop)
- bugfix: exec stdin should support -i #2257 (fuweid)
- fixes: top options can't work #2252 (lifubang)
- feature: add envs for pouch exec #2250 (knightXun)
Testing:
- test: refactor api_pause_test use util func #2433 (ZYecho)
- test: refactor the test code use inspect func #2385 (ZYecho)
- test: refactor the cli stop test #2372 (ZYecho)
- test: make stopInWrong test complete #2370 (ZYecho)
- test: Add the unit-test called
APIContainerStopSuite.TestInvalidParam
#2366 (fengzixu) - test: fix some integration tests which haven't deleted containers created before #2354 (mathspanda)
- test: add testcase for cli exec -i opt #2352 (ZYecho)
- test: api_network_test: add new check points #2349 (chuanchang)
- test: mv the start cli test into own test file #2342 (ZYecho)
- test: api_devicemappings_and_mountpoint_test: add new checkpoints #2334 (chuanchang)
- test: api_ports_test: add new checkpoints #2332 (chuanchang)
- test: api_add_restart_policy_test: add new checkpoints #2331 (chuanchang)
- test: modify network test #2312 (zhuangqh)
- test: api_container_list_test: add filter test #2309 (zhuangqh)
- test.cli_run_memory_test: add container check #2295 (chuanchang)
- test: Add checkpoints for PouchRunBlkioSuite #2291 (chuanchang)
- test: replace k8s-sigs/cri-tools with alibaba/cri-tools #2226 (Starnop)
- test: add test case for privileged container #2223 (HusterWan)
- bugfix: use more accurate flag %T to print func #2206 (ZYecho)
- test: add node e2e test in CI #2198 (Starnop)
Tools:
- linter: add markdown-link-check to check links whether alive #2465 (allencloud)
- bugfix: use a fixed version of cni instead of the branch of master #2451 (Starnop)
- ci: add deadcode checking in gometalinter #2442 (allencloud)
- bugfix: fix deadcode reports by gometalinter #2426 (ZYecho)
- bugfix: add missing LICENSE in vendor #2418 (fuweid)
- vendor: update "github.com/contiv/executor" #2407 (rudyfly)
- feature: remove unused vendor packages #2404 (fengzixu)
- feature: replace downloading k8s components from googleapis in allinone with apt from aliyun mirrors #2402 (mathspanda)
- tools: remove package builder from pouch #2398 (fuweid)
- tools: add fixquota tool #2361 (rudyfly)
- fix dead code and clean code format #2355 (chuanchang)
- feature: upgrade go-swagger to 0.17.1 #2350 (zhuangqh)
- enhance: don't run travis-CI for only document change #2345 (fuweid)
- bugfix: update the branch of cri-tools has been updated #2340 (Starnop)
- ci: output log when install criu #2323 (Ace-Tang)
- Upgrade: Bump to Go 1.10.4 #2321 (fuweid)
- golint:normalize some codes #2308 (Tronegacy)
- feature: add ineffassign in gometalinter #2288 (allencloud)
- package: add bash completion file into rpm #2253 (Ace-Tang)
- add $GOPATH/bin to PATH environment variable for root user. #2246 (manlge)
- bash_completion: add events command #2244 (Ace-Tang)
- typo: fix typo on hack/install/install_ci_related.sh #2241 (houstar)
- minor fixes for shell variables and spelling #2220 (ofrzeta)
Documentation:
- docs: fix dead link in the doc about cri #2480 (Starnop)
- doc: update CONTRIBUTING.md #2479 (fuweid)
- docs: fix dead link in dragonfly #2468 (Ace-Tang)
- doc: update requirement about golang and linux kernel #2439 (fuweid)
- docs: pouch with gVisor #2438 (CodeJuan)
- docs: add UCloud as a production adopter #2422 (allencloud)
- docs: user general pouchlinter to linter pouch's code #2421 (allencloud)
- docs: remove pouchcontainer/swagger since we use official one #2420 (allencloud)
- docs: update golang version in Dockerfile to correct 1.10.4 #2419 (allencloud)
- docs: update
CriEnabled
field in the doc of deploy kubernetes with PouchContainer #2382 (hellolijj) - docs: Update issue templates #2376 (allencloud)
- doc: add document pouch_with_upgrade.md #2346 (HusterWan)
- docs: fix usage in
Run pouch command with non-root users
#2344 (flyer103) - docs: update the doc of deploy kubernetes with PouchContainer #2294 (Starnop)
- docs: add a document about CRI API #2247 (Starnop)
- docs: add doc about cri-annotation-support #2216 (Starnop)
- docs: fix some command which not have desc and example #2215 (ZYecho)
- docs: fix stop example #2207 (ZYecho)
- docs: add quick experience pouch with kubernetes by vagrant #2191 (manlge)
New Contributors
Here is the list of new contributors: