Files
Joe ElliottandGitHub 21023f9bbe Remove feature flags and default to on (#2004)
* remove search_enabled

Signed-off-by: Joe Elliott <[email protected]>

* remove metrics_enabled

Signed-off-by: Joe Elliott <[email protected]>

* example cleanup

Signed-off-by: Joe Elliott <[email protected]>

* fix handler setup

Signed-off-by: Joe Elliott <[email protected]>

* cleanup

Signed-off-by: Joe Elliott <[email protected]>

* single binary jsonnet cleanup

Signed-off-by: Joe Elliott <[email protected]>

* additional cleanup

Signed-off-by: Joe Elliott <[email protected]>

* make jsonnet

Signed-off-by: Joe Elliott <[email protected]>

* changelog

Signed-off-by: Joe Elliott <[email protected]>

* additional cleanup

Signed-off-by: Joe Elliott <[email protected]>

* removed wait for no longer existing features

Signed-off-by: Joe Elliott <[email protected]>

* return err unconfigured and let modules.go decide what to do

Signed-off-by: Joe Elliott <[email protected]>

Signed-off-by: Joe Elliott <[email protected]>
2023-01-19 14:04:14 -05:00

54 lines
1.4 KiB
Jsonnet

local tempo = import '../../../operations/jsonnet/single-binary/tempo.libsonnet';
local dashboards = import 'dashboards/grafana.libsonnet';
local metrics = import 'metrics/prometheus.libsonnet';
local load = import 'synthetic-load-generator/main.libsonnet';
metrics + load + tempo {
dashboards:
dashboards.deploy('http://tempo:3200'),
_images+:: {
// override images here if desired
},
_config+:: {
cluster: 'k3d',
namespace: 'default',
pvc_size: '30Gi',
pvc_storage_class: 'local-path',
receivers: {
jaeger: {
protocols: {
thrift_http: null,
},
},
},
},
local k = import 'ksonnet-util/kausal.libsonnet',
local container = k.core.v1.container,
local containerPort = k.core.v1.containerPort,
tempo_container+::
container.withPortsMixin([
containerPort.new('jaeger-http', 14268),
]),
local ingress = k.networking.v1.ingress,
local rule = k.networking.v1.ingressRule,
local path = k.networking.v1.httpIngressPath,
ingress:
ingress.new('ingress') +
ingress.mixin.metadata
.withAnnotationsMixin({
'ingress.kubernetes.io/ssl-redirect': 'false',
}) +
ingress.mixin.spec.withRules(
rule.http.withPaths([
path.withPath('/')
+ path.withPathType('ImplementationSpecific')
+ path.backend.service.withName('grafana')
+ path.backend.service.port.withNumber(3000),
]),
),
}