turbine-operator

command module
v0.0.0-...-25dce4e Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

README

1. deploy

1.1 build

make docker-build docker-push IMG=<some-registry>/<project-name>:tag

1.2 deploy

make install
make deploy IMG=<some-registry>/<project-name>:tag

1.3 create cr

example: create a cr monitor pod with label "monitor: hystrix.stream"
kubectl apply -f config/samples/monitor.wangjl.dev_v1beta1_turbine.yaml

note: one monitor can monitor many hystrixs, and one cr create one monitor.
so monitor can have many.

1.4 label pod want to monitor

example: label pod should be monitor with label "monitor: hystrix.stream"
kubectl patch deployment xxxxx -p '{"spec":{"template":{"metadata":{"labels":{"monitor": "hystrix.stream"}}}}}'

1.5 undeploy

make undeploy

2. view dashboard

get nodeport_port

kubectl get svc turbinedashboard-[turbinemonitor_name]

dashboard addr is

http://[node_ip]]:[nodeport_port]/hystrix/monitor?stream=127.0.0.1%3A8000

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1beta1
Package v1beta1 contains API Schema definitions for the monitor.wangjl.dev v1beta1 API group +kubebuilder:object:generate=true +groupName=monitor.wangjl.dev.wangjl.dev
Package v1beta1 contains API Schema definitions for the monitor.wangjl.dev v1beta1 API group +kubebuilder:object:generate=true +groupName=monitor.wangjl.dev.wangjl.dev

Jump to

Keyboard shortcuts

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