IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Container: The CBContainers Images Fail to Deploy With Error "Not Supported By Windows"

Container: The CBContainers Images Fail to Deploy With Error "Not Supported By Windows"

Environment

  • VMware Carbon Black Container: All Supported Versions

Symptoms

Deploying the CBContainers components fails and the error can be seen "not supported by windows"

Cause

This happens because the cbcontainers components don't support Kubernetes Windows nodes and can't successfully deploy to them

Resolution

  • nodeAffinity can be setup on the components to avoid Windows nodes or only deploy to Linux nodes
  • To avoid Windows nodes 
    affinity:
      nodeAffinity:
        requiredDuringSchedulingIgnoredDuringExecution:
          nodeSelectorTerms:
          - matchExpressions:
            - key: kubernetes.io/os
              operator: NotIn
              values:
              - windows
  • To only deploy to Linux nodes
    affinity:
      nodeAffinity:
        requiredDuringSchedulingIgnoredDuringExecution:
          nodeSelectorTerms:
          - matchExpressions:
            - key: kubernetes.io/os
              operator: In
              values:
              - linux

Additional Notes

Adding nodeAffinity by default is being looked into

Related Content


Labels (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎06-15-2022
Views:
229
Contributors