Skip to content

Kubernetes (Compatible with Openshift) Watcher for K8S Objects

Notifications You must be signed in to change notification settings

ianmiell/k8s-watcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

K8S watcher skeleton

Create user and get token

oadm policy add-cluster-role-to-user cluster-admin system:serviceaccount:default:watcher
oc create serviceaccount watcher

If you want find framework libary, copy it from github, instead of k8s.io kubernetes project

build:

CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo .

flag:

--host - hostname of master (with port, without api prefix)
--token - token. TODO: insect why config does not take config from config
--username - username
--password - password

You can use token OR Username/password. 

About

Kubernetes (Compatible with Openshift) Watcher for K8S Objects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%