Categorygithub.com/cloudwatt/kube2consul
modulepackage
2.1.3+incompatible
Repository: https://github.com/cloudwatt/kube2consul.git
Documentation: pkg.go.dev

# README

kube2consul

Install

Get the binary directly from GitHub releases or download the code and compile it with make. It requires Go 1.8 or later.

Usage

Kube2consul runs in a kubernetes cluster by default. It is able to work out of cluster if an absolute path to the kubeconfig file is provided.

Command line optionEnvironment optionDefault value
-consul-apiK2C_CONSUL_API"127.0.0.1:8500"
-consul-tagK2C_CONSUL_TAG"kube2consul"
-consul-tokenK2C_CONSUL_TOKEN""
-kubeconfigK2C_KUBECONFIG""
-kubernetes-apiK2C_KUBERNETES_API""
-resync-periodK2C_RESYNC_PERIOD30

# Functions

NewEndpoint allows to create Endpoint.

# Structs

Endpoint is a summary of kubernetes endpoint.