Files
Olares/apps/rss/config/cluster/deploy/rss_deploy.yaml
2024-09-27 23:53:36 +08:00

47 lines
797 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: rss-server
namespace: {{ .Release.Namespace }}
labels:
app: rss-server
applications.app.bytetrade.io/author: bytetrade.io
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: rss-server
template:
metadata:
labels:
app: rss-server
spec:
containers:
- name: rss-server
image: beclab/rsshub-server:v0.0.1
imagePullPolicy: IfNotPresent
ports:
- containerPort: 1200
---
apiVersion: v1
kind: Service
metadata:
name: rss-server
namespace: {{ .Release.Namespace }}
spec:
type: ClusterIP
selector:
app: rss-server
ports:
- name: server
protocol: TCP
port: 1200
targetPort: 1200