mirror of https://github.com/pragma-/pbot.git
Adding service to load balance.
This commit is contained in:
parent
57779e455d
commit
52d721998d
|
@ -25,6 +25,22 @@ spec:
|
|||
limits:
|
||||
cpu: "0.1"
|
||||
memory: 100Mi
|
||||
ports:
|
||||
- containerPort: 9000
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: candide-vm
|
||||
namespace: candide
|
||||
labels:
|
||||
app: candide-vm
|
||||
spec:
|
||||
selector:
|
||||
app: candide-vm
|
||||
ports:
|
||||
- port: 9000
|
||||
targetPort: 9000
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
|
|
Loading…
Reference in New Issue