docs: Fix syntax errors and improve formatting in hello-world example
This commit is contained in:
@@ -18,10 +18,12 @@ kubectl apply -f hello-world-deployment.yaml
|
|||||||
|
|
||||||
# 2. Create the service
|
# 2. Create the service
|
||||||
kubectl apply -f hello-world-service.yaml
|
kubectl apply -f hello-world-service.yaml
|
||||||
|
```
|
||||||
|
|
||||||
# 3. Access your app via port-forward
|
# 3. Access your app via port-forward
|
||||||
|
|
||||||
**Option 1: Simple (Recommended)**
|
**Option 1: Simple (Recommended)**
|
||||||
|
```bash
|
||||||
# Keep terminal open, see connection logs (Ctrl+C to stop)
|
# Keep terminal open, see connection logs (Ctrl+C to stop)
|
||||||
kubectl port-forward service/hello-world-service 8080:8080
|
kubectl port-forward service/hello-world-service 8080:8080
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user