Skip to content

Commit

Permalink
move k8s to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelvlach committed Jan 5, 2025
1 parent 3248e9d commit 5c7e0ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions agdb_server/statefulset.yaml → examples/k8s/agdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
clusterIP: None
selector:
app: agdb

---
apiVersion: v1
kind: Secret
Expand All @@ -20,6 +21,7 @@ metadata:
app: agdb
stringData:
pepper: "1234567891234567"

---
apiVersion: v1
kind: ConfigMap
Expand All @@ -44,6 +46,7 @@ data:
cluster_heartbeat_timeout_ms: 1000
cluster_term_timeout_ms: 3000
cluster: [http://agdb-0.agdb.default.svc.cluster.local:3000, http://agdb-1.agdb.default.svc.cluster.local:3000, http://agdb-2.agdb.default.svc.cluster.local:3000]
---
apiVersion: apps/v1
kind: StatefulSet
Expand Down

0 comments on commit 5c7e0ff

Please sign in to comment.