NAME

IO::K8s::GatewayAPI - Gateway API CRD resource map provider for IO::K8s

VERSION

version 1.001

SYNOPSIS

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

my $gw = $k8s->new_object('Gateway',
    metadata => { name => 'my-gateway', namespace => 'default' },
    spec => {
        gatewayClassName => 'istio',
        listeners => [{ name => 'http', port => 80, protocol => 'HTTP' }],
    },
);

print $gw->to_yaml;

DESCRIPTION

Resource map provider for the Kubernetes Gateway API Custom Resource Definitions. Registers 5 CRD classes covering gateway.networking.k8s.io/v1 (GA) and gateway.networking.k8s.io/v1beta1 (beta).

The Gateway API is an official Kubernetes SIG-Network project that provides expressive, extensible, and role-oriented interfaces for service networking.

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

Included CRDs (gateway.networking.k8s.io/v1)

GatewayClass (cluster-scoped), Gateway (namespaced), HTTPRoute (namespaced), GRPCRoute (namespaced)

Included CRDs (gateway.networking.k8s.io/v1beta1)

ReferenceGrant (namespaced)

SEE ALSO

IO::K8s

Gateway API documentation

Gateway API reference

GatewayClass

HTTPRoute

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