From 3e1e12d145d124ce26b09cb954da037099851552 Mon Sep 17 00:00:00 2001 From: kino Date: Sun, 23 Oct 2022 00:46:33 +0800 Subject: [PATCH] k8s --- README.md | 1 - note/Kubernetes/k8s-pod.md | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5733a1c..c968f8d 100644 --- a/README.md +++ b/README.md @@ -459,7 +459,6 @@ * [Kubernetes Token过期的问题](note/Kubernetes/解决K8S-Token过期的问题.md) * [Kubernetes YAML文件配置详解](note/Kubernetes/k8s-YAML文件配置详解.md) * [Kubernetes 常用操作命令](note/Kubernetes/k8s常用操作命令.md) -* [Kubernetes 常用操作命令](note/Kubernetes/k8s常用操作命令.md) * [Kubernetes 部署 Dashboard](note/Kubernetes/k8s-dashboard.md) * [Kubernetes 工作负载 | Pod实践](note/Kubernetes/k8s-pod.md) * [Kubernetes 工作负载 | Deployment实践](note/Kubernetes/k8s-Deployment.md) diff --git a/note/Kubernetes/k8s-pod.md b/note/Kubernetes/k8s-pod.md index 5a3e60a..0ab21ca 100644 --- a/note/Kubernetes/k8s-pod.md +++ b/note/Kubernetes/k8s-pod.md @@ -906,10 +906,10 @@ spec: - name: myapp image: ikubernetes/myapp:v1 ports: - - name:http + - name: http containerPort: 80 tolerations: - - key:"node-type" + - key: "node-type" operator: "Equal" value:"production": effect: "NoExecute"