logo
ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0
linux/amd64 ghcr.io

这个镜像是Coroot维护的kube-state-metrics版本,kube-state-metrics是一个从Kubernetes API收集集群资源(如Pod、Deployment、Service等)状态指标的服务,生成的指标可用于监控集群的运行状态和资源情况,方便集成到Prometheus等监控系统中进行分析。

53
浏览次数
274.72MB
镜像大小
源镜像
ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0
镜像ID
sha256:c2bad3e9fdf4f0e466f07a676aa56fe14d224e1232aa4fc8ae7580c9481cdb66
镜像 TAG
2.15.0-ubi9-0
镜像大小
274.72MB
平台架构
linux/amd64
镜像源
ghcr.io
CMD
启动入口
/kube-state-metrics --port=8080 --telemetry-port=8081
工作目录
/
OS/平台
linux/amd64
镜像创建
2025-02-06T05:09:07.305677247Z
同步时间
2026-06-02 17:33
浏览量
53 次
贡献者
🔌 开放端口 2
8080/tcp 8081/tcp
⚙️ 环境变量 2
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
container=oci 1
🏷️ 镜像标签 20
KeyValue
x86_64 architecture
2025-02-06T04:01:28Z build-date
ubi9-container com.redhat.component
https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI com.redhat.license_terms
Kube-state-metrics UBI-based image. description
public distribution-scope
1.38.0-dev io.buildah.version
The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly. io.k8s.description
Red Hat Universal Base Image 9 io.k8s.display-name
io.openshift.expose-services
base rhel9 io.openshift.tags
Coroot, Inc. maintainer
kube-state-metrics name
1 release
Kube-state-metrics summary
https://www.redhat.com url
f224cb95f5b43bbe01ac7468ebdc5b78f26ab4c1 vcs-ref
git vcs-type
Coroot, Inc. vendor
2.15.0 version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0  ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0  ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0

Shell快速替换命令

sed -i 's#ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0  ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0  ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0'

镜像构建历史


# 2025-02-06 13:09:07  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/kube-state-metrics" "--port=8080" "--telemetry-port=8081"]
                        
# 2025-02-06 13:09:07  0.00B 声明容器运行时监听的端口
EXPOSE map[8080/tcp:{} 8081/tcp:{}]
                        
# 2025-02-06 13:09:07  0.00B 指定运行容器时使用的用户
USER 65534:65534
                        
# 2025-02-06 13:09:07  49.38MB 复制新文件或目录到容器中
COPY /kube-state-metrics /kube-state-metrics # buildkit
                        
# 2025-02-06 13:09:07  11.36KB 复制新文件或目录到容器中
COPY LICENSE /licenses/LICENSE # buildkit
                        
# 2025-02-06 13:09:07  0.00B 添加元数据标签
LABEL name=kube-state-metrics vendor=Coroot, Inc. maintainer=Coroot, Inc. version=2.15.0 release=1 summary=Kube-state-metrics description=Kube-state-metrics UBI-based image.
                        
# 2025-02-06 12:09:31  939.00B 
/bin/sh
                        
# 2025-02-06 12:09:17  225.33MB 
/bin/sh -c #(nop) LABEL "build-date"="2025-02-06T04:08:23" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="f224cb95f5b43bbe01ac7468ebdc5b78f26ab4c1" "build-date"="2025-02-06T04:01:28Z" "release"="1738814488"
                        
# 2025-02-06 12:09:16  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2025-02-06 12:09:16  0.00B 
/bin/sh -c #(nop) COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/. 
                        
# 2025-02-06 12:09:16  0.00B 
/bin/sh -c #(nop) COPY dir:63a4287a6e02ef536ab7236227cde983fc555d2501cb8a0770e9b52a5941cb59 in / 
                        
# 2025-02-06 12:09:15  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2025-02-06 12:09:15  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel9"
                        
# 2025-02-06 12:09:15  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2025-02-06 12:09:15  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9"
                        
