Apply or update system and cluster configuration.
This interface is modelled after kubernetes for its many advantages and for the familiarity.
This interface is NOT meant to interact with kubernetes or imply any kind of relationship between the two project.
kubectl apply, Replicante can only apply one object at a time and files must contain only one document in each YAML file.
$ replictl apply [OPTIONS] --file <FILE>
One of the foundational ideas is that generic tasks not tailored to a specific cluster
(such as performing some
should be transferable from one scope (namespace, cluster, node) to another.
To make this easier
replictl apply supports command line options to override parts of the scope:
--namespacecan be set to override or set the value of
--clustercan be set to override or set the value of
--nodecan be set to override or set the value of
Because of the extensible nature of this interface the objects you can apply and their specification are documented in the relevant features.
Regardless of the object you are looking to apply the following attributes are required:
apiVersionis a string in the format
<DOMAIN>/<VERSION>that determines the API group and version for the object you are applying.
kindis a string that identifies the class of object you are applying. Available options for this value are determined by the API group.
metadatais an object that includes information about the object you are applying. Usually the
metadataobject includes an identifier for the object as well as a scope.
specis determined by the
The details of the
metadata attributes as well as all
are documented along side the supported