multicloud-operators-subscription
multicloud-operators-subscription copied to clipboard
How to debug(maybe worthy a trouble shooting doc) on Application lifecycle management
Follow https://open-cluster-management.io/getting-started/integration/app-lifecycle/
and now at last step
kubectl get subscriptions.apps --context ${CTX_MANAGED_CLUSTER}
but nothing show out
# kubectl get subscriptions.apps --context kind-cluster1
No resources found in default namespace.
checked the pod status seems fine, logs show some suspect issue but not sure it's root cause..
# kubectl get pods -A --context kind-hub
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-74ff55c5b-85lp5 1/1 Running 0 29m
kube-system coredns-74ff55c5b-wtzc4 1/1 Running 0 29m
kube-system etcd-hub-control-plane 1/1 Running 0 29m
kube-system kindnet-lj9tm 1/1 Running 0 29m
kube-system kube-apiserver-hub-control-plane 1/1 Running 0 29m
kube-system kube-controller-manager-hub-control-plane 1/1 Running 0 29m
kube-system kube-proxy-7c2xx 1/1 Running 0 29m
kube-system kube-scheduler-hub-control-plane 1/1 Running 0 29m
local-path-storage local-path-provisioner-78776bfc44-qx7d8 1/1 Running 0 29m
open-cluster-management-hub cluster-manager-placement-controller-c4bc6cbd8-dh7md 1/1 Running 2 28m
open-cluster-management-hub cluster-manager-registration-controller-76c4ffd996-fmj5c 1/1 Running 0 28m
open-cluster-management-hub cluster-manager-registration-webhook-dcc694f68-tx2fb 1/1 Running 0 28m
open-cluster-management-hub cluster-manager-work-webhook-65f7565896-gt6kl 1/1 Running 0 28m
open-cluster-management cluster-manager-5d85887bb5-g9h4x 1/1 Running 0 28m
open-cluster-management multicluster-operators-appsub-summary-7589c9f5b4-gtvtx 1/1 Running 0 19m
open-cluster-management multicluster-operators-channel-89ddbdbdf-z29gg 1/1 Running 0 19m
open-cluster-management multicluster-operators-placementrule-7d4f6ddfcb-ss988 1/1 Running 0 19m
open-cluster-management multicluster-operators-subscription-87f4fc96b-8ftlk 1/1 Running 1 17m
# kubectl logs multicluster-operators-channel-89ddbdbdf-z29gg -n open-cluster-management --context kind-hub
{"level":"info","ts":"2022-03-21T09:13:21.086Z","logger":"controllers.channel","caller":"channel/channel_controller.go:188","msg":"Starting channel reconcile loop for dev/dev-helmrepo","channel-reconcile":"dev/dev-helmrepo"}
{"level":"info","ts":"2022-03-21T09:13:21.088Z","logger":"controllers.channel","caller":"channel/channel_controller.go:563","msg":"No MultiClusterHub Resource found","channel-reconcile":"dev/dev-helmrepo"}
{"level":"info","ts":"2022-03-21T09:13:21.297Z","logger":"controllers.channel","caller":"channel/channel_controller.go:527","msg":"The channel dev/dev-helmrepo is not in the ACM Namespace , skipping...","channel-reconcile":"dev/dev-helmrepo"}
{"level":"info","ts":"2022-03-21T09:13:21.297Z","logger":"controllers.channel","caller":"channel/channel_controller.go:244","msg":"Finish channel reconcile loop for dev/dev-helmrepo","channel-reconcile":"dev/dev-helmrepo"}