Files
Blog/script/k8s/service.yaml
2025-10-25 08:43:42 +08:00

20 lines
290 B
YAML

# Kubernetes Service Configuration
apiVersion: v1
kind: Service
metadata:
name: blog
namespace: ${KUBERNETES_NAMESPACE}
labels:
app: blog
spec:
type: ClusterIP
selector:
app: blog
ports:
- name: http
port: 8888
targetPort: http
protocol: TCP