# 2025-02-06 12:09:15  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2025-02-06 12:09:15  0.00B 
/bin/sh -c #(nop) LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2025-02-06 12:09:15  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 9."
                        
# 2025-02-06 12:09:15  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
                        
# 2025-02-06 12:09:15  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-container"       name="ubi9"       version="9.5"       distribution-scope="public"
                        
# 2025-02-06 12:09:15  0.00B 
/bin/sh -c #(nop) LABEL url="https://www.redhat.com"
                        
# 2025-02-06 12:09:15  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."       vendor="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:c2bad3e9fdf4f0e466f07a676aa56fe14d224e1232aa4fc8ae7580c9481cdb66",
    "RepoTags": [
        "ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0"
    ],
    "RepoDigests": [
        "ghcr.io/coroot/kube-state-metrics@sha256:d5252dffa3548f0cc4181c81ddaf8d0ceb52e889121ad376c887e83b84d0f754",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/kube-state-metrics@sha256:dfb67bae70097ff90091797633640b2c0c0c1fae2fded872951ae8008799d255"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-02-06T05:09:07.305677247Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "65534:65534",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8080/tcp": {},
            "8081/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "container=oci"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "/kube-state-metrics",
            "--port=8080",
            "--telemetry-port=8081"
        ],
        "OnBuild": null,
        "Labels": {
            "architecture": "x86_64",
            "build-date": "2025-02-06T04:01:28Z",
            "com.redhat.component": "ubi9-container",
            "com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
            "description": "Kube-state-metrics UBI-based image.",
            "distribution-scope": "public",
            "io.buildah.version": "1.38.0-dev",
            "io.k8s.description": "The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
            "io.k8s.display-name": "Red Hat Universal Base Image 9",
            "io.openshift.expose-services": "",
            "io.openshift.tags": "base rhel9",
            "maintainer": "Coroot, Inc.",
            "name": "kube-state-metrics",
            "release": "1",
            "summary": "Kube-state-metrics",
            "url": "https://www.redhat.com",
            "vcs-ref": "f224cb95f5b43bbe01ac7468ebdc5b78f26ab4c1",
            "vcs-type": "git",
            "vendor": "Coroot, Inc.",
            "version": "2.15.0"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 274719231,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/cf32da7bdb482150072388aae06160a2cee443aa747b8e47b102e5dafda2070f/diff:/var/lib/docker/overlay2/ad5adb59156d3fc2bec656240989096676a8c876e67032a2c15f71814955c198/diff:/var/lib/docker/overlay2/a039b42d4b4b56bc4643632c26ed6964fdc9121d4cffeb29e8a6732bdec54422/diff",
            "MergedDir": "/var/lib/docker/overlay2/206fd7626b2f5ba198394b9d3cfca7757ab6829ff972d699fcf836db4dc9b52a/merged",
            "UpperDir": "/var/lib/docker/overlay2/206fd7626b2f5ba198394b9d3cfca7757ab6829ff972d699fcf836db4dc9b52a/diff",
            "WorkDir": "/var/lib/docker/overlay2/206fd7626b2f5ba198394b9d3cfca7757ab6829ff972d699fcf836db4dc9b52a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:bdf90d1e391cef0e9bd0c24b7fd21c8938edc29f2103e58c060e413684c0e269",
            "sha256:e2ce389fe0d79dbf5cd8b32d63bc22c96f2b8f76ee37ab8accc294a417b3a1c2",
            "sha256:92dff79af970b05ed59273d7bd858361c37c43c0065cf398e4672ad28e7e735d",
            "sha256:b11e49abdd583a9a715b66f166be44bbd8f011a38f57f4b2cb5a50bb150a531c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-06-02T17:33:26.518170991+08:00"
    }
}

更多版本

ghcr.io/coroot/kube-state-metrics:2.15.0-ubi9-0

linux/amd64 ghcr.io274.72MB2026-06-02 17:33
52
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×