This commit is contained in:
2025-10-04 15:22:47 +08:00
parent fd6cba2e34
commit 27715efe7c
9 changed files with 532 additions and 0 deletions

19
script/k8s/service.yaml Normal file
View File

@@ -0,0 +1,19 @@
# Kubernetes Service Configuration
apiVersion: v1
kind: Service
metadata:
name: ${CONTAINER_IMAGE_NAME}
namespace: ${KUBERNETES_NAMESPACE}
labels:
app: ${CONTAINER_IMAGE_NAME}
spec:
type: ClusterIP
selector:
app: ${CONTAINER_IMAGE_NAME}
ports:
- name: http
port: 8888
targetPort: http
protocol: TCP