0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-07 23:05:41 +00:00
Commit graph

186 commits

Author SHA1 Message Date
Josh Soref
f39406c9b6
Spelling build ()
* spelling: alleviate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: available

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: berkeley

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cannot

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: centos

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: context

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: continuously

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: correlate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: defaults

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dependencies

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dependency

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: different

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: doesn't

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: example

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: forbidden

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: necessary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: nightly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: normally

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: notification

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: overridden

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: packet

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: program

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: prompted for

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: proxyadmin

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: red hat

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: relative

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: script

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: scriptlet

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: somewhere

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: spinning

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: substitution

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: success

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: successfully

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: sysadmin

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: tarball

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: telemetry

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: temporary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: timeout

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: unsupported

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: updates

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: useful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: way

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Update kickstart script checksums in documentation

Co-authored-by: Vladimir Kobal <vlad@prokk.net>
2021-04-05 08:18:11 -04:00
Ilya Mashchenko
ecf5bab8a2
fix claiming via env vars in docker container () 2021-03-18 22:47:40 +03:00
Austin S. Hemmelgarn
f7735b319d
Fixed detection of already claimed node in Docker images. ()
The name of the path we are checking was incorrect.

Credit to @ilyam8 for noticing this.
2021-03-11 00:27:52 +03:00
Austin S. Hemmelgarn
0a47bbdd6f
Added support for claiming nodes as part of installation. ()
* Added support for claiming nodes as part of installation.

This adds four new options to the `netdata-installer.sh` script:

* `--claim-token`
* `--claim-rooms`
* `--claim-uri`
* `--claim-proxy`

These directly correspond to the `-token`, `-rooms`, `-uri`, and `-proxy`
options for the `netdata-claim.sh` script. They have the following
associated logic:

* If any are specified and the `--disable-cloud` option is also
  specified, we bail and tell the user to either enable the cloud or
  remove the claiming options.
* If only some but not all of the token, rooms, and uri options  are
  specified, we bail and tell the user that they must pass all three.
* If all three of the token, rooms, and uri are specified, we invoke the
  `netdata-claim.sh` script for the install itself as one of the last
  steps in the installation process, using the values passed to these
  options.

This allows users to directly claim the agent as part of the install,
which is useful for automated installation scenarios.

* Add missing space as suggested by @knatsakis

* Properly handle installs in /.

* Properly handle unprefixed installs.

* Fix another spelling error in an option name.

* Properly fix option naming.

* Move claiming into kickstart script instead of netdata-installer.

This makes us more future-proof.

The required changes also fix some buggy behavior in the option parsing
code in the kickstart scripts.

* Fix checksums.

* Sanely handle the daemon not running during the claiming process.

* Silence incorrect shellcheck warning.

* Simplify condition as suggested by @vkalintiris.

* Clean up old changes that should not be here anymore.

These are leftovers from an earlier revision, they are not actually
needed.

* Add ID generation logic to the claiming script.

This lets it reliably claim nodes which have not yet had the daemon run.

Also fixes a consistency issue in the claiming logic in the Docker
entrypoint.
2021-03-08 08:12:22 -05:00
Austin S. Hemmelgarn
dbed7b51fc
Changed Docker image tagging to use semver tags for releases. ()
* Changed Docker image tagging to use semver tags for releases.

This allows users to use image names like `netdata/netdata:1` or
`netdata/netdata@1.29` and track the most up-to-date release that
matches that version prefix.

Such usage is a common practice for projects using semantic versioning
like we are.

This has a side effect, however, of remivng the `v` from the start of
our version tags. Not having it is also more consistent with how a vast
majority of other projects handle version tags, but users will need to
be notified about the change.

* Proper backwards compatability.

* Add documentation about Docker image tags.

* Update packaging/docker/README.md

