Update README.md

This commit is contained in:
madsler
2024-03-13 16:29:12 +01:00
committed by GitHub
parent cb8662b354
commit 231eb0c463

View File

@@ -289,7 +289,7 @@ spec:
termination: Edge
```
## Add simple nginx Deployment for Pods to shot at
```bash
cat >deployment.yaml <<EOF
apiVersion: apps/v1
kind: Deployment
@@ -311,11 +311,12 @@ spec:
ports:
- containerPort: 81
EOF
# Apply Nginx Deployment in namespace1 and namespace2
```
Apply Nginx Deployment in namespace1 and namespace2
```bash
sudo kubectl apply -f deployment.yaml -n namespace1
sudo kubectl apply -f deployment.yaml -n namespace2
```
## Usage
At the top you will find some metrics as described below: