1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-11 17:18:28 +02:00
go-micro/examples/kubernetes/config/micro/bot.yaml
2020-12-26 15:17:20 +00:00

26 lines
487 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
namespace: default
name: micro-bot
spec:
replicas: 1
selector:
matchLabels:
name: micro-bot
template:
metadata:
labels:
name: micro-bot
spec:
containers:
- name: bot
command: [
"/micro",
"bot",
"--inputs=slack",
"--slack_token=YOUR_SLACK_TOKEN"
]
image: microhq/micro:bot
imagePullPolicy: Always