Co-authored-by: Joel Hans <joel.g.hans@gmail.com>

Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
2021-03-04 07:35:05 -05:00
Josh Soref
f4193c3b5c
Spelling md ()
* spelling: activity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: adding

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: addresses

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: administrators

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: alarm

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: alignment

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: analyzing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: apcupsd

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: apply

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: around

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: associated

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: automatically

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: availability

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: background

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: bandwidth

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: berkeley

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: between

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: celsius

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: centos

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: certificate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cockroach

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: collectors

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: concatenation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: configuration

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: configured

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: continuous

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: correctly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: corresponding

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cyberpower

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: daemon

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dashboard

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: database

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: deactivating

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dependencies

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: deployment

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: determine

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: downloading

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: either

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: electric

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: entity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: entrant

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: enumerating

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: environment

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: equivalent

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: etsy

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: everything

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: examining

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: expectations

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: explicit

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: explicitly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: finally

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: flexible

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: further

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: hddtemp

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: humidity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: identify

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: importance

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: incoming

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: individual

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: initiate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: installation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: integration

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: integrity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: involuntary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: issues

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: kernel

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: language

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: libwebsockets

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: lighttpd

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: maintained

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: meaningful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: memory

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: metrics

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: miscellaneous

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: monitoring

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: monitors

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: monolithic

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: multi

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: multiplier

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: navigation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: noisy

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: number

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: observing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: omitted

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: orchestrator

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: overall

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: overridden

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: package

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: packages

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: packet

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: pages

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: parameter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: parsable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: percentage

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: perfect

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: phpfpm

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: platform

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: preferred

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: prioritize

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: probabilities

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: process

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: processes

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: program

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: qos

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: quick

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: raspberry

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: received

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: recvfile

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: red hat

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: relatively

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: reliability

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: repository

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: requested

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: requests

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: retrieved

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: scenarios

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: see all

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: supported

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: supports

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: temporary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: tsdb

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: tutorial

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: updates

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: utilization

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: value

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: variables

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: visualize

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: voluntary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: your

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-01-18 07:43:43 -05:00
Austin S. Hemmelgarn
7ffe03690b
Switch to using GitHub Actions for publishing Docker images. ()
* Switch to using GitHub Actions for publishing Docker images.

This simplifies handling of multiarch images and publishing to multiple
registries, and unifies testing with the code actually being used to
build and publish the images.

This also removes a handful of scripts that are no longer needed due to
this change, and switches our Dockerfile to not needing an architecture
to be specified in a build argument, instead relying on proper multiarch
docker image support.

* Fix YAML syntax.

* Add separate tagging for nightly and stable builds.

* Correct YAML syntax errors.
2021-01-15 09:45:05 -05:00
Austin S. Hemmelgarn
a2ca19d13d
Fixed use of multiarch/qemu-user-static image for Docker builds. () 2020-12-10 15:58:00 -05:00
Austin S. Hemmelgarn
77180a4296
Explicitly set platform for Docker builds. ()
Needed to accomodate our new handling of our base and builder images.
2020-12-09 16:27:13 -05:00
Austin S. Hemmelgarn
a3ada60496
Added numerous improvements to our Docker image. ()
* Initial cleanup of Docker entrypoint script.

* Add linting for our Docker files.

* Fix warnings reported by hadolint.

* Add support for automatic claiming on startup.

* Optimize Docker image structure.

This shuffles some things around in the Docker image to cut down on the
total number of layers and make the image more caching friendly, which
will cut down on overall time required to both initially pull the image
and time spent pulling updated versions of the image.

It also shrinks the image size by about 2MB.
2020-12-09 07:18:35 -05:00
Joel Hans
dee7d47569
Add documentation for configuring/editing hostnames of Docker-run Agents ()
* Add doc for Docker hostname

* Small tweak

* Remove extra w
2020-10-26 13:54:46 -04:00
Konstantinos Natsakis
cac39ebd2d
Rename NETDATA_PORT to NETDATA_LISTENER_PORT ()
Because it clashes with a kubernetes defined NETDATA_PORT variable: Our Helm
chart creates a service called netdata which in turn makes kubernetes export a
NETDATA_PORT environment variable with a value like tcp://<ip>:19999 which is
not parsable by the netdata agent as a value to the `-p` argument.
2020-10-09 15:02:29 +03:00
Joel Hans
09127f1e9f
Add persistent configuration details to Docker docs ()
* Add new config details

* Add bind mount to README

* Add config to compose file
2020-09-16 06:45:39 -07:00
thiagoftsm
0d8972d9c1
Unix socket docker ()
* unix_socket_docker: New section for docker documentation

* unix_socket_docker: Minor grammar changes
2020-09-15 12:37:18 +10:00
pando85
a0823f4dbb
Fix docker packaging caddyserver basicauth link () 2020-08-24 08:46:12 -07:00
James Mills
e3f918aadb
Fix netdata/netdata Docker image size ()
* Fix netdata/netdata Docker image size

