19. geard
• http://openshift.github.io/geard/
• 次期OpenShiftと目される実行基盤
• geardのページにはこんなことが書かれている
!
!
!
!
• 実装はGolang
https://github.com/openshift/geard
geard is a command-line client and agent for integrating and linking
Docker containers into systemd across multiple hosts. It is the core of
the next generation of OpenShift Origin and helps administrators install
and manage the components of their developers' applications. geard is
currently under active development in the upstream community - get
involved today!
20. geardのコンセプト
• Linking - use iptable rules and environment variables to simplify
container interconnect
• SSH - generate authorized_keys for a user on demand
• Isolated container - start an arbitrary image and force it to run as a
given user on the host by chown the image prior to execution
• Idling - use iptable rules to wake containers on SYN packets
• Git - host Git repositories inside a running Docker container
• Logs - stream journald log entries to clients
• Builds - use transient systemd units to execute a build inside a container
• Jobs - run one-off jobs as systemd transient units and extract their logs
and output after completion
https://github.com/openshift/geard
21. geardでまだ出来ないこと
• Integrated health check - mark containers as available once a pluggable/
configurable health check passes
• Joining - reconnect to an already running operation
• Direct server to server image pulls - allow hosts to act as a distributed registry
• Job callbacks - invoke a remote endpoint after an operation completes
• Local routing - automatically distribute config for inbound and outbound
proxying via HAProxy
• Repair - cleanup and perform consistency checks on stored data (most
operations assume some cleanup)
• Capacity reporting - report capacity via API calls, allow precondition PUTs
based on remaining capacity ("If-Match: capacity>=5"), allow capacity to be
defined via config
https://github.com/openshift/geard