Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

skeeey/clusternet-addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use this addon

  1. Deploy clusternet-hub on the OCM hub cluster

  2. Deploy the clusternet-addon hub controller on the OCM hub cluster

kubectl apply -k deploy/config/manifests
  1. Create a clusternet ManagedCluster in the OCM managed cluster namespace (e.g. cluster1) on the OCM hub cluster
cat << EOF | kubectl apply -f -
apiVersion: clusters.clusternet.io/v1beta1
kind: ManagedCluster
metadata:
  labels:
    clusters.clusternet.io/cluster-id: cluster1
  name: clusternet-cluster1
  namespace: cluster1
spec:
  clusterId: 00000000-0000-0000-0000-000000000000
  syncMode: Dual
EOF
  1. Use clusternet proxy visiting your managed clusters with RBAC, refer to Visit ManagedCluster With RBAC. Note: The direct proxy path is not supported.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published