Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
/ kube2pyconsul Public archive
forked from asteris-llc/kube2pyconsul

Register kubernetes services in consul's services catalog

License

Notifications You must be signed in to change notification settings

mantl/kube2pyconsul

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

# python kube2pyconsul.py --help
kube2pyconsul.

Usage:
  kube2pyconsul.py [-v <loglevel>] [--verify-ssl] [--consul-agent=<consul-uri>] [--kube-master=<kubeapi-uri>] [--consul-auth=<user,pass>] [--kube-auth=<user,pass>]
  kube2pyconsul.py (-h | --help)

Options:
  -h --help     Show this screen.
  -v <loglevel>           Set logging level [default: INFO]
  --consul-agent=<consul-uri>  Consul agent location [default: https://127.0.0.1:8500].
  --kube-master=<kubeapi-uri>  Kubeapi location [default: https://127.0.0.1:6443]
  --consul-auth=<user,pass>    Consul http auth credentials [default: None]
  --kube-auth=<user,pass>      Kubernetes http auth credentials [default: None]

Running a docker container:

# docker run -ti zogg/kube2pyconsul:1.0 --consul-agent=https://10.0.0.4:8500 \
                                        --kube-master=https://10.10.64.1:6443 \
                                        --consul-auth=user,pass \
                                        --kube-auth=user,pass

About

Register kubernetes services in consul's services catalog

Resources

License

Stars

Watchers

Forks

Releases

No releases published