NAME

Kubernetes::REST::Server - Kubernetes API server connection configuration

VERSION

version 1.000

SYNOPSIS

use Kubernetes::REST::Server;

my $server = Kubernetes::REST::Server->new(
    endpoint => 'https://kubernetes.local:6443',
    ssl_verify_server => 1,
    ssl_ca_file => '/path/to/ca.crt',
);

DESCRIPTION

Configuration object for Kubernetes API server connection details.

endpoint

Required. The Kubernetes API server endpoint URL (e.g., https://kubernetes.local:6443).

ssl_verify_server

Boolean. Whether to verify the server's SSL certificate. Defaults to 1 (true).

Set to 0 for development clusters with self-signed certificates.

ssl_cert_file

Optional. Path to client certificate file for mTLS authentication.

ssl_key_file

Optional. Path to client key file for mTLS authentication.

ssl_ca_file

Optional. Path to CA certificate file for verifying the server certificate.

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/pplu/kubernetes-rest/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 Torres <jlmartin@cpan.org> (JLMARTIN, original author, inactive)

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

The Apache License, Version 2.0, January 2004