docs: Remove outdated file contents section and fix port-forward formatting
This commit is contained in:
@@ -32,12 +32,15 @@ kubectl port-forward service/hello-world-service 8080:8080
|
|||||||
```bash
|
```bash
|
||||||
# Start in background
|
# Start in background
|
||||||
nohup kubectl port-forward service/hello-world-service 8080:8080 > /dev/null 2>&1 &
|
nohup kubectl port-forward service/hello-world-service 8080:8080 > /dev/null 2>&1 &
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
# Kill when done
|
# Kill when done
|
||||||
lsof -ti:8080 | xargs kill -9
|
lsof -ti:8080 | xargs kill -9
|
||||||
```
|
```
|
||||||
|
|
||||||
# 4. Visit http://localhost:8080
|
# 4. Visit http://localhost:8080
|
||||||
|
```bash
|
||||||
curl http://localhost:8080
|
curl http://localhost:8080
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -290,22 +293,11 @@ You'll know everything is working when:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 📖 File Contents
|
|
||||||
|
|
||||||
For reference, here are the complete file contents:
|
|
||||||
|
|
||||||
### hello-world-deployment.yaml
|
|
||||||
[File contents would be here in the actual file]
|
|
||||||
|
|
||||||
### hello-world-service.yaml
|
|
||||||
[File contents would be here in the actual file]
|
|
||||||
|
|
||||||
## 🆘 Support
|
## 🆘 Support
|
||||||
|
|
||||||
If you encounter issues:
|
If you encounter issues:
|
||||||
1. Check the troubleshooting section above
|
1. Check the troubleshooting section above
|
||||||
2. Verify your kubeconfig is set correctly: `kubectl get nodes`
|
2. Verify your kubeconfig is set correctly: `kubectl get nodes`
|
||||||
3. Ensure your cluster is healthy: `kubectl get pods --all-namespaces`
|
3. Ensure your cluster is healthy: `kubectl get pods --all-namespaces`
|
||||||
4. Check the [Getting Started Guide](../../docs/getting-started.md)
|
|
||||||
|
|
||||||
For more help, visit our [documentation](../../README.md) or contact support.
|
For more help, visit our [documentation](../../README.md) or contact support.
|
||||||
Reference in New Issue
Block a user