{"id":19632977,"url":"https://github.com/sitewhere/sitewhere-k8s-model","last_synced_at":"2026-04-28T14:34:32.094Z","repository":{"id":53989136,"uuid":"214818579","full_name":"sitewhere/sitewhere-k8s-model","owner":"sitewhere","description":"The SiteWhere Kubernetes resource model provides custom resource definitions for managing SiteWhere instances in Kubernetes.","archived":false,"fork":false,"pushed_at":"2021-05-06T15:12:29.000Z","size":338,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-03T08:08:24.850Z","etag":null,"topics":["kubernetes","sitewhere"],"latest_commit_sha":null,"homepage":"https://sitewhere.io","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sitewhere.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-13T12:46:00.000Z","updated_at":"2021-03-10T16:34:32.000Z","dependencies_parsed_at":"2022-08-13T05:50:21.600Z","dependency_job_id":null,"html_url":"https://github.com/sitewhere/sitewhere-k8s-model","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sitewhere/sitewhere-k8s-model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitewhere%2Fsitewhere-k8s-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitewhere%2Fsitewhere-k8s-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitewhere%2Fsitewhere-k8s-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitewhere%2Fsitewhere-k8s-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sitewhere","download_url":"https://codeload.github.com/sitewhere/sitewhere-k8s-model/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitewhere%2Fsitewhere-k8s-model/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32385212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kubernetes","sitewhere"],"created_at":"2024-11-11T12:15:54.061Z","updated_at":"2026-04-28T14:34:32.070Z","avatar_url":"https://github.com/sitewhere.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SiteWhere Kubernetes Model\n\nThe SiteWhere Kubernetes resource model contains Java entities which correspond\nto k8s [custom resource definitions](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/).\nThe following resources are included in the SiteWhere Kubernetes resource model. Resources are scoped at either the global\ninstance level or at the tenant level.\n\n## Instance Global Resources\n\n### `SiteWhereInstance`\nDelares a SiteWhere instance which creates name and namespace for other\nresources to be attached to. This resource contains the global instance\nconfiguration which is bootstrapped using a reference to an\n`InstanceConfigurationTemplate`.\n\n### `InstanceConfigurationTemplate`\nSpecifies global configuration options which may be used when creating \na new instance. A `SiteWhereInstance` references a instance configuration\ntemplate by name in order to bootstrap the configuration.\n\n### `InstanceDatasetTemplate`\nSpecifies a set of scripts which are executed to populate instance data\nsuch as an intial list of tenants and users.\n\n### `SiteWhereMicroservice`\nConfigures a microservice which is associated with a `SiteWhereInstance`.\n\n## Tenant Resources\n\n### `SiteWhereTenant`\nCreates a tenant associated with a `SiteWhereInstance`. Each tenant has tenant \nengines which run within a `SiteWhereMicroservice`.\n\n### `SiteWhereTenantEngine`\nSpecifies the configuration and other details for a single tenant engine \n(microservice + tenant combination). When a new tenant is initially added, the \ntenant engine configuration is copied based on the `TenantEngineConfigurationTemplate` \nassociated with the tenant.\n\n### `TenantConfigurationTemplate`\nGathers a list of `TenantEngineConfigurationTemplate` that will be used for a given\ntenant configuration.\n\n### `TenantEngineConfigurationTemplate`\nSpecifies a tenant-level configuration options which are used to set the\ninitial configuration for the tenant engines running within the microservices.\n\n### `TenantEngineDatasetTemplate`\nSpecifies a set of scripts which are used to populate initial data an individual\nmicroservice. For instance, tenant dataset templates may be used to create device\ntypes, devices, customers, areas, etc in order to pre-populate tenants with data.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitewhere%2Fsitewhere-k8s-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsitewhere%2Fsitewhere-k8s-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitewhere%2Fsitewhere-k8s-model/lists"}