Skip to main content

Status

CLI tool that integrates Consul and Kubernetes.

Command: write-ingresses

This command will query Kubernetes ingress resources for details to use to write a Consul service configuration file.

This is useful on Kubernetes workers that are running ingress controllers or other servers that might be proxying into ingress controllers, allowing discovery of services exposed by Kubernetes.

consulk8s write-ingresses -s /etc/consul.d/k8s_services.json

See consulk8s --help and consulk8s write-ingresses --help for more details.

Annotations on Ingress objects:

  • consulk8s/service - Name of Consul service to create for Ingress.

  • consulk8s/address - Address/IP to announce in Consul service. Defaults to Ingress loadBalancer IP.

  • consulk8s/port - Port to announce in Consul service. Defaults to 80.

  • consuk8s/check_host - Host header to set in Consul health checks. Uses first hostname found in Ingress if none specified.

  • consulk8s/check_timeout - Timeout for Consul health check. Defaults to 2s.

  • consulk8s/check_path - Path segment of URL to make HTTP health check request. Defaults to ‘/’.

  • consulk8s/tls_skip_verify - Skip TLS verification. Consul defaults to false.

Metadata

Release files for consulk8s 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for consulk8s 0.4.0
File Interpreter ABI Platform Actions
consulk8s-0.4.0-py3-none-any.whl Python 3 none any Details for consulk8s-0.4.0-py3-none-any.whl

Release files / consulk8s-0.4.0-py3-none-any.whl

Download URL consulk8s-0.4.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9f4658d4771a5720685344e5d10ac67889a4e07ac36051a5b436bf15f6e7339
BLAKE2b-256 checksum
How to use checksums
bd285b50f9d2282f705fc2147f97c4e22e00af054f0c91fed6ebe204d4c620f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.9.1 pkginfo/1.4.1 requests/2.13.0 setuptools/34.3.2 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.13

Security for consulk8s 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page