From a0314fc5f583aff0c7db224f1e4e73faa9cb2fe2 Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Sun, 3 May 2020 17:08:32 +0200 Subject: [PATCH] Keep --restart=Never for folks running 1.17- --- slides/k8s/podsecuritypolicy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/k8s/podsecuritypolicy.md b/slides/k8s/podsecuritypolicy.md index b15a6d3b..6542362a 100644 --- a/slides/k8s/podsecuritypolicy.md +++ b/slides/k8s/podsecuritypolicy.md @@ -280,7 +280,7 @@ - Try to create a Pod directly: ```bash - kubectl run testpsp1 --image=nginx + kubectl run testpsp1 --image=nginx --restart=Never ``` @@ -345,7 +345,7 @@ We can get hints at what's happening by looking at the ReplicaSet and Events. - Check that we can now create a Pod directly: ```bash - kubectl run testpsp3 --image=nginx + kubectl run testpsp3 --image=nginx --restart=Never ``` - Create a Deployment as well: