mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-28 17:21:11 +00:00
Keep --restart=Never for folks running 1.17-
This commit is contained in:
@@ -280,7 +280,7 @@
|
|||||||
|
|
||||||
- Try to create a Pod directly:
|
- Try to create a Pod directly:
|
||||||
```bash
|
```bash
|
||||||
kubectl run testpsp1 --image=nginx
|
kubectl run testpsp1 --image=nginx --restart=Never
|
||||||
```
|
```
|
||||||
|
|
||||||
<!-- ```wait forbidden: no providers available``` -->
|
<!-- ```wait forbidden: no providers available``` -->
|
||||||
@@ -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:
|
- Check that we can now create a Pod directly:
|
||||||
```bash
|
```bash
|
||||||
kubectl run testpsp3 --image=nginx
|
kubectl run testpsp3 --image=nginx --restart=Never
|
||||||
```
|
```
|
||||||
|
|
||||||
- Create a Deployment as well:
|
- Create a Deployment as well:
|
||||||
|
|||||||
Reference in New Issue
Block a user