2020-04-28 17:57:13 -05:00
|
|
|
# docker image for sonic config engine
|
|
|
|
|
|
|
|
DOCKER_CONFIG_ENGINE_BUSTER = docker-config-engine-buster.gz
|
|
|
|
$(DOCKER_CONFIG_ENGINE_BUSTER)_PATH = $(DOCKERS_PATH)/docker-config-engine-buster
|
|
|
|
|
2021-06-10 14:03:33 -05:00
|
|
|
$(DOCKER_CONFIG_ENGINE_BUSTER)_DEPENDS += $(LIBSWSSCOMMON) \
|
|
|
|
$(LIBYANG) \
|
|
|
|
$(LIBYANG_CPP) \
|
|
|
|
$(LIBYANG_PY3) \
|
|
|
|
$(PYTHON3_SWSSCOMMON)
|
2020-10-26 15:48:50 -05:00
|
|
|
$(DOCKER_CONFIG_ENGINE_BUSTER)_PYTHON_WHEELS += $(SWSSSDK_PY3)
|
2021-06-10 14:03:33 -05:00
|
|
|
$(DOCKER_CONFIG_ENGINE_BUSTER)_PYTHON_WHEELS += $(SONIC_PY_COMMON_PY3) \
|
|
|
|
$(SONIC_YANG_MGMT_PY3) \
|
|
|
|
$(SONIC_YANG_MODELS_PY3)
|
2020-10-26 15:48:50 -05:00
|
|
|
$(DOCKER_CONFIG_ENGINE_BUSTER)_PYTHON_WHEELS += $(SONIC_CONFIG_ENGINE_PY3)
|
2020-04-28 17:57:13 -05:00
|
|
|
$(DOCKER_CONFIG_ENGINE_BUSTER)_LOAD_DOCKERS += $(DOCKER_BASE_BUSTER)
|
2020-10-23 15:08:35 -05:00
|
|
|
$(DOCKER_CONFIG_ENGINE_BUSTER)_FILES += $(SWSS_VARS_TEMPLATE)
|
First cut image update for kubernetes support. (#5421)
* First cut image update for kubernetes support.
With this,
1) dockers dhcp_relay, lldp, pmon, radv, snmp, telemetry are enabled
for kube management
init_cfg.json configure set_owner as kube for these
2) Each docker's start.sh updated to call container_startup.py to register going up
As part of this call, it registers the current owner as local/kube and its version
The images are built with its version ingrained into image during build
3) Update all docker's bash script to call 'container start/stop/wait' instead of 'docker start/stop/wait'.
For all locally managed containers, it calls docker commands, hence no change for locally managed.
4) Introduced a new ctrmgrd service, that helps with transition between owners as kube & local and carry over any labels update from STATE-DB to API server
5) hostcfgd updated to handle owner change
6) Reboot scripts are updatd to tag kube running images as local, so upon reboot they run the same image.
7) Added kube_commands.py to handle all updates with Kubernetes API serrver -- dedicated for k8s interaction only.
2020-12-22 10:01:33 -06:00
|
|
|
$(DOCKER_CONFIG_ENGINE_BUSTER)_FILES += $($(SONIC_CTRMGRD)_CONTAINER_SCRIPT)
|
2020-04-28 17:57:13 -05:00
|
|
|
|
2021-05-28 12:16:02 -05:00
|
|
|
$(DOCKER_CONFIG_ENGINE_BUSTER)_DBG_DEPENDS = $($(DOCKER_BASE_BUSTER)_DBG_DEPENDS) \
|
|
|
|
$(LIBSWSSCOMMON_DBG) \
|
|
|
|
$(LIBHIREDIS_DBG)
|
2020-04-28 17:57:13 -05:00
|
|
|
$(DOCKER_CONFIG_ENGINE_BUSTER)_DBG_IMAGE_PACKAGES = $($(DOCKER_BASE_BUSTER)_DBG_IMAGE_PACKAGES)
|
|
|
|
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_CONFIG_ENGINE_BUSTER)
|
2021-06-30 14:45:40 -05:00
|
|
|
SONIC_BUSTER_DOCKERS += $(DOCKER_CONFIG_ENGINE_BUSTER)
|