Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnedo committed Sep 10, 2024
1 parent 69ea6f6 commit 8020960
Showing 1 changed file with 44 additions and 1 deletion.
45 changes: 44 additions & 1 deletion content/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,49 @@ EOF
Check the deployment

```shell
skate get deployment -n my-app
skate get deployment
```

Now you can create a service:

```shell
cat <<EOF | skate apply -f -
---
apiVersion: v1
kind: Service
metadata:
name: nginx
namespace: my-app
spec:
ports:
- protocol: TCP
port: 80
targetPort: 80
```
```shell
skate get service
```
And finally an ingress:
```shell
cat <<EOF | skate apply -f -
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: public
namespace: my-app
spec:
rules:
- host: nginx.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginx.my-app
port:
number: 80
```

0 comments on commit 8020960

Please sign in to comment.