It exposes a http probe, by invoking this probe to check a cluster is healthy. The probe handler checks ready nodes and ready non host networking pods.
This could be used with karmada, to make karmada checks member cluster's healthiness accurately.
# generate member rbac resources
helm template --namespace=kube-system member-cluster-rbac ./member-cluster-rbac | tee template.yaml
# same thing using powershell
helm template --namespace=kube-system member-cluster-rbac .\member-cluster-rbac | % ToString | Tee-Object template.yaml
# generate k8s resources for running the probe
# give it a name, to distinct from other member clusters
helm template --namespace=kube-system --set name=member-dev-healthz host-cluster-component ./host-cluster-component | tee host-template.yaml
# same thing using powershell
helm template --namespace=kube-system --set name=member-dev-healthz host-cluster-component .\host-cluster-component | % ToString | Tee-Object host-template.yaml
# annotate the cluser cr
apiVersion: cluster.karmada.io/v1alpha1
kind: Cluster
metadata:
annotations:
cluster.karmada.io/health-checker: '{"service":{"namespace":"kube-system","name":"member-dev-healthz","port":8443,"path":"/cluster-healthz"},"caBundle":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCVENDQWUyZ0F3SUJBZ0lRTjRFSGc1TU16YkFHdlJDbnRUMVpVekFOQmdrcWhraUc5dzBCQVFzRkFEQU4KTVFzd0NRWURWUVFERXdKallUQWVGdzB5TXpBMk1Ea3dNakkzTXpCYUZ3MHpNekEyTURZd01qSTNNekJhTUEweApDekFKQmdOVkJBTVRBbU5oTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUE0M1RtCmpHN1ZyNmVlWFlURnIrRlNQODZXSEtZQ0s4QnFLdkhHZjJXNERKODgwQW9TbEdTd3NsaktleW0ycmdseHVETysKODBUWEVpRmtrRHJOK093YnRBK0pqZWxoQ0Q2ME1YYS84Q3R4S3RBVE9XUFVZajkybTNhSnEyaXBBenJaY3plKwpVaDJnVGVJQzZvSkJhVjEzZ1BweW9XdmM2NmhIMXphYUZIOGNaVmxMRVJteC9XSEtvUEJBV3Fia3ZTUStCdFFQCmdsWGdLa1phMkJpVWM1Z3ZydGl0dU1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