Open jichenjc opened 2 years ago
We have some doc here:
I suggest first checking the log of multicluster-operators-subscription-
pod on the hub side then check the application-manager
pod on the managed cluster side.
I will also try to reproduce this issue.
$ kubectl get appsub -o yaml
...
status:
lastUpdateTime: "2022-03-21T14:18:23Z"
phase: PropagationFailed
reason: no matches for kind "PlacementDecision" in version "cluster.open-cluster-management.io/v1beta1"
The PlacementDecision
API is provided by the clusteradm tool while installing the foundational components of OCM.
It seems like clusteradm hasn't been updated to install the new version of the API.
The workaround for now is:
kubectl apply -f hack/test/placementdecisions.crd.yaml
ok, it's very weird , I didn't do anything but the subscriptions.apps
is out
however, it's around 20 hours since I post the question but the age of the subscriptions.apps is 3h which is really weird ..
# kubectl get subscriptions.apps --context kind-cluster1
NAME STATUS AGE LOCAL PLACEMENT TIME WINDOW
nginx-sub Subscribed 3h10m true
updated:
the pod is also 3h+
# kubectl get pod --context kind-cluster1
NAME READY STATUS RESTARTS AGE
nginx-ingress-2e6e1-controller-7ff9cdcd47-c6znp 1/1 Running 0 3h33m
nginx-ingress-2e6e1-default-backend-6686b997db-4zr5r 1/1 Running 0 3h33m
I will try this again and see whether same pattern apply or not ..
Follow https://open-cluster-management.io/getting-started/integration/app-lifecycle/
and now at last step
but nothing show out
checked the pod status seems fine, logs show some suspect issue but not sure it's root cause..