Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flask version / Fix service name #4

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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