Cortex是基于Ubuntu的Prometheus长期存储解决方案,由Canonical维护,提供水平扩展、高可用、多租户支持及多种长期存储选项。

4 次收藏下载次数: 0状态:社区镜像维护者:Ubuntu 官方镜像仓库类型:镜像最近更新:3 年前
下载命令
点击查看

Deprecation Notice

This Docker image is deprecated, and will not receive further updates. Cortex v1.11.1 will be the final version published.

Cortex | Ubuntu

Current Cortex Docker Image https://ubuntu.com/security/docker-images, based on Ubuntu. Receives security updates and tracks the newest combination of Cortex and Ubuntu. This repository is free to use and exempted from per-user rate limits.

About Cortex

Cortex provides horizontally scalable, highly available, multi-tenant, long term storage for Prometheus.

  • Horizontally scalable: Cortex can run across multiple machines in a cluster, exceeding the throughput and storage of a single machine. This enables you to send the metrics from multiple Prometheus servers to a single Cortex cluster and run "globally aggregated" queries across all data in a single place.
  • Highly available: When run in a cluster, Cortex can replicate data between machines. This allows you to survive machine failure without gaps in your graphs.
  • Multi-tenant: Cortex can isolate data and queries from multiple different independent Prometheus sources in a single cluster, allowing untrusted parties to share the same cluster.
  • Long term storage: Cortex supports Amazon DynamoDB, Google Bigtable, Cassandra, S3, GCS and Microsoft Azure for long term storage of metric data. This allows you to durably store data for longer than the lifetime of any single machine, and use this data for long term capacity planning.

Read more on the Cortex website.

Tags and Architectures

Up to 5 years free security maintenance on LTS channels.

Up to 10 years customer security maintenance from canonical/cortex. https://ubuntu.com/security/docker-images#get-in-touch.

Tags in italics are not available in ubuntu/cortex but are shown here for completeness.

Channel TagCurrentlyArchitectures
1.11-22.04_beta   Cortex 1.11 on Ubuntu 22.04 LTSamd64, arm64, ppc64el, s390x
track_risk

Channel Tag shows the most stable channel for that track. A track is a combination of both the application version and the underlying Ubuntu series, eg 1.0-22.04. Channels are ordered from the most stable to the least stable, candidate, beta, edge. More risky channels are always implicitly available. So if beta is listed, you can also pull edge. If candidate is listed, you can pull beta and edge. When stable is listed, all four are available. Images are guaranteed to progress through the sequence edge, beta, candidate before stable.

Commercial use and Extended Security Maintenance channels

If your usage includes commercial redistribution or requires unavailable channels/versions, please https://ubuntu.com/security/docker-images#get-in-touch (or using ***).

Usage

Launch this image locally:

sh
docker run -d --name cortex-container -e TZ=UTC -p 32709:9009 ubuntu/cortex:1.11-22.04_beta

Access your Cortex server at http://localhost:32709.

Parameters

ParameterDescription
-e TZ=UTCTimezone.
-p 32709:9009Expose Cortex on localhost:32709.
-v /my/local/cortex.yaml:/etc/cortex/cortex.yamlLocal configuration file cortex.yaml (try https://git.launchpad.net/~ubuntu-docker-images/ubuntu-docker-images/+git/cortex/plain/oci/examples/config/cortex.yaml?h=1.11-22.04).

Testing/Debugging

To debug the container:

sh
docker logs -f cortex-container

To get an interactive shell:

sh
docker exec -it cortex-container /bin/bash

Deploy with Kubernetes

Works with any Kubernetes; if you don't have one, we recommend you https://microk8s.io/ and microk8s.enable dns storage then snap alias microk8s.kubectl kubectl.

Download https://git.launchpad.net/~ubuntu-docker-images/ubuntu-docker-images/+git/cortex/plain/oci/examples/config/cortex.yaml?h=1.11-22.04 and https://git.launchpad.net/~ubuntu-docker-images/ubuntu-docker-images/+git/cortex/plain/oci/examples/cortex-deployment.yml?h=1.11-22.04 and set containers.cortex.image in cortex-deployment.yml to your chosen channel tag (e.g. ubuntu/cortex:1.11-22.04_beta), then:

sh
kubectl create configmap cortex-config --from-file=main-config=cortex.yaml
kubectl apply -f cortex-deployment.yml

You will now be able to connect to the Cortex server on localhost:32709.

Bugs and feature requests

If you find a bug in our image or want to request a specific feature, please file a bug here:

https://bugs.launchpad.net/ubuntu-docker-images/+filebug

Please title the bug "cortex: <issue summary>". Make sure to include the digest of the image you are using, from:

sh
docker images --no-trunc --quiet ubuntu/cortex:<tag>

Deprecated channels & tags

These channels (tags) are not updated anymore. Please upgrade to newer channels, or https://ubuntu.com/security/docker-images#get-in-touch if you can't upgrade.

TrackVersionEOLUpgrade Path
1.10-21.10Cortex 1.10.0 on Ubuntu 21.10 04/2022 1.11-22.04_beta
1.7-21.04Cortex 1.7.0 on Ubuntu 21.04 01/2022 1.10-21.10
1.4-20.04Cortex 1.4.0 on Ubuntu 20.04 LTS01/2021 1.7-21.04
track

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 cortex 镜像标签

docker pull docker.xuanyuan.run/ubuntu/cortex:<标签>

DockerHub 原生拉取命令

docker pull ubuntu/cortex:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告