1
0
Fork 0

Update KUBERNETES.md

master
Philip O'Toole 2 years ago committed by GitHub
parent 5a7593cf5c
commit f5073c93fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,9 +14,9 @@ kubectl apply -f rqlite-service.yaml
```
### Create a StatefulSet
For a rqlite cluster to function properly in a production environment, the rqlite nodes require a persistent network identifier and storage. This is what a _StatefulSet_ can provide. Retrieve the Stateful set configuration, apply it, and a 3-node rqlite cluster will be created.
For a rqlite cluster to function properly in a production environment, the rqlite nodes require a persistent network identifier and storage. This is what a _StatefulSet_ can provide.
Download and apply the Statefulset configuration like so:
Retrieve the Stateful set configuration, apply it, and a 3-node rqlite cluster will be created:
```bash
curl -s https://raw.githubusercontent.com/rqlite/kubernetes-configuration/master/statefulset-3-node.yaml -o rqlite-3-nodes.yaml
kubectl apply -f rqlite-3-nodes.yaml

Loading…
Cancel
Save