docs: simple k8s add plugins and update README

pull/90/head
moonrailgun 2 years ago
parent 51ea5f4259
commit 84fbe37bda

@ -45,3 +45,21 @@ kubectl apply -f redis.yml
```bash
kubectl apply -f tailchat.yml
```
## Check tailchat-service work
#### get services ClusterIP
```bash
kubectl get svc -n tailchat
```
#### create test container in kubernetes
```bash
kubectl run -it --rm test-pod --image=busybox --restart=Never
```
#### request health and checkout `nodeID`, send multi times.
```
wget -q -O - http://<tailchat-cluster-ip>:11000/health
```

@ -20,7 +20,7 @@ spec:
# imagePullPolicy: Always
env:
- name: SERVICEDIR
value: services
value: services,plugins
- name: TRANSPORTER
value: redis://redis-service:6379
- name: REDIS_URL

Loading…
Cancel
Save