added
This commit is contained in:
6
k8s/pods
6
k8s/pods
@@ -67,4 +67,8 @@ kubectl get rs -o json |jq -r .items[].metadata.annotations.\"deployment.kuberne
|
||||
kubectl get pods
|
||||
kubectl get pod <web pod> -o yaml | sed 's/\(image: nginx\):.*$/\1:1.19.3/' | kubectl replace -f -
|
||||
|
||||
#kubectl get pod web-548df7676c-v48kv -o yaml | sed 's/\(image: nginx\):.*$/\1:1.19.4/' | kubectl replace -f - web-548df7676c-rzp7v
|
||||
#kubectl get pod web-548df7676c-v48kv -o yaml | sed 's/\(image: nginx\):.*$/\1:1.19.4/' | kubectl replace -f - web-548df7676c-rzp7v
|
||||
|
||||
curl -i -X POST http://carpool:5000/car \
|
||||
-H "Content-Type: application/json" \
|
||||
--data-binary "@car_2.json"
|
||||
Reference in New Issue
Block a user