diff --git a/.github/workflows/cd-release-aks.yaml b/.github/workflows/cd-release-aks.yaml index ca02224..812fcd0 100644 --- a/.github/workflows/cd-release-aks.yaml +++ b/.github/workflows/cd-release-aks.yaml @@ -16,7 +16,7 @@ on: # Note. Required secrets: CLUSTER_KUBECONFIG env: - CLUSTER_NAME: benc + CLUSTER_NAME: sandbox HELM_RELEASE: nodejs HELM_NAMESPACE: demoapps INGRESS_DNS_HOST: nodejs-demoapp.kube.benco.io diff --git a/README.md b/README.md index a887222..faaafe5 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,7 @@ If running in an Azure Web App, all of these values can be injected as applicati | WEATHER_API_KEY | _none_ | OpenWeather API key. [Info here](https://openweathermap.org/api) | | AAD_APP_ID | _none_ | Client ID of app registered in Azure AD | | DISABLE_METRICS | _none_ | Set to truthy value if you want to switch off Prometheus metrics | +| REDIS_SESSION_HOST | _none_ | Point to a Redis host to hold/persist session cache | ## Deployment diff --git a/deploy/kubernetes/aks-live.yaml b/deploy/kubernetes/aks-live.yaml index 34d3e81..62d97c5 100644 --- a/deploy/kubernetes/aks-live.yaml +++ b/deploy/kubernetes/aks-live.yaml @@ -3,6 +3,8 @@ image: tag: latest pullPolicy: Always +replicaCount: 3 + service: targetPort: 3000 @@ -13,7 +15,7 @@ secretEnv: env: AAD_APP_ID: 129e29d2-6c0a-4dbf-849e-320a3aa93d52 -# APPINSIGHTS_INSTRUMENTATIONKEY: 45f5a949-518c-4216-80bd-6c5632a9342c + APPLICATIONINSIGHTS_CONNECTION_STRING: "InstrumentationKey=76ae0e4d-5b1f-4081-915a-34cd49c8c4c2;IngestionEndpoint=https://uksouth-1.in.applicationinsights.azure.com/;LiveEndpoint=https://uksouth.livediagnostics.monitor.azure.com/" resources: limits: