Config
config
contains information about the applications and packages included in the kollection.
note
Before kupboard-0.9.3
, the configuration filename of kollection was mugset.yaml
. If you have a kollection that includes mugset.yaml
, simply renaming it to config.yaml
will work.
#
ApplicationApplications included in the kollection are often used when users want to deploy their applications to the service cluster. (For this reason, there are no applications in a default kollection of kupboard.) Include the source directory containing Dockerfile
in the kollection and define the build and deploy options in the config
. The kupboard builds the application based on the specifications defined in the config and deploys it to the service cluster.
name
application nameversion
application version (container tag)app_port
container port on kubernetesservice_port
service port on kubernetesexposed_port
service port(node port) on kubernetes.exposed_port
should set to expose a service using a port between 32000~32767.replica
pod replicaenvs
env variables
#
PackagesIf you have your own solution or open source package that you need for a service or operation, you can install it using kupboard. In addition you can define a variety of action
and parameter
to handle many situations. Each package must contain at least one Ansible playbook, and can excuted in a variety of ways using the action
defined in the config.
name
pakcage namevars
playbook variables (for package)actions
action listname
action namedefault
default or not. Ifaction
not given, the anction withdefault
true will be excuted.vars
playbook variable (for action)params
playbook parameter (used foransile-playbook
)