Skip to content

Instantly share code, notes, and snippets.

@lomkju
Created May 12, 2020 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lomkju/ee2e16274e0a9e24b0d81fc69105b8f8 to your computer and use it in GitHub Desktop.
Save lomkju/ee2e16274e0a9e24b0d81fc69105b8f8 to your computer and use it in GitHub Desktop.
Redash Test Server
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: redash
name: redash
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
run: redash
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
run: redash
spec:
containers:
- env:
- name: REDASH_DATABASE_URL
value: postgresql://postgres@localhost
image: redash/redash:8.0.2.b37747
imagePullPolicy: IfNotPresent
name: redash
- image: redis
imagePullPolicy: Always
name: redis
- env:
- name: POSTGRES_HOST_AUTH_METHOD
value: trust
image: postgres
imagePullPolicy: Always
name: postgres
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment