Skip to content

Commit

Permalink
fixing formatting issues
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Steurer <andrew.steurer@fermyon.com>
  • Loading branch information
asteurer committed Aug 13, 2024
1 parent bc6854f commit e5ba077
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions apps/redis-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ spec:
variables:
- name: redis_endpoint
value: redis://redis.default.svc.cluster.local:6379

```
Once created, run `kubectl apply -f redis_client.yaml`.


## Deploying Redis

Create a Kubernetes manifest file named `redis_db.yaml` with the following code:
Expand All @@ -51,10 +49,9 @@ spec:
- name: redis
image: redis
ports:
- containerPort: 6379
- containerPort: 6379
---

apiVersion: v1
kind: Service
metadata:
Expand Down Expand Up @@ -90,4 +87,4 @@ curl -H 'x-key: helloKey' localhost:3000

```bash
curl --request DELETE -H 'x-key: helloKey' localhost:3000
```
```

0 comments on commit e5ba077

Please sign in to comment.