-
We should start a ksonnet style guide to begin capturing best practices and conventions.
Some initial things to document
1. Use camelCase for parameters (#303)
1. Minimize logic in prototype fi…
jlewi updated
6 years ago
-
Hi all,
I requested netdata to be accepted in CNCF.
Check it here: https://github.com/cncf/toc/issues/123
(vote for it too - I don't know if it will help, but anyway it is good to have a few …
-
**Background**
Matze introduced our stack to the readily available jsonnet mixins for scraping rules and alerts, as specified in `config/monitoring/vendor/*`. These jsonnet mixins are used via the …
xrstf updated
6 years ago
-
**What did you do?**
ran jsonnet -f vendor -m manifest my-config.jsonnet
my-config.jsonnet contained:
```
local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') +
(import 'ku…
-
After adding one one dashboard the configmap with the kubernetes-mixins is already too big.
We need a way to make sure that you can have mutliple configmaps.
-
There is a wonderful language by the name of [Jsonnet ](http://jsonnet.org) from Google. It is language for modeling JSON data with features like inheritance, variables, mixins. It is by far the best …
-
This snippet is a stripped down version of the old tutorial, with examples removed. Would probably be good to develop some more complex examples (to demonstrate the value proposition better). (This co…
-
I've been trying to use ksonnet-lib with Kubernetes 1.6.2 but there's no way I can get Kubernetes to accept the JSON code generated from the example file hello-nginx.jsonnet:
```
$ jsonnet --versi…
-
Hi,
I'm trying to do the following
```
local addMetadata(key, value) =
{metadata+: {[key]: value};
{} + addMetadata("app", "name")
```
It fails because super doesn't have the 'metadata' f…
ant31 updated
7 years ago
-
# Context
Jsonnet's original design used object inheritance (mixins) as the primary abstraction mechanism. Since then, users have indicated that in many cases they prefer abstracting via functions. …