* Rebased on master
2020-08-19 15:40:07 +10:00
Austin S. Hemmelgarn
83bf2924aa
Removed runtime support for Polymorphic Linux from our Docker containers. ()
* Remove runtime support for Polymorphic Linux from our Docker containers.

This removes our runtime support for Polyverse's Polymorphic Linux from
our Docker containers. The actual support is currently broken due to
upstream changes, but we have decided to just remove it instead of
fixing it due to it providing limited practical benefit to our users and
not being supported across all of our supported platforms.

We had previously removed build-time usage of this functionality for the
same reasons to reduce the final image size for our 64-bit x86 Docker
images.

* Remove docs for Polyverse support.
2020-07-23 07:12:57 -04:00
Joel Hans
145ba882e8
Fix broken link to Polyverse in Docker documentation ()
* Fix broken link

* Fix other broken link
2020-07-01 09:58:44 -04:00
Austin S. Hemmelgarn
ed8a6bea17
Added health check functionality to our Docker images. ()
* Add a `ping` command to netdatacli to check if agent is alive.

This provides a way to trivially check if the agent itself appears to be
running (namely, the command parser for netdatacli in the agent itself
is working and responding), allowing users to check this without having
to rely on us continuing to have `help` be a command sent to the agent
instead of executing locally.

* Add a basic health check to our docke rimages.

This adds a relatively basic health checker script to our Docker images.
By default it verifies that the `/api/v1/info` endpoint returns a 200
status code.

It also supports checking different endpoints or using `netdatacli ping`
to check that Netdata is running, all controlled by a new Docker
environment variable: `NETDATA_HEALTH_CHECK`.

* Avoid unnessecary `chmod` in Dockerfile.

Suggested by @prologic.

* Fix typo in docs.

* Update environment variable name to be more clear.

Also add `-L` to `curl` command in health check to follow redirects.
2020-05-28 18:29:56 +10:00
Joel Hans
000197b770
Docs: Update contributing guidelines ()
* Update docs contributing

* Remove other instances of docs.netdata.cloud

* Rebase and add a few more updates

* Cleanup, descriptions, grammar check

* Fix link

* Add text about Cloud docs, links, fixes for Zack
2020-05-19 12:56:52 -07:00
Austin S. Hemmelgarn
9511af410d
Removeed Polyverse Polymorphic Linux from Docker builds. ()
* Removeed Polyverse Polymorphic Linux from Docker images.

It ends up using roughly 140MB of extra space, only works for 64-bit x86,
and the benefits for a majority of our users range from questionale to
completely non-existent.

* Update docs and add runtime support for Polyverse.
2020-05-19 15:11:13 -04:00
Ashley
8a2b8ccedc
Caddy section lacked data persist volumes ()
The Docker Compose example in the Caddy section didn't include the important volumes:
      - netdatalib:/var/lib/netdata
      - netdatacache:/var/cache/netdata
2020-05-13 07:02:26 -07:00
Andrew Moss
aa3ec552c8
Enable support for Netdata Cloud.
This PR merges the feature-branch to make the cloud live. It contains the following work:
Co-authored-by: Andrew Moss <1043609+amoss@users.noreply.github.com(opens in new tab)>
Co-authored-by: Jacek Kolasa <jacek.kolasa@gmail.com(opens in new tab)>
Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud(opens in new tab)>
Co-authored-by: James Mills <prologic@shortcircuit.net.au(opens in new tab)>
Co-authored-by: Markos Fountoulakis <44345837+mfundul@users.noreply.github.com(opens in new tab)>
Co-authored-by: Timotej S <6674623+underhood@users.noreply.github.com(opens in new tab)>
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com(opens in new tab)>
* dashboard with new navbars, v1.0-alpha.9: PR 
* dashboard v1.0.11: 
Co-authored-by: Jacek Kolasa <jacek.kolasa@gmail.com(opens in new tab)>
* Added installer code to bundle JSON-c if it's not present. PR 
Co-authored-by: James Mills <prologic@shortcircuit.net.au(opens in new tab)>
* Fix claiming config PR 
* Adds JSON-c as hard dep. for ACLK PR 
* Fix SSL renegotiation errors in old versions of openssl. PR . Also - we have a transient problem with opensuse CI so this PR disables them with a commit from @prologic.
Co-authored-by: James Mills <prologic@shortcircuit.net.au(opens in new tab)>
* Fix claiming error handling PR 
* Added CI to verify JSON-C bundling code in installer PR 
* Make cloud-enabled flag in web/api/v1/info be independent of ACLK build success PR 
* Reduce ACLK_STABLE_TIMEOUT from 10 to 3 seconds PR 
* remove old-cloud related UI from old dashboard (accessible now via /old suffix) PR 
* dashboard v1.0.13 PR 
* dashboard v1.0.14 PR 
* Provide feedback on proxy setting changes PR 
* Change the name of the connect message to update during an ongoing session PR 
* Fetch active alarms from alarm_log PR 
2020-05-11 16:37:27 +10:00
Joel Hans
95a5f93640
Docs: Add instructions to persist metrics and restart policy ()
* Add restart policy and some cleanup

