@@ -25,7 +25,7 @@ Now lets try to create the Pod
2525
2626[source, bash]
2727----
28- kubectl create -f pod.yml
28+ kubectl create -f https://k8spatterns.io/PredictableDemands/ pod.yml
2929----
3030
3131When we verify this with we immediately see, that pod doesn't start:
@@ -42,7 +42,7 @@ The first reason is, that the PVC is missing as you can easily see when describi
4242
4343[source, bash]
4444----
45- kubectl describe pop random-generator
45+ kubectl describe pod random-generator
4646
4747...
4848Events:
@@ -55,15 +55,14 @@ Let's now create the PersistentVolume and PVC:
5555
5656[source, bash]
5757----
58-
59- kubectl create -f pv-and-pvc.yml
58+ kubectl create -f https://k8spatterns.io/PredictableDemands/pv-and-pvc.yml
6059----
6160
6261When we create the PV and PVC we are already one step further:
6362
6463[source, bash]
6564----
66- kubectl describe pop random-generator
65+ kubectl describe pod random-generator
6766
6867...
6968Events:
@@ -82,7 +81,7 @@ Let's add this last missing piece:
8281
8382[source, bash]
8483----
85- kubectl create -f configmap.yml
84+ kubectl create -f https://k8spatterns.io/PredictableDemands/ configmap.yml
8685----
8786
8887and the pod will be finally up:
@@ -130,7 +129,7 @@ kill %1
130129kubectl delete pod/random-generator
131130
132131# Delete PV & PVC
133- kubectl delete -f pv-and-pvc.yml
132+ kubectl delete -f https://k8spatterns.io/PredictableDemands/ pv-and-pvc.yml
134133----
135134
136135=== Resource limits
@@ -139,7 +138,7 @@ Let's create now a real Deployment with resource limits
139138
140139[source, bash]
141140----
142- kubectl create -f deploy .yml
141+ kubectl create -f https://k8spatterns.io/PredictableDemands/deployment .yml
143142----
144143
145144This will use 200M as upper limit for our application.
0 commit comments