Skip to content

rohankanojia-forks/fabric8-open-cluster-management-extension-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fabric8 K8s Client Open Cluster Management Extension Demo

This repository gives a quick overview of Open Cluster Management extension.

It contains some basic samples regarding some Open Cluster Management resources like:

  • ManagedCluster
  • ManagedClusterSet
  • KlusterletAddonConfig
  • PlacementRuleCreate

There are some examples of OpenShift Hive(hive.openshift.io) resources as well since they're related to cluster management too

  • ClusterDeployment
  • MachinePool
  • InstallConfig (equivalent of oc create secret generic mycluster-install-config --from-file=install-config.yaml=./install-config.yaml )

Pre-requisite:

How to Build?

$ mvn clean install

How to Run?

Once you've setup your environment, you can run any sample using maven exec plugin. Here is an example:

$ mvn exec:java -Dexec.mainClass=io.fabric8.openshift.api.demo.InstallConfigSecretDemo

About

Fabric8 Kubernetes Client Open Cluster Management Extension Demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages