diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2019-08-13 07:55:58 +0000 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2019-12-09 12:57:10 +0000 |
| commit | 79851d7929027050d0d1e76aaa28e83c141dcc55 (patch) | |
| tree | 813e808a5d44aae76777dd4d2b262f9ebda1b524 /kolla/common | |
| parent | f1e236522525361b8db1c05bee2b53b1c2a4dc5e (diff) | |
| download | kolla-79851d7929027050d0d1e76aaa28e83c141dcc55.tar.gz kolla-79851d7929027050d0d1e76aaa28e83c141dcc55.zip | |
Build images with healthcheck scripts for core services
blueprint container-health-check
Now docker supports healthcheck directive[0] in Dockerfile,
which is helpful for checking container aliveness.
Base for this patch were healthcheck scripts from tripleo[1].
[0] https://docs.docker.com/engine/reference/builder/#healthcheck
[1] https://github.com/openstack/tripleo-common/tree/master/healthcheck
Change-Id: Ifc32713cd4d6b45c74855c0ebf5bb65784701d44
Diffstat (limited to 'kolla/common')
| -rwxr-xr-x | kolla/common/config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py index 689631010..6b5302f46 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -255,6 +255,8 @@ _CLI_OPTS = [ help='OpenStack release for building kolla-toolbox'), cfg.StrOpt('openstack-branch', default='master', help='Branch for source images'), + cfg.BoolOpt('docker-healthchecks', default=True, + help='Add Kolla docker healthcheck scripts in the image') ] _BASE_OPTS = [ |
