Files
AstrBot/k8s/astrbot_with_napcat/03-service-nodeport.yaml
RC-CHN 2cce09400f feat: add Kubernetes manifests for astrbot and napcat deployment with services and persistent storage (#3901)
* feat: add Kubernetes manifests for astrbot and napcat deployment with services and persistent storage

* chore: remove 11451 port

---------

Co-authored-by: Soulter <905617992@qq.com>
2025-12-04 20:36:35 +08:00

20 lines
520 B
YAML

apiVersion: v1
kind: Service
metadata:
name: astrbot-service-nodeport
namespace: astrbot-ns
labels:
app: astrbot-stack
spec:
type: NodePort
selector:
app: astrbot-stack
ports:
- name: napcat-web
port: 6099
targetPort: 6099
# nodePort: 30099 # Optional: Specify a fixed NodePort if needed, otherwise remove this line
- name: astrbot-web
port: 6185
targetPort: 6185
# nodePort: 30185 # Optional: Specify a fixed NodePort if needed, otherwise remove this line