Skip to content

Instantly share code, notes, and snippets.

@chrisedrego
Created January 22, 2021 19:58
Show Gist options
  • Select an option

  • Save chrisedrego/9a428ed94126445af4770a749bf797e5 to your computer and use it in GitHub Desktop.

Select an option

Save chrisedrego/9a428ed94126445af4770a749bf797e5 to your computer and use it in GitHub Desktop.
RedisInsight Manifest for kubernetes deployment & services
apiVersion: apps/v1
kind: Deployment
metadata:
name: redisinsight
labels:
app: redisinsight
spec:
replicas: 1
selector:
matchLabels:
app: redisinsight
template:
metadata:
labels:
app: redisinsight
spec:
containers:
- name: redisinsight
image: redislabs/redisinsight:1.7.0
imagePullPolicy: IfNotPresent
volumeMounts:
- name: db
mountPath: /db
ports:
- containerPort: 8001
protocol: TCP
volumes:
- name: db
emptyDir: {}
---
apiVersion: v1
kind: Service
metadata:
name: redisinsight-service
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 8001
selector:
app: redisinsight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment