quay.io/kiwigrid/k8s-sidecar:1.26.1 linux/amd64

quay.io/kiwigrid/k8s-sidecar:1.26.1 - 国内下载镜像源 浏览次数:40

kiwigrid/k8s-sidecar是 Kubernetes sidecar容器镜像

该镜像提供了一种灵活的方式来扩展Kubernetes集群,添加sidecar容器以实现日志记录、 metrics收集、网络代理等功能

它支持多种sidecar模式,包括logging、metrics、proxy等

kiwigrid/k8s-sidecar是Quay.io上的一款open-source镜像

源镜像 quay.io/kiwigrid/k8s-sidecar:1.26.1
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar:1.26.1
镜像ID sha256:2e6ed1888609ccd4029957208a6486a1693123dc7692beb7b64c1af3fdd4c190
镜像TAG 1.26.1
大小 82.46MB
镜像源 quay.io
CMD python -u /app/sidecar.py
启动入口
工作目录 /app
OS/平台 linux/amd64
浏览量 40 次
贡献者
镜像创建 2024-03-07T06:19:07.301731084Z
同步时间 2025-03-19 22:00
更新时间 2025-04-03 20:35
环境变量
PATH=/app/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305 PYTHON_VERSION=3.12.2 PYTHON_PIP_VERSION=24.0 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9 PYTHONUNBUFFERED=1
镜像标签
K8s sidecar image to collect configmaps and secrets as files: org.opencontainers.image.description MIT: org.opencontainers.image.licenses https://github.com/kiwigrid/k8s-sidecar: org.opencontainers.image.source

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar:1.26.1
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar:1.26.1  quay.io/kiwigrid/k8s-sidecar:1.26.1

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar:1.26.1
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar:1.26.1  quay.io/kiwigrid/k8s-sidecar:1.26.1

Shell快速替换命令

sed -i 's#quay.io/kiwigrid/k8s-sidecar:1.26.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar:1.26.1#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar:1.26.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar:1.26.1  quay.io/kiwigrid/k8s-sidecar:1.26.1'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar:1.26.1 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar:1.26.1  quay.io/kiwigrid/k8s-sidecar:1.26.1'

镜像构建历史


# 2024-03-07 14:19:07  0.00B 设置默认要执行的命令
CMD ["python" "-u" "/app/sidecar.py"]
                        
# 2024-03-07 14:19:07  0.00B 指定运行容器时使用的用户
USER 65534:65534
                        
# 2024-03-07 14:19:07  0.00B 设置环境变量 PATH
ENV PATH=/app/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-03-07 14:19:07  30.67MB 复制新文件或目录到容器中
COPY /app /app # buildkit
                        
# 2024-03-07 14:18:40  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2024-03-07 14:18:40  0.00B 设置环境变量 PYTHONUNBUFFERED
ENV PYTHONUNBUFFERED=1
                        
# 2024-03-07 14:18:40  0.00B 添加元数据标签
LABEL org.opencontainers.image.licenses=MIT
                        
# 2024-03-07 14:18:40  0.00B 添加元数据标签
LABEL org.opencontainers.image.description=K8s sidecar image to collect configmaps and secrets as files
                        
# 2024-03-07 14:18:40  0.00B 添加元数据标签
LABEL org.opencontainers.image.source=https://github.com/kiwigrid/k8s-sidecar
                        
# 2024-02-07 14:43:27  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2024-02-07 14:43:27  10.16MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		wget -O get-pip.py "$PYTHON_GET_PIP_URL"; 	echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; 		export PYTHONDONTWRITEBYTECODE=1; 		python get-pip.py 		--disable-pip-version-check 		--no-cache-dir 		--no-compile 		"pip==$PYTHON_PIP_VERSION" 	; 	rm -f get-pip.py; 		pip --version # buildkit
                        
# 2024-02-07 14:43:27  0.00B 设置环境变量 PYTHON_GET_PIP_SHA256
ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
                        
# 2024-02-07 14:43:27  0.00B 设置环境变量 PYTHON_GET_PIP_URL
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
                        
# 2024-02-07 14:43:27  0.00B 设置环境变量 PYTHON_PIP_VERSION
ENV PYTHON_PIP_VERSION=24.0
                        
# 2024-02-07 14:43:27  32.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	for src in idle3 pydoc3 python3 python3-config; do 		dst="$(echo "$src" | tr -d 3)"; 		[ -s "/usr/local/bin/$src" ]; 		[ ! -e "/usr/local/bin/$dst" ]; 		ln -svT "$src" "/usr/local/bin/$dst"; 	done # buildkit
                        
# 2024-02-07 14:43:27  32.60MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		apk add --no-cache --virtual .build-deps 		gnupg 		tar 		xz 				bluez-dev 		bzip2-dev 		dpkg-dev dpkg 		expat-dev 		findutils 		gcc 		gdbm-dev 		libc-dev 		libffi-dev 		libnsl-dev 		libtirpc-dev 		linux-headers 		make 		ncurses-dev 		openssl-dev 		pax-utils 		readline-dev 		sqlite-dev 		tcl-dev 		tk 		tk-dev 		util-linux-dev 		xz-dev 		zlib-dev 	; 		wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; 	wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; 	GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; 	gpg --batch --verify python.tar.xz.asc python.tar.xz; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" python.tar.xz.asc; 	mkdir -p /usr/src/python; 	tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; 	rm python.tar.xz; 		cd /usr/src/python; 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 	./configure 		--build="$gnuArch" 		--enable-loadable-sqlite-extensions 		--enable-optimizations 		--enable-option-checking=fatal 		--enable-shared 		--with-lto 		--with-system-expat 		--without-ensurepip 	; 	nproc="$(nproc)"; 	EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; 	LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:-}" 		"PROFILE_TASK=${PROFILE_TASK:-}" 	; 	rm python; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 		"PROFILE_TASK=${PROFILE_TASK:-}" 		python 	; 	make install; 		cd /; 	rm -rf /usr/src/python; 		find /usr/local -depth 		\( 			\( -type d -a \( -name test -o -name tests -o -name idle_test \) \) 			-o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) 		\) -exec rm -rf '{}' + 	; 		find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' 		| tr ',' '\n' 		| sort -u 		| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' 		| xargs -rt apk add --no-network --virtual .python-rundeps 	; 	apk del --no-network .build-deps; 		python3 --version # buildkit
                        
