From 855930602a9b366a9674b5613e07b91960871afc Mon Sep 17 00:00:00 2001 From: MT Date: Fri, 16 Dec 2022 10:48:01 +0000 Subject: [PATCH 1/2] nginx pod added --- hello-k8s/k8s/nginx.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 hello-k8s/k8s/nginx.yaml diff --git a/hello-k8s/k8s/nginx.yaml b/hello-k8s/k8s/nginx.yaml new file mode 100644 index 0000000..03d175e --- /dev/null +++ b/hello-k8s/k8s/nginx.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Pod +metadata: + name: nginx1 + labels: + env: test + team: team1 +spec: + containers: + - name: nginx1 + image: nginx + imagePullPolicy: IfNotPresent + nodeSelector: + disktype: ssd \ No newline at end of file From d8fa9f2efa939b496df13df43d063f1ce6db774f Mon Sep 17 00:00:00 2001 From: MT Date: Fri, 16 Dec 2022 15:25:32 +0000 Subject: [PATCH 2/2] m1 --- hello-k8s/k8s/nginx copy.yaml | 14 ++++++++++++++ hello-k8s/k8s/nginx.yaml | 3 +-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 hello-k8s/k8s/nginx copy.yaml diff --git a/hello-k8s/k8s/nginx copy.yaml b/hello-k8s/k8s/nginx copy.yaml new file mode 100644 index 0000000..03d175e --- /dev/null +++ b/hello-k8s/k8s/nginx copy.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Pod +metadata: + name: nginx1 + labels: + env: test + team: team1 +spec: + containers: + - name: nginx1 + image: nginx + imagePullPolicy: IfNotPresent + nodeSelector: + disktype: ssd \ No newline at end of file diff --git a/hello-k8s/k8s/nginx.yaml b/hello-k8s/k8s/nginx.yaml index 03d175e..195f4b7 100644 --- a/hello-k8s/k8s/nginx.yaml +++ b/hello-k8s/k8s/nginx.yaml @@ -10,5 +10,4 @@ spec: - name: nginx1 image: nginx imagePullPolicy: IfNotPresent - nodeSelector: - disktype: ssd \ No newline at end of file + \ No newline at end of file