The SiteWhere Kubernetes resource model contains Java entities which correspond to k8s custom resource definitions. The following resources are included in the SiteWhere Kubernetes resource model. Resources are scoped at either the global instance level or at the tenant level.
Delares a SiteWhere instance which creates name and namespace for other
resources to be attached to. This resource contains the global instance
configuration which is bootstrapped using a reference to an
InstanceConfigurationTemplate
.
Specifies global configuration options which may be used when creating
a new instance. A SiteWhereInstance
references a instance configuration
template by name in order to bootstrap the configuration.
Specifies a set of scripts which are executed to populate instance data such as an intial list of tenants and users.
Configures a microservice which is associated with a SiteWhereInstance
.
Creates a tenant associated with a SiteWhereInstance
. Each tenant has tenant
engines which run within a SiteWhereMicroservice
.
Specifies the configuration and other details for a single tenant engine
(microservice + tenant combination). When a new tenant is initially added, the
tenant engine configuration is copied based on the TenantEngineConfigurationTemplate
associated with the tenant.
Gathers a list of TenantEngineConfigurationTemplate
that will be used for a given
tenant configuration.
Specifies a tenant-level configuration options which are used to set the initial configuration for the tenant engines running within the microservices.
Specifies a set of scripts which are used to populate initial data an individual microservice. For instance, tenant dataset templates may be used to create device types, devices, customers, areas, etc in order to pre-populate tenants with data.