Overview
- Full name
docker.io/istio/examples-helloworld-v1- Registry
- docker.io
- Namespace
- istio
- Repository
- examples-helloworld-v1
- Cached tags
- 2
- Last synced
- 07/05/2026, 05:02 PM
- Topics
Introduction
Istio 官方 HelloWorld 示例镜像,v1 版本微服务用于 Service Mesh 流量治理演示,金丝雀发布与可观测性实验样例。
Details
istio/examples-helloworld-v1 是 Istio 文档中的示例微服务 v1 版本,返回固定版本标识供流量路由验证。定位为 Service Mesh 演示/测试服务,与 v2 版本配合演示金丝雀、镜像流量与故障注入;Istio 学习、CI 网格集成测试或 Envoy 路由规则验证。
快速启动
docker run -d --name helloworld-v1 \
-p 5000:5000 \
docker.io/istio/examples-helloworld-v1:latest
推荐实践
docker run -d --name helloworld-v1 \
--restart unless-stopped \
-p 5000:5000 \
-e SERVICE_VERSION=v1 \
docker.io/istio/examples-helloworld-v1:1.0
核心参数说明
-p 5000:5000— HTTP 服务端口SERVICE_VERSION— 响应中版本标识- 配对 — 与 helloworld-v2 做流量对比
- 场景 — Istio VirtualService 测试
Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: helloworld-v1
spec:
replicas: 2
selector:
matchLabels:
app: helloworld
version: v1
template:
metadata:
labels:
app: helloworld
version: v1
spec:
containers:
- name: helloworld
image: docker.io/istio/examples-helloworld-v1:1.0
ports:
- containerPort: 5000
---
apiVersion: v1
kind: Service
metadata:
name: helloworld
spec:
selector:
app: helloworld
ports:
- port: 5000
targetPort: 5000
配合 Istio DestinationRule 做版本路由。
Latest tags (20)
View all 2 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/istio/examples-helloworld-v1 :latest | linux/arm64linux/amd64 | 2024/03/16 05:44 | 61.4 MB | sha256:50fc9f25931c… | |||
docker.io/istio/examples-helloworld-v1 :1.0 | linux/amd64linux/arm64 | 2024/03/16 05:44 | 63.1 MB | sha256:174e29273de7… |