aspnet-core
ASP.NET Core is an open-source framework for web application development created by Microsoft. It runs on both the full .NET Framework, on Windows, and the cross-platform .NET Core.
About this chart
ASP.NET packaged by Bitnami
ASP.NET Core is an open-source framework for web application development created by Microsoft. It runs on both the full .NET Framework, on Windows, and the cross-platform .NET Core.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
helm repo add my-repo https://charts.bitnami.com/bitnami
helm install my-release my-repo/aspnet-core
Introduction
Bitnami charts for Helm are carefully engineered, actively maintained and are the quickest and easiest way to deploy containers on a Kubernetes cluster that are ready to handle production workloads.
This chart bootstraps an ASP.NET Core deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/aspnet-core
These commands deploy a ASP.NET Core application on the Kubernetes cluster in the default configuration.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override aspnet-core.fullname | "" |
fullnameOverride | String to fully override aspnet-core.fullname | "" |
namespaceOverride | String to fully override common.names.namespace | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Kubernetes cluster domain name | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
ASP.NET Core parameters
| Name | Description | Value |
|---|---|---|
image.registry | ASP.NET Core image registry | docker.io |
image.repository | ASP.NET Core image repository | bitnami/aspnet-core |
image.tag | ASP.NET Core image tag (immutable tags are recommended) | 6.0.10-debian-11-r0 |
image.digest | ASP.NET Core image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | ASP.NET Core image pull policy | IfNotPresent |
image.pullSecrets | ASP.NET Core image pull secrets | [] |
image.debug | Enable image debug mode | false |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
bindURLs | URLs to bind | http://+:8080 |
extraEnvVars | Extra environment variables to be set on ASP.NET Core container | [] |
extraEnvVarsCM | ConfigMap with extra environment variables | "" |
extraEnvVarsSecret | Secret with extra environment variables | "" |
ASP.NET Core deployment parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of ASP.NET Core replicas to deploy | 1 |
schedulerName | Name of the k8s scheduler (other than default) | "" |
priorityClassName | ASP.NET Core pod priority class name | "" |
topologySpreadConstraints | Topology Spread Constraints for pod assignment | [] |
hostAliases | ASP.NET Core pod host aliases | [] |
extraVolumes | Optionally specify extra list of additional volumes for ASP.NET Core pods | [] |
extraVolumeMounts | Optionally specify extra list of additional volumeMounts for ASP.NET Core container(s) | [] |
sidecars | Add additional sidecar containers to the ASP.NET Core pods | [] |
initContainers | Add additional init containers to the ASP.NET Core pods | [] |
lifecycleHooks | Add lifecycle hooks to the ASP.NET Core deployment | {} |
podAnnotations | Annotations for ASP.NET Core pods | {} |
podLabels | Extra labels for ASP.NET Core pods | {} |
updateStrategy.type | Deployment strategy type | RollingUpdate |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match. Ignored if affinity is set | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | Tolerations for pod assignment | [] |
resources.limits | The resources limits for the ASP.NET Core container | {} |
resources.requests | The requested resources for the ASP.NET Core container | {} |
containerPorts.http | Port to expose at ASP.NET Core container level | 8080 |
podSecurityContext.enabled | Enabled ASP.NET Core pods' Security Context | false |
podSecurityContext.sysctls | Set namespaced sysctls for the ASP.NET Core pods | [] |
podSecurityContext.fsGroup | Set Security Context fsGroup | 0 |
containerSecurityContext.enabled | Enabled ASP.NET Core containers' Security Context | false |
containerSecurityContext.runAsUser | Set ASP.NET Core container's Security Context runAsUser | 0 |
containerSecurityContext.runAsNonRoot | Set container's Security Context runAsNonRoot | false |
livenessProbe.enabled | Enable livenessProbe | true |
livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 10 |
livenessProbe.periodSeconds | Period seconds for livenessProbe | 20 |
livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 1 |
livenessProbe.failureThreshold | Failure threshold for livenessProbe | 6 |
livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
readinessProbe.enabled | Enable readinessProbe | true |
readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 10 |
readinessProbe.periodSeconds | Period seconds for readinessProbe | 20 |
readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 1 |
readinessProbe.failureThreshold | Failure threshold for readinessProbe | 6 |
readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
startupProbe.enabled | Enable startupProbe | false |
startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 10 |
startupProbe.periodSeconds | Period seconds for startupProbe | 20 |
startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 1 |
startupProbe.failureThreshold | Failure threshold for startupProbe | 6 |
startupProbe.successThreshold | Success threshold for startupProbe | 1 |
customLivenessProbe | Custom livenessProbe that overrides the default one | {} |
| `customS |
Deploy aspnet-core with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has aspnet-core on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartaspnet-core is pinned at v3.5.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply