NAME

Kubernetes::Comb::Static - A Comb whose manifests are .pk8s and YAML files

VERSION

version 0.001

SYNOPSIS

package MyApp::Comb::GeoIP;
use Moo;
extends 'Kubernetes::Comb::Static';

use File::ShareDir qw( dist_dir );

sub endpoints      { { name => 'http', port => 8080 } }
sub manifest_dir   { dist_dir('MyApp-Combs') }
sub manifest_files { 'geoip.yaml', 'geoip-cron.pk8s' }

DESCRIPTION

A Kubernetes::Comb whose "manifests" in Kubernetes::Comb come from files, by Kubernetes::Comb::Role::Static. A subclass names the files with manifest_files and where relative ones are with manifest_dir; everything else of the contract is the one of Kubernetes::Comb.

For the stub of an existing Comb class -- which has to extend that class -- compose Kubernetes::Comb::Role::Static instead.

manifest_files

Dies: a subclass overrides it with its list of files, see "manifest_files" in Kubernetes::Comb::Role::Static.

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-kubernetes-comb/issues.

IRC

Join #kubernetes on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.