The agent component of Hub-of-Hubs.
Go to the Contributing guide to learn how to get involved.
- Hub of hubs on the ACM 2.5 environment
- Leaf hub to running the agent
oc scale deploy hub-of-hubs-addon-controller -n open-cluster-management --replicas=0
oc delete manifestwork ${LEAF_HUB_NAME}-hoh-agent -n ${LEAF_HUB_NAME}
The following environment variables are required for the most tasks below:
REGISTRY
, for examplequay.io/open-cluster-management-hub-of-hubs
.IMAGE_TAG
, for examplelatest
orv0.1.0
.LEAF_HUB_NAME
, the leaf hub nameKAFKA_BOOTSTRAP_SERVER
, the bootstrap server of kafkaKAFKA_SSL_CA
, the authentication to connect to the kafka.
- Build Image
make build-images
docker push ${REGISTRY}/hub-of-hubs-agent:${IMAGE_TAG}
- Run
oc apply -n open-cluster-management -f ./deploy/hub-of-hubs-rbac.yaml
envsub < ./deploy/hub-of-hubs-agent.yaml | oc apply -n open-cluster-management -f -
./bin/hub-of-hubs-agent --kubeconfig=$LEAF_HUB_CONFIG --leaf-hub-name=${LEAF_HUB_NAME} --kafka-bootstrap-server=${KAFKA_BOOTSTRAP_SERVER} --kafka-ssl-ca=${KAFKA_SSL_CA}