Skip to content

Commit

Permalink
modified commands
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisses committed Feb 28, 2022
1 parent 1f8ac1c commit ec6b21a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions snippets/chapter2/commands-chap2.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ docker build --tag distrolessgo:latest .
docker pull jboss/wildfly:23.0.1.Final
docker images

## Clean Up
kubectl delete -f k8s/plain-manifests
kubectl delete namespace localnews




Expand Down
2 changes: 1 addition & 1 deletion snippets/chapter4/commands-chap4.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ kubectl -n localnews create -f snippets/chapter4/api/mng-feedscaper-role.yaml
kubectl -n localnews create -f snippets/chapter4/api/news-backend-sa.yaml
kubectl -n localnews create -f snippets/chapter4/api/mng-feedscaper-rolebinding.yaml
kubectl -n localnews apply -f snippets/chapter4/api/news-backend-deployment.yaml
curl -X POST -H "Content-Type: application/json" -d '["http://test.com", "http://test2.com"]' $(echo | minikube -n localnews service news-backend --url)/scraper
curl -X POST -H "Content-Type: application/json" -d '["http://rss.cnn.com/rss/edition_world.rss", "https://www.nytimes.com/svc/collections/v1/publish/https://www.nytimes.com/section/world/rss.xml"]' $(echo | minikube -n localnews service news-backend --url)/scraper
### Defining our own Kubernetes resource types
## Change Feed URL
kubectl apply -f snippets/chapter4/scraper/feed-scraper-deployment.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
- name: gitrepositoryurl
description: The git repo to clone
type: string
default: https://github.com/nginx/nginx.git
default: https://github.com/Apress/Kubernetes-Native-Development.git
steps:
- name: git-version
image: docker.io/alpine/git
Expand Down

0 comments on commit ec6b21a

Please sign in to comment.