Permalink
bb8507d Oct 28, 2018
2 contributors

Users who have contributed to this file

@LucasRoesler @alexellis
30 lines (29 sloc) 594 Bytes
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: nats
namespace: openfaas
spec:
replicas: 1
template:
metadata:
labels:
app: nats
spec:
containers:
- name: nats
image: nats-streaming:0.11.2
imagePullPolicy: Always
ports:
- containerPort: 4222
protocol: TCP
# - containerPort: 8222
# protocol: TCP
command: ["/nats-streaming-server"]
args:
- --store
- memory
- --cluster_id
- faas-cluster
# - -m
# - "8222"