[doc] fix README

This commit is contained in:
Sarah Franc 2023-04-05 17:32:34 +02:00
parent 2692195a3c
commit 3197a9c072
3 changed files with 13 additions and 2 deletions

View File

@ -117,6 +117,7 @@ kubectl scale --replicas=5 -f 07-deployment/01-simple-deployment.yml
```
Check the number of pods you have now:
```sh
kubectl get pod
NAME READY STATUS RESTARTS AGE
@ -132,6 +133,7 @@ You can also edit the manifest in place with `kubectl edit`:
```sh
kubectl edit deployment simple-deployment
```
The changes are applied immediately after saving the deployment manifest. `kubectl get pod` to check.
I would recommend to only use `kubectl apply` as it is declarative and local to your computer, so you can commit it afterwards.

View File

@ -10,7 +10,7 @@ If it's not already done install the `minikube` addon `ingress`:
```sh
$ minikube addons enable ingress
✅ ingress was successfully enabled
🌟 The 'ingress' addon is enabled
```
## First `service`
@ -151,7 +151,7 @@ Apply the ingress:
```sh
$ kubectl apply -f 08-service/04-ingress.yml
ingress.extensions "simple-ingress" created
ingress.networking.k8s.io/simple-ingress created
```
Get the IP of your minikube cluster:

View File

@ -6,6 +6,7 @@
- [(Fixed) docker: Ingress not exposed on MacOS](#fixed-docker-ingress-not-exposed-on-macos)
- [(Optional) If you feel adventurous, only for macOS](#optional-if-you-feel-adventurous-only-for-macos)
- [Completion](#completion)
- [Miscellaneous prerequisites](#miscellaneous-prerequisites)
- [What this course is and what it's not](#what-this-course-is-and-what-its-not)
- [What this is](#what-this-is)
- [What it's *not*](#what-its-not)
@ -139,6 +140,14 @@ if [ $commands[kubectl] ]; then
fi
```
### Miscellaneous prerequisites
If you want to contribute.
```sh
brew install markdownlint-cli
```
## What this course is and what it's not
### What this is