Skip to content

Commit

Permalink
Added default flame pool example
Browse files Browse the repository at this point in the history
  • Loading branch information
sleipnir committed Dec 15, 2023
1 parent 3e365f8 commit b7aa01a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,41 @@ You can also list all Runner pools configured on the system with the command:

```sh
kubectl --all-namespaces get pools
```

The controller also defines a default Pool which in turn has the following configuration:

```yaml
---
apiVersion: flame.org/v1
kind: FlamePool
metadata:
name: default-pool
namespace: flame
spec:
podTemplate:
spec:
containers:
- env:
- name: PHX_SERVER
value: "false"
- name: MIX_ENV
value: prod
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
# Other vars...
resources:
requests:
cpu: 50m
memory: 128Mi
```

0 comments on commit b7aa01a

Please sign in to comment.