From 5249281d52e8da23bae8b3e1571bdffc17e74a6b Mon Sep 17 00:00:00 2001 From: waiting <1661926154@qq.com> Date: Fri, 26 Apr 2019 17:01:38 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BD=BF=E7=94=A8=E9=95=9C=E5=83=8F=20?= =?UTF-8?q?nginx:alpine=20=E6=9B=BF=E4=BB=A3=20nginx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/guide/ingress-tls.md | 2 +- docs/guide/ingress.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/ingress-tls.md b/docs/guide/ingress-tls.md index 5e44173..cff9178 100644 --- a/docs/guide/ingress-tls.md +++ b/docs/guide/ingress-tls.md @@ -26,7 +26,7 @@ $ kubectl apply -f /etc/ansible/manifests/ingress/traefik/tls/traefik-controller ``` bash # 创建示例应用 -$ kubectl run test-hello --image=nginx --port=80 --expose +$ kubectl run test-hello --image=nginx:alpine --port=80 --expose # hello-tls-ingress 示例 apiVersion: extensions/v1beta1 kind: Ingress diff --git a/docs/guide/ingress.md b/docs/guide/ingress.md index 8bd5c0f..d3e815a 100644 --- a/docs/guide/ingress.md +++ b/docs/guide/ingress.md @@ -47,7 +47,7 @@ traefik-ingress-service NodePort 10.68.69.170 80:23456/TCP,8 + 首先创建测试用K8S应用,并且该应用服务不用nodePort暴露,而是用ingress方式让外部访问 ``` bash -kubectl run test-hello --image=nginx --expose --port=80 +kubectl run test-hello --image=nginx:alpine --expose --port=80 ## # kubectl get deploy test-hello NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE