diff --git a/Makefile b/Makefile index 63763d6..dfee235 100644 --- a/Makefile +++ b/Makefile @@ -21,4 +21,14 @@ invoke: run-kube: kubectl apply -f kube-hello-change.yaml +destroy-kube: + kubectl delete deployment hello-python + +describe-kube: + kubectl get nodes + kubectl get pods + kubectl describe services hello-flask-change-service + +describe: describe-nodes describe-pods describe-service + all: install lint test \ No newline at end of file diff --git a/README.md b/README.md index ed13449..6848857 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ flask-change-7b7d7f467b-fpsxr 1/1 Running 0 6s * Describe the load balanced service: -`kubectl describe services hello-python-service` +`kubectl describe services hello-flask-change-service` You should see output similar to this: diff --git a/requirements.txt b/requirements.txt index 36ee303..969b15d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Flask==1.1.2 +Flask==2.1.0 pytest==6.2.2 pylint==2.6.2 pytest-cov==2.11.1 \ No newline at end of file