* Add persistence config

* Slightly better language

* Fix for Ilya

* Move to -v syntax
2020-05-07 09:55:34 -07:00
Charlie Arehart
513330c2de
correct typo () 2020-04-30 12:41:33 +10:00
Konstantinos Natsakis
876e9e6529
packaging/docker/{build,publish}.sh: Simplify scripts. Support only single ARCH ()
* packaging/docker/{build,publish}.sh: Simplify scripts. Support only single ARCH

* packaging/docker/build.sh: Remove eval
2020-04-23 00:29:42 +03:00
Konstantinos Natsakis
2e7292a1a0
packaging/docker/publish.sh: Wait for tag to appear in hub.docker.com ()
* packaging/docker/publish.sh: Wait for tag to be really published

* Fix typo

* .travis/utils.sh: Export defined functions too

* packaging/docker/publish.sh: Keep shellcheck happy

* packaging/docker/publish.sh: Fix typo
2020-04-16 14:00:45 +03:00
Konstantinos Natsakis
bd0bae3d1a
Remove useless scripts () 2020-04-15 10:43:51 +03:00
Joel Hans
e99692f145
Docs: Standardize links between documentation ()
* Trying out some absolute-ish links

* Try one out on installer

* Testing logic

* Trying out some more links

* Fixing links

* Fix links in python collectors

* Changed a bunch more links

* Fix build errors

* Another push of links

* Fix build error and add more links

* Complete first pass

* Fix final broken links

* Fix links to files

* Fix for Netlify

* Two more fixes
2020-04-14 10:26:13 -07:00
Konstantinos Natsakis
59916b01b8
packaging/docker/{build,publish}.sh: Remove DEVEL support () 2020-04-14 19:00:17 +03:00
Konstantinos Natsakis
e4f320ab61
packaging/docker/publish.sh: Publish docker images synchronously () 2020-04-14 17:34:29 +03:00
Andrew Moss
fe722cb2a4
Improve the behavior of claiming ()
The default cloud url has been updated to app.netdata.cloud ready for the release. The claiming process now checks the current user executing claiming and refuses to perform the claim for the wrong user. If the current UID is 0 then claiming proceeds but the file ownership is adjusted to be the correct netdata user. The default expected user is `netdata` unless the script can identify the user from the current configuration. After the claiming script is executed the CLI is used to reload the claiming state.
2020-03-31 13:07:24 +02:00
Nicolás Parada
7e5f8c61f0
packaging/docker: add --build-arg CFLAGS support () 2020-03-25 20:48:50 -03:00
Austin S. Hemmelgarn
bdc2d99c35
Added Docker build arg to pass extra options to installer. ()
This adds a build argument to the main Dockerfile to allow passing extra
options to the netdata-installer script during the build process.

The value specified in the `EXTRA_INSTALL_OPTS` argument wil be added
verbatm to the netdata-installer.sh script. The arguments
`--dont-start-it` and `--dont-wait` are still implicitly passed to the
script as those are required to get a correctly functioning Docker
image.
2020-03-24 15:37:40 -04:00
Andrew Moss
2803fb959f
Installer creates claim.d but is run as root, patch to correct ownership () 2020-03-24 19:44:11 +01:00
Andrew Moss
ef3fb62850
Adding the claiming script to the packaging multi-stage Dockerfile whitelist () 2020-03-23 20:41:54 +01:00
Joel Hans
9342704a41
Bulk add frontmatter to all documentation ()
* Bulk add frontmatter

