Skip to content

Instantly share code, notes, and snippets.

@aredan
Last active February 12, 2021 23:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aredan/776b7f980227d4cd2bdf303410e26e1b to your computer and use it in GitHub Desktop.
Save aredan/776b7f980227d4cd2bdf303410e26e1b to your computer and use it in GitHub Desktop.
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