pingdom-operator

module
v0.0.2-0...-ab5d7df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2019 License: MIT

README

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 git@github.com: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.

Directories

Path Synopsis
cmd
pkg
apis/pingdom
Package pingdom contains pingdom API versions.
Package pingdom contains pingdom API versions.
apis/pingdom/v1alpha1
Package v1alpha1 contains API Schema definitions for the pingdom v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=pingdom.k8s Package v1alpha1 contains API Schema definitions for the pingdom v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=pingdom.k8s
Package v1alpha1 contains API Schema definitions for the pingdom v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=pingdom.k8s Package v1alpha1 contains API Schema definitions for the pingdom v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=pingdom.k8s

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL