mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
feat(example-todo): add example todo chart backed by redis
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
name: example-todo
|
||||
home: http://github.com/deis/example-todo
|
||||
version: 0.0.6
|
||||
description: Example Todo application backed by Redis
|
||||
maintainers:
|
||||
- Gabe Monroy <gabe@deis.com>
|
||||
details:
|
||||
This chart contains an Example Todo application backed by Redis.
|
||||
It supports standalone and clustered (sentinel) Redis backends.
|
||||
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: ReplicationController
|
||||
metadata:
|
||||
name: example-todo
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
name: example-todo
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
name: example-todo
|
||||
spec:
|
||||
containers:
|
||||
- name: example-todo
|
||||
image: "deis/example-todo:v0.0.6"
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: todo-redis-cluster
|
||||
labels:
|
||||
heritage: deis
|
||||
spec:
|
||||
ports:
|
||||
- port: 26379
|
||||
name: redis-sentinel
|
||||
protocol: TCP
|
||||
selector:
|
||||
provider: redis
|
||||
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: todo-redis-standalone
|
||||
labels:
|
||||
heritage: deis
|
||||
spec:
|
||||
ports:
|
||||
- port: 6379
|
||||
name: redis
|
||||
protocol: TCP
|
||||
selector:
|
||||
provider: redis
|
||||
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: example-todo
|
||||
labels:
|
||||
heritage: deis
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 3000
|
||||
nodePort: 30000
|
||||
name: http
|
||||
protocol: TCP
|
||||
selector:
|
||||
name: example-todo
|
||||
Reference in New Issue
Block a user