initial commit
This commit is contained in:
36
dev/crate/internal-service.yaml
Executable file
36
dev/crate/internal-service.yaml
Executable file
@@ -0,0 +1,36 @@
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: crate-internal-service
|
||||
labels:
|
||||
app: crate
|
||||
spec:
|
||||
# A static IP address is assigned to this service. This IP address is
|
||||
# only reachable from within the Kubernetes cluster.
|
||||
type: ClusterIP
|
||||
ports:
|
||||
# Port 4300 for inter-node communication.
|
||||
- port: 4300
|
||||
name: crate-internal
|
||||
selector:
|
||||
# Apply this to all nodes with the `app:crate` label.
|
||||
app: crate
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: crate-ui
|
||||
labels:
|
||||
app: crate
|
||||
spec:
|
||||
# A static IP address is assigned to this service. This IP address is
|
||||
# only reachable from within the Kubernetes cluster.
|
||||
type: ClusterIP
|
||||
ports:
|
||||
# Port 4300 for inter-node communication.
|
||||
- port: 4200
|
||||
name: crate-web
|
||||
selector:
|
||||
# Apply this to all nodes with the `app:crate` label.
|
||||
app: crate
|
||||
|
||||
Reference in New Issue
Block a user