Managing Capabilities
In KubeVela, developers can install more capabilities (i.e. new component types and traits) from any GitHub repo that contains OAM definition files. We call these GitHub repos as Capability Centers.
KubeVela is able to discover OAM definition files in this repo automatically and sync them to your own KubeVela platform.
#
Add a capability centerAdd and sync a capability center in KubeVela:
Now, this capability center my-center
is ready to use.
#
List capability centersYou are allowed to add more capability centers and list them.
#
[Optional] Remove a capability centerOr, remove one.
#
List all available capabilities in capability centerOr, list all available capabilities in certain center.
#
Install a capability from capability centerNow let's try to install the new component named clonesetservice
from my-center
to your own KubeVela platform.
You need to install OpenKruise first.
Install clonesetservice
component from my-center
.
#
Use the newly installed capabilityLet's check the clonesetservice
appears in your platform firstly:
Great! Now let's deploy an app via Appfile.
then you can Get a cloneset in your environment.
#
Uninstall a capabilityNOTE: make sure no apps are using the capability before uninstalling.