The manifests of add-ons or components deployed on k8s platform like AKS etc.
The MCE operator is required to be installed on the Hub cluster.
Here is the MCE CR sample.
- Set the hub api server to the
spec.hubKubeAPIServerURL
in theglobal
klusterletConfig
, and then apply it.
kubectl apply -f ./configuration/klusterletconfig.yaml
- Apply a
AddOnDeploymentConfig
for add-ons working in hosted mode.
kubectl apply -f ./configuration/addonhostedconfig.yaml
- Patch work-manager add-on to support hosted mode.
kubectl patch clustermanagementaddon work-manager --type merge -p '{"spec":{"supportedConfigs":[{"defaultConfig":{"name":"addon-hosted-config","namespace":"multicluster-engine"},"group":"addon.open-cluster-management.io","resource":"addondeploymentconfigs"}]}}'
or
kubectl apply -f ./configuration/workmanagercma.yaml
helm install policy ./policy
kubectl apply -f ./configuration/klusterletaddonconfig.yaml