Created
January 22, 2021 19:58
-
-
Save chrisedrego/9a428ed94126445af4770a749bf797e5 to your computer and use it in GitHub Desktop.
RedisInsight Manifest for kubernetes deployment & services
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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