Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deploying-spicedb-on-eks.mdx #284

Merged
merged 1 commit into from
Feb 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions pages/spicedb/getting-started/install/eks.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Callout, Steps } from 'nextra/components'
import YouTube from 'react-youtube';

# Installing SpiceDB on AWS EKS

Expand Down Expand Up @@ -220,16 +221,16 @@ metadata:
name: dev #Change optional: you can change this name, but be mindful of your dispatch TLS certificate URL and service selector
spec:
config:
datastoreEngine: postgres
replicas: 2 #Change optional: at least two replicas are required for HA
datastoreEngine: postgres
replicas: 2 #Change optional: at least two replicas are required for HA
tlsSecretName: spicedb-le-tls
dispatchUpstreamCASecretName: dispatch-root-secret
dispatchClusterTLSCertPath: "/etc/dispatch/tls.crt"
dispatchClusterTLSKeyPath: "/etc/dispatch/tls.key"
secretName: dev-spicedb-config
patches:
patches:
- kind: Deployment
patch:
patch:
spec:
template:
spec:
Expand All @@ -249,7 +250,7 @@ kind: Secret
metadata:
name: dev-spicedb-config
stringData:
preshared_key: "averysecretpresharedkey" #Change: this is your API token definition and should be kept secure.
preshared_key: "averysecretpresharedkey" #Change: this is your API token definition and should be kept secure.
datastore_uri: "postgresql://user:[email protected]:5432" #Change: this is a Postgres connection string
EOF
```
Expand Down Expand Up @@ -282,7 +283,7 @@ spec:
protocol: TCP
targetPort: 9090
selector:
app.kubernetes.io/instance: dev-spicedb #Change optional: in this example, "dev" is the name of the SpiceDBCluster object. If you didn't use "dev", change "dev" to what you used.
app.kubernetes.io/instance: dev-spicedb #Change optional: in this example, "dev" is the name of the SpiceDBCluster object. If you didn't use "dev", change "dev" to what you used.
sessionAffinity: None
type: LoadBalancer
EOF
Expand Down Expand Up @@ -325,3 +326,7 @@ zed permission check doc:1 view user:emilia
```

</Steps>

Here's a YouTube video that describes the above steps:

<YouTube videoId="KT1RqTBeA1c" className="youtubeContainer" opts={{playerVars:{start: 1127}}} />