add app init files
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: cals
|
||||
namespace: epcare
|
||||
spec:
|
||||
selector:
|
||||
app: cals
|
||||
ports:
|
||||
- name: syslog-tcp
|
||||
protocol: TCP
|
||||
port: 601
|
||||
targetPort: 601
|
||||
# ClusterIP (default) — no fixed IP needed anymore.
|
||||
# Each namespace (epcare-ep01, epcare-ep02...) gets its own cals Service.
|
||||
# Other pods in the same namespace reach it via: cals:601
|
||||
# Cross-namespace: cals.epcare-ep01.svc.cluster.local:601 (not needed here)
|
||||
Reference in New Issue
Block a user