mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-09 13:10:25 +00:00
d89e58199a
add more kubernetes stuff make shared library installed if built
30 lines
605 B
YAML
30 lines
605 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: loki-deployment
|
|
labels:
|
|
app: loki-svc-node
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
app: loki-svc-node
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: loki-svc-node
|
|
spec:
|
|
containers:
|
|
- name: loki-svc-node
|
|
image: jaaff/loki-svc-kubernetes
|
|
ports:
|
|
- protocol: TCP
|
|
port: 22022
|
|
targetPort: 22022
|
|
- protocol: TCP
|
|
port: 22023
|
|
targetPort: 22023
|
|
- protocol: UDP
|
|
port: 1090
|
|
targetPort: 1090
|
|
|