emberstack/kubernetes-reflector

reflector container creation failed

saharmansour opened this issue · 1 comments

the reflector is failing on creating the container, when reading the logs of the pod I get
Error from server (BadRequest): container "reflector" in pod "reflector-77f45cb9c8-kjsp9" is waiting to start: ContainerCreating
when looking at the events I see
Warning FailedMount 2 minutes ago kubelet Unable to attach or mount volumes: unmounted volumes=[kube-api-access-wjmm6], unattached volumes=[], failed to process volumes=[]: timed out waiting for the condition
Warning FailedMount 8 minutes ago kubelet (combined from similar events): MountVolume.SetUp failed for volume "kube-api-access-wjmm6" : chown c:\var\lib\kubelet\pods\7a78326d-4fe8-4e32-bd29-c964ec813847\volumes\kubernetes.io~projected\kube-api-access-wjmm6..2023_07_16_14_23_19.3406803020\token: not supported by windows

is there restriction on Kubernetes versions or the nodes?

Kubernetes 1.27
the node it ran at is indeed windows with those settings:
Kubelet version v1.27.1-eks-2f008fe
windows (amd64)
os image - Windows Server 2019 Datacenter

@saharmansour Reflector does not support windows nodes right now (see the supported platforms in the Readme). It will be added in the future but there's no support for it now.