kubernetescomcomobject

Is it possible to add a COM-Object to a Kubernetes container and if yes, how?


There is an old COM-Object that we need to use (no way around it) for an application that is planned to be in a Kubernetes container. Is there any way to achieve this and if yes how?

I tried to research this, but with no results as of now.


Solution

  • Yes, it is possible to add the COM-Object to the Kubernetes windows container only. COM is a technology that allows objects to interact across process and computer boundaries as easily as within a single process. COM enables this by specifying that the only way to manipulate the data associated with an object is through an interface on the object.

    Since COM Object Model is developed by Windows, You need to add the COM Object to the Windows container and add reference to the COM object using regsvr32. After creating a Dockerfile,

    Refer to the documentation for more information on COM-Objects.