You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(signal-processing): Correctly template namespace in notebook (#437)
* fix(signal-processing): Correctly template namespace in notebook
* temp: Fetch notebook from branch with fixes
* fix(signal-processing): Use different placeholder in NiFi flow
* temp: Fetch NiFi flow from branch with fixes
* chore(stack/signal-processing): Add some guidance for finding Helm values
* chore(stack/signal-processing): Disable cloudMetadata block
The iptables call ing the It fails for me. I am on kernel 7.0. It could be that.
Or maybe oci.stackable.tech/demos/jupyter-pyspark-with-alibi-detect needs some update?
* fix(stack/signal-processing): Namespace interpolation
Add extraEnv for providing the templated namespace.
We would use the downward api, but that breaks because the value of extraEnv is also passed to `hub` which expects a dict.
* chore: Apply suggestions
Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>
---------
Co-authored-by: Nick Larsen <nick.larsen@stackable.tech>
Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>
# Disable, otherwise we get Back-off restarting failed container block-cloud-metadata in pod:
47
+
# block-cloud-metadata iptables v1.8.9 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
48
+
# I believe this breaks in Kernel 7.x.
49
+
blockWithIptables: false
43
50
serviceAccountName: spark
44
51
networkPolicy:
45
52
enabled: false
@@ -51,11 +58,19 @@ options:
51
58
# {% if DEMO is defined %}
52
59
stackable.tech/demo: "{{ DEMO }}"
53
60
# {% endif %}
61
+
extraEnv:
62
+
# Needed because the Notebook runs code to interpolate the Postgres DB hostname with a namespace.
63
+
# We cannot use the downward API because some python code uses it and expects scalar values.
64
+
# We also MUST use a dict, otherwise hub shows the following error:
65
+
# traitlets.traitlets.TraitError: The 'environment' trait of a KubeSpawner instance expected a dict, not the list [{'name': 'NAMESPACE', 'value': 'my-namespace'}].
66
+
# A helper in the chart formats these properly for any container env vars in Pods.
0 commit comments