A demo repository built to test several areas when building pipelines and deploying to Kubernetes.
2.9K
This project is simple demo project intended for testing containers. It includes support for reading in a config file, an environment variable and also includes basic healthcheck functionality.
The project contains many tags that have been used to build containers with a range of tags (SemVer formatting) to allow testing of various release strategies. A corresponding Helm Chart is also available.
Versions available are:
0.0.1-alpha0.0.1-alpha+1230.0.1-alpha+4560.0.1-alpha+12340.0.10.0.1+1230.0.20.0.3-alpha0.0.30.1.0-alpha0.1.00.1.11.0.0-alpha1.0.0-beta1.0.0-rc11.0.0-rc21.0.01.1.02.0.0-alpha2.0.0-beta2.0.0-rc12.0.02.0.1-alphaAdditional tagging:
2.0.1-alpha is also tagged as alpha2.0.0 is also tagged as latest1.1.0 is also tagged as v1-latest2.0.0 is also tagged as v2-latest/healthz/ - heartbeat check + is a test file present
/healthz/kubernetes/ - heartbeat check
/makeunhealthy/normal - will make the basic healthcheck return unhealthy but not the Kubernetes one
/makeunhealthy/k8s - will make the basic and kubernetes healthchecks return unhealthy
/app/required.json - a mandatory JSON file that is included in the container image but can be overriden
{
"Required": {
"MyValue": "Original required file value"
}
}
/app/optional.json - an optional JSON file that isn't included in the container image
{
"Optional": {
"MyValue": "Your value"
}
}
BASE_URL - if running the application anywhere other than the root of a domain, pass in the base URL that the site is deployed to (e.g. for a site running at "https://www.mydomain.com/mysite/", pass in "/mysite")
CanBeOverridden__HasDefault - a value already specified in the main appsettings.json file
CanBeOverridden__OnlyFromEnvVar - a value not already in the main appsettings.json file that can be injected at runtime via an environment variable
Going to the root of the site will output links and the values of the various config entries above as well the current version.
Content type
Image
Digest
sha256:ffdb3a6dc…
Size
96.8 MB
Last updated
over 3 years ago
docker pull jabbermouth/demo