Skip to content

Instantly share code, notes, and snippets.

@aredan

aredan/gortr.yaml

Last active Feb 12, 2021
Embed
What would you like to do?
GoRTR deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: gortr
namespace: services
spec:
replicas: 1
selector:
matchLabels:
app: gortr
strategy:
type: Recreate
template:
metadata:
labels:
app: gortr
spec:
containers:
- name: gortr
image: cloudflare/gortr:v0.14.7
ports:
- containerPort: 8282
env:
- name: TZ
value: "America/Santo_Domingo"
securityContext:
fsGroup: 1000
---
apiVersion: v1
kind: Service
metadata:
name: gortr-tcp
namespace: services
labels:
app: gortr
annotations:
metallb.universe.tf/allow-shared-ip: ekvm
metallb.universe.tf/address-pool: public
spec:
type: LoadBalancer
loadBalancerIP: 200.1.154.69
selector:
app: gortr
ports:
- protocol: TCP
port: 8282
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment