diff --git a/rules/config b/rules/config index 4507667d4ade..d2cc395f16d4 100644 --- a/rules/config +++ b/rules/config @@ -178,7 +178,7 @@ INCLUDE_ROUTER_ADVERTISER ?= y # INCLUDE_KUBERNETES - if set to y kubernetes packages are installed to be able to # run as worker node in kubernetes cluster. -INCLUDE_KUBERNETES ?= n +INCLUDE_KUBERNETES ?= y KUBE_DOCKER_PROXY = http://172.16.1.1:3128/ diff --git a/src/sonic-ctrmgrd/ctrmgr/ctrmgrd.py b/src/sonic-ctrmgrd/ctrmgr/ctrmgrd.py index 7e45f44c6471..1dd329005948 100755 --- a/src/sonic-ctrmgrd/ctrmgr/ctrmgrd.py +++ b/src/sonic-ctrmgrd/ctrmgr/ctrmgrd.py @@ -111,7 +111,7 @@ USE_K8S_PROXY: "" } -DISABLED_FEATURE_SET = {"database"} +ENABLED_FEATURE_SET = {"telemetry", "snmp"} def log_debug(m): msg = "{}: {}".format(inspect.stack()[1][3], m) @@ -271,7 +271,7 @@ def run(self): key, op, fvs = subscriber.pop() if not key: continue - if subscriber.getTableName() == FEATURE_TABLE and key in DISABLED_FEATURE_SET: + if subscriber.getTableName() == FEATURE_TABLE and key not in ENABLED_FEATURE_SET: continue log_debug("Received message : '%s'" % str((key, op, fvs))) for callback in (self.callbacks