# 2024-02-07 14:43:27  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.12.2
                        
# 2024-02-07 14:43:27  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
                        
# 2024-02-07 14:43:27  1.65MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apk add --no-cache 		ca-certificates 		tzdata 	; # buildkit
                        
# 2024-02-07 14:43:27  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2024-02-07 14:43:27  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-01-27 08:30:48  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2024-01-27 08:30:48  7.38MB 
/bin/sh -c #(nop) ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in / 
                        
                    

镜像信息

{
    "Id": "sha256:2e6ed1888609ccd4029957208a6486a1693123dc7692beb7b64c1af3fdd4c190",
    "RepoTags": [
        "quay.io/kiwigrid/k8s-sidecar:1.26.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar:1.26.1"
    ],
    "RepoDigests": [
        "quay.io/kiwigrid/k8s-sidecar@sha256:b8d5067137fec093cf48670dc3a1dbb38f9e734f3a6683015c2e89a45db5fd16",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/kiwigrid/k8s-sidecar@sha256:085412ae4fa82f42dd2e6b4654597396998f6c19be0e74c759b8a485df78d1aa"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-03-07T06:19:07.301731084Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "65534:65534",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/app/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305",
            "PYTHON_VERSION=3.12.2",
            "PYTHON_PIP_VERSION=24.0",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9",
            "PYTHONUNBUFFERED=1"
        ],
        "Cmd": [
            "python",
            "-u",
            "/app/sidecar.py"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.description": "K8s sidecar image to collect configmaps and secrets as files",
            "org.opencontainers.image.licenses": "MIT",
            "org.opencontainers.image.source": "https://github.com/kiwigrid/k8s-sidecar"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 82460125,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/e191539ec26ca7b6f1ac188f13cb2a7cd553000b6554ef49e8f9f3cc75dea851/diff:/var/lib/docker/overlay2/24eddf7766adc7cd04fb5f5d8072c61b39f25405dd506250c73b3dc73be747a8/diff:/var/lib/docker/overlay2/dcf9fecd57b7c9d456e22e031a7cd7273ca5db3efe9448d423ccbcd6c22dec96/diff:/var/lib/docker/overlay2/cf8f431c9ae6bbb99c79b42ee88ae9fbebfb2f7a341d61e7f45b7dde5d852e14/diff:/var/lib/docker/overlay2/0ff92b0a7cde9f4540cd49c265f30aa6ea6b09d2663220dce32c91b6236e4b38/diff:/var/lib/docker/overlay2/9c7dcad657777b456c3f735fca68431775b6667c41e98b8146e134b8ef0b1e43/diff",
            "MergedDir": "/var/lib/docker/overlay2/293efd316ce18a09dc81fe283bb7348b67eb22863feaa6455e3c26a388e66756/merged",
            "UpperDir": "/var/lib/docker/overlay2/293efd316ce18a09dc81fe283bb7348b67eb22863feaa6455e3c26a388e66756/diff",
            "WorkDir": "/var/lib/docker/overlay2/293efd316ce18a09dc81fe283bb7348b67eb22863feaa6455e3c26a388e66756/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d4fc045c9e3a848011de66f34b81f052d4f2c15a17bb196d637e526349601820",
            "sha256:678cac8b069e3d95557415ac228c218d0fff534f1282c9c791b9736f89a7cea2",
            "sha256:0c9bfb14c90967442936ad7ddc5d2cccbeff4dd9858d7458f742b05255aff56f",
            "sha256:d2968c01735ee2fb58f3149baec055f34a18b145da1cf9f99d59eda1652cd4ba",
            "sha256:5305019f4685621629d9aeca965ef6c76b6cedaae596887a36e8dffbd070acd8",
            "sha256:52b4c0c15e7f5141e1328c4fb4e3beef285aeb0c7199fac4c607bb71f017534e",
            "sha256:28bc10b03ae240d9448a95b7e97f27e5c3ebc408ea0e3160e031f5b98a058228"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-19T21:59:59.916209302+08:00"
    }
}

更多版本

quay.io/kiwigrid/k8s-sidecar:1.27.4

linux/amd64 quay.io83.04MB2024-08-22 10:02
239

quay.io/kiwigrid/k8s-sidecar:1.22.0

linux/amd64 quay.io78.76MB2024-10-23 17:55
133

quay.io/kiwigrid/k8s-sidecar:1.24.3

linux/arm64 quay.io77.60MB2024-11-01 09:45
107

quay.io/kiwigrid/k8s-sidecar:1.25.2

linux/arm64 quay.io84.13MB2024-11-06 21:37
113

quay.io/kiwigrid/k8s-sidecar:1.19.2

linux/amd64 quay.io75.84MB2024-11-12 10:22
111

quay.io/kiwigrid/k8s-sidecar:1.28.0

linux/amd64 quay.io80.55MB2025-02-17 13:26
78

quay.io/kiwigrid/k8s-sidecar:1.26.1

linux/amd64 quay.io82.46MB2025-03-19 22:00
39

quay.io/kiwigrid/k8s-sidecar:1.19.2

linux/arm64 quay.io75.07MB2025-03-20 10:10
40