NAME

IO::K8s::Traefik - Traefik CRD resource map provider for IO::K8s

VERSION

version 1.001

SYNOPSIS

my $k8s = IO::K8s->new(with => ['IO::K8s::Traefik']);

my $ir = $k8s->new_object('IngressRoute',
    metadata => { name => 'my-route', namespace => 'default' },
    spec => {
        entryPoints => ['web'],
        routes => [{ match => 'Host(`example.com`)', kind => 'Rule' }],
    },
);

print $ir->to_yaml;

DESCRIPTION

Resource map provider for Traefik Custom Resource Definitions. Registers 10 CRD classes for traefik.io/v1alpha1.

Not loaded by default — opt in via the with constructor parameter of IO::K8s or by calling $k8s->add('IO::K8s::Traefik') at runtime.

Included CRDs (traefik.io/v1alpha1)

IngressRoute, IngressRouteTCP, IngressRouteUDP, Middleware, MiddlewareTCP, ServersTransport, ServersTransportTCP, TLSOption, TLSStore, TraefikService

All resources are namespace-scoped.

SEE ALSO

IO::K8s

Traefik documentation

Traefik Kubernetes CRD reference

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/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.

AUTHORS

  • Torsten Raudssus <torsten@raudssus.de>

  • Jose Luis Martinez <jlmartin@cpan.org> (original author, inactive)

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Jose Luis Martinez.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004