Skip to content

markelog/pingdom-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pingdom Operator Build Status GoDoc Go Report Card

Manage your Pingdom checks via kubernetes operator

Set up

Assuming you already set up kubernetes config on your machine. Clone the repo:

$ git clone [email protected]:markelog/pingdom-operator.git
$ cd pingdom-operator

Apply all supplementary kubernetes configs in order to set up the operator –

$ make setup

It is recommended to also set up secret for the check too (see an example). But if you couldn't be bothered with it :), you can put credentials right into the check definition.

Apply the deployment for the operator, so execute either

$ kubectl apply -f ./deploy/operator.yaml

Or without secrets with

$ kubectl apply -f ./deploy/operator_without_secret.yaml

Create pingdom CRD

$ kubectl apply -f ./deploy/crds/pingdom.giantswarm.io_checks_crd.yaml

Now examine the example for an check configuration. Edit it to your pleasure. Then apply your check and secret (you did used the secret, right?) configs with kubectl apply -f .... Done and done.