Skip to content

Support air-gapped installation #219

@jplitza

Description

@jplitza

I installed the the getting started instructions to deploy the helm chart in an air gapped cluster. However, no dashboards or rules appear, because the dnation-kubernetes-jsonnet-translator pod seems to require an internet connection:

2025-12-12 09:47:39,765 - [ERROR] - Failed to install libsonnet https://github.com/thelastpickle/grafonnet-polystat-panel@275a48de57afdac0d72219d82863d8ab8bd0e682, error: b'archive install failed: Get "https://github.com/thelastpickle/grafonnet-polystat-panel/archive/275a48de57afdac0d72219d82863d8ab8bd0e682.tar.gz": dial tcp 140.82.121.3:443: connect: network is unreachable\nretrying with git...\njb: error: failed to install packages: downloading: exec: "git": executable file not found in $PATH\n'
2025-12-12 09:47:54,869 - [INFO ] - Processing object: dnation-kubernetes-monitoring-rules-jsonnet
2025-12-12 09:47:54,870 - [INFO ] - Processing object: dnation-kubernetes-monitoring-dashboards-jsonnet
2025-12-12 09:47:54,887 - [INFO ] - File jsonnet-rules.tar.gz extracted to jsonnet_archive_dnation-kubernetes-monitoring-rules-jsonnet
2025-12-12 09:47:54,889 - [INFO ] - File jsonnet-dashboards.tar.gz extracted to jsonnet_archive_dnation-kubernetes-monitoring-dashboards-jsonnet
2025-12-12 09:47:55,216 - [ERROR] - dashboards.jsonnet is not a valid jsonnet, raised error: RUNTIME ERROR: couldn't open import "grafonnet-polystat-panel/plugin.libsonnet": no match locally or in the Jsonnet library paths
        jsonnet_archive_dnation-kubernetes-monitoring-dashboards-jsonnet/dashboards/k8s/node-overview-dashboards.libsonnet:19:20-70     thunk <grafana> from <$>
        jsonnet_archive_dnation-kubernetes-monitoring-dashboards-jsonnet/dashboards/k8s/node-overview-dashboards.libsonnet:20:19-26
        jsonnet_archive_dnation-kubernetes-monitoring-dashboards-jsonnet/dashboards/k8s/node-overview-dashboards.libsonnet:54:9-18
        jsonnet_archive_dnation-kubernetes-monitoring-dashboards-jsonnet/util.libsonnet:(600:13)-(606:24)       object <anonymous>
        jsonnet_archive_dnation-kubernetes-monitoring-dashboards-jsonnet/dashboards.jsonnet:31:25-35    object <anonymous>
        During manifestation

2025-12-12 09:47:55,471 - [INFO ] - Rules resource prometheus-rules-generated created

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions