prometheus-meta-operator

command module
v1.49.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

README

CircleCI Docker Repository on Quay

prometheus-meta-operator

The prometheus-meta-operator watches Cluster CRs and creates prometheus-operator CRs. It is implemented using operatorkit.

Getting Project

Clone the git repository: https://github.com/giantswarm/prometheus-meta-operator.git

How to build

Build it using the standard go build command.

go build github.com/giantswarm/prometheus-meta-operator
How to update upstream code

We store modified upstream code for our own usage.

  • pkg/alertmanager/config
  • pkg/prometheus/common/config

Example on how to update pkg/alertmanager/config :

$ git checkout -b upstream-code
$ git tag -d $(git tag -l)
$ git remote add -f alertmanager https://github.com/prometheus/alertmanager.git
$ git checkout v0.22.2
$ git subtree split -P config/ -b alertmanager-config
$ git checkout upstream-code
$ git subtree merge --squash -P pkg/alertmanager/config alertmanager-config
# fix conflicts if any and commit
# push for review
$ git push -u origin HEAD

# restore local tags
$ git tag -d $(git tag -l)
$ git fetch origin

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
Package server provides a server implementation to connect network transport protocols and service business logic by defining server endpoints.
Package server provides a server implementation to connect network transport protocols and service business logic by defining server endpoints.
Package service implements business logic to create Kubernetes resources against the Kubernetes API.
Package service implements business logic to create Kubernetes resources against the Kubernetes API.
key

Jump to

Keyboard shortcuts

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