atul-ram commented on issue #37844:
URL: https://github.com/apache/airflow/issues/37844#issuecomment-1975812371
Hi team,
i tried using this version, via helmrelease . it give below error :( .
```
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"helm.toolkit.fluxcd.io/v2beta1","kind":"HelmRelease","metadata":{"annotations":{},"name":"demo","namespace":"demo"},"spec":{"chart":{"spec":{"chart":"odpt-airflow","interval":"1m","sourceRef":{"kind":"HelmRepository","name":"helm-releases","namespace":"demo"},"version":"1.13.0"}},"install":{"disableWait":true},"interval":"5m","upgrade":{"disableWait":true},"values":{"config":{"core":{"colored_console_log":"True"},"logging":{"colored_console_log":"True"},"metrics":{"statsd_prefix":"demo"},"scheduler":{"statsd_prefix":"demo"}},"defaultAirflowRepository":"example.com.com:18445/apache/airflow","extraEnv":"-
name: AIRFLOW__CORE__LOAD_EXAMPLES\n value:
'True'\n","images":{"gitSync":{"pullPolicy":"IfNotPresent","repository":"example.com.com:18445/git-sync/git-sync","tag":"v4.1.0"},"pgbouncer":{"pullPolicy":"IfNotPresent","repository":"example.com.com:18445/apache/airflow","tag":"airflow-pgbouncer-2024.01.19-1.21.0"},"pgbouncerExporter":{"pullPolicy":"IfNotPresent","
repository":"example.com.com:18445/apache/airflow","tag":"airflow-pgbouncer-exporter-2024.01.19-0.16.0"},"redis":{"pullPolicy":"IfNotPresent","repository":"example.com.com:18445/redis","tag":"7-bookworm"},"statsd":{"repository":"example.com.com:18445/prometheus/statsd-exporter"}},"ingress":{"enabled":true,"web":{"enabled":true,"hosts":[{"name":"arfw02-p-01-aks.nl.eu.abnamro.com","tls":{"enabled":true,"secretName":"ingress-tls-csi"}}],"ingressClassName":"nginx","path":"/","pathType":"Prefix"}},"logs":{"persistence":{"enabled":false}},"networkPolicies":{"enabled":false},"postgresql":{"enabled":true,"global":{"imageRegistry":"example.com.com:18445"},"primary":{"persistence":{"enabled":false}}},"redis":{"persistence":{"enabled":false}},"statsd":{"args":["--statsd.mapping-config=/etc/statsd-exporter/mappings.yml","--log.level=debug"],"enabled":true},"triggerer":{"persistence":{"enabled":false}},"webserver":{"extraVolumeMounts":[{"mountPath":"/mnt/secrets-store","name":"secret-store","rea
dOnly":true}],"extraVolumes":[{"csi":{"driver":"secrets-store.csi.k8s.io","readOnly":true,"volumeAttributes":{"secretProviderClass":"ingress-tls-csi"}},"name":"secret-store"}]},"workers":{"persistence":{"enabled":false}}}}}
creationTimestamp: "2024-03-04T06:13:42Z"
finalizers:
- finalizers.fluxcd.io
generation: 1
name: demo
namespace: demo
resourceVersion: "10661457"
uid: 7116a790-9e83-4717-829c-9e869aa1bde9
spec:
chart:
spec:
chart: odpt-airflow
interval: 1m
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: helm-releases
namespace: demo
version: 1.13.0
install:
disableWait: true
interval: 5m
upgrade:
disableWait: true
values:
config:
core:
colored_console_log: "True"
logging:
colored_console_log: "True"
metrics:
statsd_prefix: demo
scheduler:
statsd_prefix: demo
defaultAirflowRepository: example.com.com:18445/apache/airflow
extraEnv: |
- name: AIRFLOW__CORE__LOAD_EXAMPLES
value: 'True'
images:
gitSync:
pullPolicy: IfNotPresent
repository: example.com.com:18445/git-sync/git-sync
tag: v4.1.0
pgbouncer:
pullPolicy: IfNotPresent
repository: example.com.com:18445/apache/airflow
tag: airflow-pgbouncer-2024.01.19-1.21.0
pgbouncerExporter:
pullPolicy: IfNotPresent
repository: example.com.com:18445/apache/airflow
tag: airflow-pgbouncer-exporter-2024.01.19-0.16.0
redis:
pullPolicy: IfNotPresent
repository: example.com.com:18445/redis
tag: 7-bookworm
statsd:
repository: example.com.com:18445/prometheus/statsd-exporter
ingress:
enabled: true
web:
enabled: true
hosts:
- name: arfw02-p-01-aks.nl.eu.abnamro.com
tls:
enabled: true
secretName: ingress-tls-csi
ingressClassName: nginx
path: /
pathType: Prefix
logs:
persistence:
enabled: false
networkPolicies:
enabled: false
postgresql:
enabled: true
global:
imageRegistry: example.com.com:18445
primary:
persistence:
enabled: false
redis:
persistence:
enabled: false
statsd:
args:
- --statsd.mapping-config=/etc/statsd-exporter/mappings.yml
- --log.level=debug
enabled: true
triggerer:
persistence:
enabled: false
webserver:
extraVolumeMounts:
- mountPath: /mnt/secrets-store
name: secret-store
readOnly: true
extraVolumes:
- csi:
driver: secrets-store.csi.k8s.io
readOnly: true
volumeAttributes:
secretProviderClass: ingress-tls-csi
name: secret-store
workers:
persistence:
enabled: false
status:
conditions:
- lastTransitionTime: "2024-03-04T06:16:14Z"
message: |-
Helm install failed: error while running post render on files:
map[string]interface {}(nil): yaml: unmarshal errors:
line 45: mapping key
"cluster-autoscaler.kubernetes.io/safe-to-evict" already defined at line 44
reason: InstallFailed
status: "False"
type: Ready
- lastTransitionTime: "2024-03-04T06:16:14Z"
message: |+
Helm install failed: error while running post render on files:
map[string]interface {}(nil): yaml: unmarshal errors:
line 45: mapping key
"cluster-autoscaler.kubernetes.io/safe-to-evict" already defined at line 44
Last Helm logs:
reason: InstallFailed
status: "False"
type: Released
failures: 1
helmChart: demo/demo-demo
installFailures: 1
lastAttemptedRevision: 1.13.0
lastAttemptedValuesChecksum: 12366aa69b4709f4d42670010ab779449337fee3
lastReleaseRevision: 1
observedGeneration: 1
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]