An integration between acm and submariner
Below steps can be used to run this repo at a local environment
- Build the
acm-submariner
image on local bymake images
- Prepare clusters by
make clusters
, this will- Create three clusters:
cluster1
,clustr2
andcluster3
.cluster1
is the hub cluster, and the others are the managed clusters. - Load the local docker images to the kind cluster
cluster1
. - Deploy the
ClusterManager
on hub clustercluster1
to deploy hub cluster components. - Deploy the
Klusterlet
oncluster2
andcluster3
to deploy managed cluster agents. - Make the
cluster2
andcluster3
join to the hub clustercluster1
.
- Create three clusters:
- Run the demo by
make demo
, this will- Label the managed cluster with
cluster.open-cluster-management.io/submariner-agent
. - Label the managed cluster with
cluster.open-cluster-management.io/clusterset: clusterset1
. - Create a
ClusterSet
, and theacm-submariner
controller will deploy the submariner broker on the hub cluster and deploy the submariner agents on the managed clusters byManifestWorks
. - Create a service on managed cluster
cluster3
and export it. After the service is created, the submariner will import this service to the managed clusters. - Access the exported service on managed cluster
cluster2
.
- Label the managed cluster with