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

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

book

Article ID: 291293

calendar_today

Updated On:

Products

Carbon Black Cloud Container

Issue/Introduction

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

Environment

  • VMware Carbon Black Container: All Supported Versions

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 Information

Adding nodeAffinity by default is being looked into