This commit is contained in:
changmin hyeon
2026-02-10 11:33:59 +09:00
commit 0d808202f6
17 changed files with 575 additions and 0 deletions

15
k8s/service.yaml.j2 Normal file
View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: node-{{ node_id }}-main
namespace: {{ namespace }}
labels:
app: node-{{ node_id }}-main
spec:
type: ClusterIP
selector:
app: node-{{ node_id }}-main
ports:
- name: http
port: {{ service_port | default(80) }}
targetPort: http