Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@portertech @asachs01
50 lines (49 sloc) 1.17 KB
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: dummy
spec:
replicas: 2
template:
metadata:
name: dummy
labels:
app: dummy
spec:
containers:
- name: dummy
image: portertech/dummy:1.2.0
ports:
- protocol: TCP
containerPort: 8080
- name: sensu-agent
image: sensu/sensu:latest
command: ["/opt/sensu/bin/sensu-agent", "start", "--log-level", "debug"]
env:
- name: SENSU_BACKEND_URL
value: ws://sensu-backend.default.svc.cluster.local:8081
- name: SENSU_NAMESPACE
value: demo
- name: SENSU_SUBSCRIPTIONS
value: dummy
- name: SENSU_KEEPALIVE_INTERVAL
value: "5"
- name: SENSU_KEEPALIVE_TIMEOUT
value: "10"
- name: SENSU_DEREGISTER
value: "true"
- name: SENSU_STATSD_EVENT_HANDLERS
value: statsd
---
apiVersion: v1
kind: Service
metadata:
name: dummy
spec:
selector:
app: dummy
ports:
- name: http
protocol: TCP
port: 8080
targetPort: 8080
You can’t perform that action at this time.