Open kjamieson-xilis opened 1 year ago
I hit this error as well, fixed it by rolling back jsonnet-libs/k8s-libsonnet from 1.26 to 1.24. 1.25 also didn't work.
I had a similar problem
Error: evaluating jsonnet: RUNTIME ERROR: Field does not exist: v1
/tmp/loki/vendor/loki/multi-zone.libsonnet:5:31-42
/tmp/loki/vendor/loki/multi-zone.libsonnet:135:5-24
Field "ingester_rollout_pdb"
During manifestation
The problem was fixed after I initiated anew with the correct kubernetes version:
tk init --k8s=1.25
without the k8s parameter it used 1.20 by default.
Describe the bug When using the example tanka configuration at https://grafana.com/docs/loki/latest/installation/tanka/ , a tk apply results in the following:
Error: evaluating jsonnet: RUNTIME ERROR: Attempt to use super when there is no super class. /home/user/tanka/vendor/ksonnet-util/k-compat.libsonnet:20:22-27 function <anonymous> /home/user/tanka/vendor/loki/multi-zone.libsonnet:135:5-52 object <anonymous> Field "ingester_rollout_pdb" During manifestation
To Reproduce Steps to reproduce the behavior:
Expected behavior A successful diff or show of manifests for the loki deployment
Environment:
Screenshots, Promtail config, or terminal output If applicable, add any output to help explain your problem.
Error: evaluating jsonnet: RUNTIME ERROR: Attempt to use super when there is no super class. /home/user/tanka/vendor/ksonnet-util/k-compat.libsonnet:20:22-27 function <anonymous> /home/user/tanka/vendor/loki/multi-zone.libsonnet:135:5-52 object <anonymous> Field "ingester_rollout_pdb" During manifestation