• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zalando / skipper / 25431200620

06 May 2026 10:58AM UTC coverage: 79.824% (-0.05%) from 79.87%
25431200620

push

github

web-flow
feature: ensure-dataclient (#3990)

The new flag -ensure-dataclient="inline,kubernetes,.." can be used to
ensure that specific dataclients were created. This makes sense to use
if you have templated configuration files and you want to make sure a
given dataclient will be started.

Good:
```
% ./bin/skipper -inline-routes='r: * -> status(201) -> <shunt>' -address :9002 -ensure-dataclients "inline"
[APP]INFO[0000] Expose metrics in codahale format
[APP]INFO[0000] enable swarm: false
[APP]INFO[0000] Replacing tee filter specification
[APP]INFO[0000] Replacing teenf filter specification
[APP]INFO[0000] Replacing teeResponse filter specification
[APP]INFO[0000] route settings, reset, route: r: * -> status(201) -> <shunt>
[APP]INFO[0000] route settings received, id: 1
[APP]INFO[0000] route settings applied, id: 1
[APP]INFO[0000] support listener on :9911
[APP]INFO[0000] Dataclients are updated once, first load complete
[APP]INFO[0000] Listen on :9002
[APP]INFO[0000] TLS settings not found, defaulting to HTTP
```

Bad:
```
% ./bin/skipper -inline-routes='r: * -> status(201) -> <shunt>' -address :9002 -ensure-dataclients "kubernetes"
[APP]INFO[0000] Expose metrics in codahale format
[APP]FATA[0000] Failed to start skipper: failed to find dataclient that was ensured: "kubernetes"
zsh: exit 1
```

---------

Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>

18 of 34 new or added lines in 8 files covered. (52.94%)

9 existing lines in 3 files now uncovered.

26527 of 33232 relevant lines covered (79.82%)

85063.14 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.0
/dataclients/routestring/string.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc