58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: spy
|
|
namespace: generic-relayer
|
|
annotations:
|
|
"service.beta.kubernetes.io/aws-load-balancer-internal": "0.0.0.0/0"
|
|
labels:
|
|
app: spy
|
|
spec:
|
|
selector:
|
|
app: spy
|
|
ports:
|
|
- port: 7073
|
|
targetPort: 7073
|
|
name: spy
|
|
protocol: TCP
|
|
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: spy
|
|
namespace: generic-relayer
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: spy
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: spy
|
|
spec:
|
|
restartPolicy: Always
|
|
terminationGracePeriodSeconds: 40
|
|
containers:
|
|
- name: spy
|
|
image: ghcr.io/wormhole-foundation/guardiand:latest
|
|
args:
|
|
- spy
|
|
- --nodeKey
|
|
- /node.key
|
|
- --spyRPC
|
|
- "[::]:7073"
|
|
- --network
|
|
- /wormhole/testnet/2/1
|
|
- --bootstrap
|
|
- /dns4/wormhole-testnet-v2-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWAkB9ynDur1Jtoa97LBUp8RXdhzS5uHgAfdTquJbrbN7i
|
|
resources:
|
|
limits:
|
|
memory: 256Mi
|
|
cpu: 500m
|
|
requests:
|
|
memory: 128Mi
|
|
cpu: 250m
|