Skip to content

Commit

Permalink
Enriched the question (dgkanatsios#62)
Browse files Browse the repository at this point in the history
- Enriched the question definition to add more clarity
- Added commands to delete the service and the pod as per the ask
  • Loading branch information
parth-pandit authored and dgkanatsios committed Sep 15, 2019
1 parent 3025c76 commit 405cb71
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion f.services.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ exit
</p>
</details>

### Convert the ClusterIP to NodePort and find the NodePort port. Hit it using Node's IP. Delete the service and the pod
### Convert the ClusterIP to NodePort for the same service and find the NodePort port. Hit service using Node's IP. Delete the service and the pod at the end.

<details><summary>show</summary>
<p>
Expand Down Expand Up @@ -92,6 +92,10 @@ wget -O- NODE_IP:31931 # if you're using Kubernetes with Docker for Windows/Mac,
#if you're using minikube, try minikube ip, then get the node ip such as 192.168.99.117
```

```bash
kubectl delete svc nginx # Deletes the service
kbuectl delete pod nginx # Deletes the pod
```
</p>
</details>

Expand Down

0 comments on commit 405cb71

Please sign in to comment.