openyurtio / yurt-app-manager

The workload controller manager from NodePool level in OpenYurt cluster
Apache License 2.0
6 stars 1 forks source link

[Question] yurt-app-manager-admission-patch yurt-app-manager-admission-create yurt-app-manager are not created on the same node #112

Closed Windrow14 closed 2 years ago

Windrow14 commented 2 years ago
windrow@k8s-node:~/code/yurt-app-manager/config/setup$ kubectl apply -f all_in_one.yaml
windrow@k8s-node:~/code/yurt-app-manager/config/setup$ kubectl get pods -A -o wide
NAMESPACE     NAME                                               READY   STATUS              RESTARTS   AGE     IP              NODE                        NOMINATED NODE   READINESS GATES
default       yurt-app-manager-846cd4d98b-pkslh                  0/1     ContainerCreating   0          23s     <none>          pc-k8s-sp-192-168-0-157     <none>           <none>
default       yurt-app-manager-admission-create-nwftd            0/1     ContainerCreating   0          22s     <none>          pc-k8s-sp-192-168-0-157     <none>           <none>
default       yurt-app-manager-admission-patch-cmnpq             0/1     ContainerCreating   0          22s     <none>          rasp-ubuntu-192-168-0-163   <none>           <none>
...

These pods are not assigned to the same node, is it expected? Should there be any annotations or labels and selectors to make them on the same pod?

/kind question

Windrow14 commented 2 years ago

nvm