Skip to content

Instantly share code, notes, and snippets.

@lukas-vlcek
Last active June 14, 2018 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukas-vlcek/376be10b65e1491271bafa9c688a2b25 to your computer and use it in GitHub Desktop.
Save lukas-vlcek/376be10b65e1491271bafa9c688a2b25 to your computer and use it in GitHub Desktop.
kubernetes-mixin on Fedora
$ uname -a
Linux dhcp-2-178.brq.redhat.com 4.15.17-200.fc26.x86_64 #1 SMP Thu Apr 12 18:28:26 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ git remote -v
origin https://github.com/kubernetes-monitoring/kubernetes-mixin.git (fetch)
origin https://github.com/kubernetes-monitoring/kubernetes-mixin.git (push)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
$ git pull
Already up-to-date.
$ go version
go version go1.8.7 linux/amd64
$ make clean && jb install && make
rm -rf dashboards_out prometheus_alerts.yaml prometheus_rules.yaml
Cloning into 'vendor/.tmp/jsonnetpkg-grafonnet-master112028990'...
remote: Counting objects: 961, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 961 (delta 0), reused 0 (delta 0), pack-reused 958
Receiving objects: 100% (961/961), 300.41 KiB | 899.00 KiB/s, done.
Resolving deltas: 100% (544/544), done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
find . -name 'vendor' -prune -o -name '*.libsonnet' -o -name '*.jsonnet' -print | \
xargs -n 1 -- jsonnet fmt -n 2 --max-blank-lines 2 --string-style s --comment-style s -i
jsonnet -S lib/alerts.jsonnet > prometheus_alerts.yaml
RUNTIME ERROR: Field does not exist: manifestYamlDoc
lib/alerts.jsonnet:1:1-19
make: *** [Makefile:10: prometheus_alerts.yaml] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment