K8s Lab 把当前仓库文档整理成一个可阅读的网页站点

Repository Reading Site

service.yaml

manifests/02-apply-chain/service.yaml

Text Assetmanifests/02-apply-chain/service.yaml250 B2026年4月9日 17:36查看原始内容
apiVersion: v1
kind: Service
metadata:
  name: hello-svc
  namespace: learn-k8s
  labels:
    app: hello-deploy
    lesson: apply-chain
spec:
  selector:
    app: hello-deploy
  ports:
  - name: http
    port: 80
    targetPort: 80
  type: ClusterIP