* A few extra edge cases
2020-03-10 14:29:51 -07:00
Lasse Bang Mikkelsen
b5d8898ed9
Fix setuid for freeipmi.plugin in Docker images () 2020-02-03 11:04:07 +02:00
James Mills
c47e7aac52
Fixes a bug in DO_NOT_TRACK expression ()
* Fixed bug in DO_NOT_TRACK expression

* Fix kickstart-static64 checksum in docs.

Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
2020-01-31 07:52:22 -05:00
James Mills
38ad89fc2b
Adds support for opting out of telemetry via the DO_NOT_TRACK envirnment variable ()
* Added support for opting out of telemtry via the DO_NOT_TRACK environment variable

* Added support for DO_NOT_TRACK=1 in anonymous-statistics.sh and minor cleanup in Dockerfile and run.sh entrypoint

* Allow DO_NOT_TRACK to be either non-zero or non-empty

* Update md5sum of kickstart-static64.sh in docs

* Fixed a bug in netdata-installer.sh

* Revert changes to daemon/main.c (testing onyl)

* Update docs/anonymous-statistics.md

Co-Authored-By: Mansour Behabadi <57921115+ncmans@users.noreply.github.com>

Co-authored-by: Mansour Behabadi <57921115+ncmans@users.noreply.github.com>
2020-01-30 09:49:23 +10:00
Mansour Behabadi
165aa68c94
Add release channel customization to docker build ()
* Add release channel customization to docker build

* Add release channel to travis config

* Build releases with stable channel

* Update packaging/docker/build.sh

Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>

* Update packaging/docker/build.sh

Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>

Co-authored-by: Mansour Behabadi <mansour@oxplot.com>
Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
2020-01-29 11:03:22 +11:00
Andrew Moss
49f6950820
Issue 7488 docker labels ()
Improve the metadata detection for containers. The system_info structure has been updated to hold separate copies of OS_NAME, OS_ID, OS_ID_LIKE, OS_VERSION, OS_VERSION_ID and OS_DETECTION for both the container environment and the host. This new information is communicated through the /api/v1/info endpoint. For the streaming interface a partial copy of the info is carried until the stream protocol is upgraded. The anonymous_statistics script has been updated to carry the new data to Google Analytics. Some minor improvements have been made to OS-X / FreeBSD detection, and the detection of virtualization. The docs have been updated to explain how to pass the host environment to the docker container running Netdata.
2020-01-21 16:08:59 +01:00
Joel Hans
9bccf7afc9
Docs: Improve documentation of opting out of anonymous statistics ()
* Added anon stats to installer page

* Added notes to other pages

* Tweaks to main README and docs homepage

* Path fix

* Tweak and add to Docker page

* Fixing issues from Mansour & Timo

* Linter fixes
2020-01-08 10:44:44 +02:00
Steven Hartland
cd7abaa69d feat(docker): Add freeipmi support ()
Add freeipmi support to the docker image.

Also:
* Speed up build by copying dependencies instead of installing them.
2020-01-06 07:01:33 -05:00
Mansour Behabadi
4edc7e907e Add anon tracking notice for installers ()
* Show notice of anonymous data collection

* Add DO_NOT_TRACK env var to docker run script

* Add disable-telemetry option to kickstart-static64

* Check if DO_NOT_TRACK is set
2019-12-19 15:06:37 -05:00
Chris
27c58418e4 Make the docker image to run as arbitrary user ()
In container runtime with arbitrary user (e.g. Openshift)
there are permission problems when trying to start
2019-12-18 08:01:28 -05:00
Austin S. Hemmelgarn
2412ad1f45
Force repository name in tag to be lowercase. ()
Docker requires that tags be all lowercase. This has not previously been
an issue, but causes build failures for people with Netdata forks who
have upercase characters in their GitHub username.
2019-12-13 07:37:02 -05:00
Joel Hans
998470b66b
Fixing linter errors in packaging/docker/README ()
* Linters and typos on packaging/docker/README

* Typo fix
2019-12-02 13:23:00 -07:00
Joel Hans
a33c846ac3
Fixed Caddy line () 2019-11-20 11:51:55 -07:00
Konstantinos Natsakis
07fc4b0dcd .travis.yml: Build docker images in parallel ()
* packaging/docker/{build,publish}.sh: Ability to externally defined ARCHS

* .travis.yml: Run docker build and release jobs in parallel
2019-08-22 18:28:15 +03:00