Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probes - boilerplate and first probe #474

Merged
merged 1 commit into from
Apr 11, 2019

Conversation

mm4tt
Copy link
Contributor

@mm4tt mm4tt commented Apr 2, 2019

Probes are simple jobs running inside kubernetes cluster measuring SLIs that could not be measured through other means.

This PR introduces probes boilerplate and implements two probes for measuring the in-cluster network latency SLI.

Ref. kubernetes/kubernetes#76012

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 2, 2019
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 2, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
@mm4tt
Copy link
Contributor Author

mm4tt commented Apr 2, 2019

/assign @wojtek-t

mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 2, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 2, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
@mm4tt mm4tt changed the title Probes - job code & docker image. Probes - boilerplate and first probe Apr 2, 2019
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 3, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
probes/Dockerfile Outdated Show resolved Hide resolved
probes/Dockerfile Outdated Show resolved Hide resolved
WORKDIR /go/src/$gopkg
RUN CGO_ENABLED=0 go build -o /workspace/probes ./cmd

FROM golang:1.12-alpine
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why de we need alpine?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alpine is 3 times smaller: ~100MB vs ~300MB.

probes/Dockerfile Show resolved Hide resolved
probes/README.md Show resolved Hide resolved
probes/pkg/ping/client/client.go Outdated Show resolved Hide resolved
probes/Dockerfile Show resolved Hide resolved
probes/pkg/ping/client/client.go Outdated Show resolved Hide resolved
probes/pkg/ping/client/client.go Outdated Show resolved Hide resolved
probes/pkg/ping/client/client.go Outdated Show resolved Hide resolved
probes/pkg/ping/client/client.go Outdated Show resolved Hide resolved
probes/pkg/ping/client/client.go Outdated Show resolved Hide resolved
probes/pkg/ping/server/server.go Outdated Show resolved Hide resolved
probes/pkg/ping/server/server.go Show resolved Hide resolved
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 8, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 10, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 10, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 10, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
Probes are simple jobs running inside kubernetes cluster measuring SLIs that could not be measured through other means.

Ref. kubernetes/kubernetes#76012
@wojtek-t
Copy link
Member

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 11, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mm4tt, wojtek-t

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 11, 2019
@k8s-ci-robot k8s-ci-robot merged commit a56b8a8 into kubernetes:master Apr 11, 2019
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 16, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 16, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 16, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 16, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 17, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
mm4tt added a commit to mm4tt/perf-tests that referenced this pull request Apr 18, 2019
Probes definition can be found in kubernetes#474

The feature is guarded by the enable-probes flag, will be enabling it gradually.

Ref. kubernetes/kubernetes#76012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants