Added beam-ng server
All checks were successful
Check with kubeconform / lint (push) Successful in 10s
All checks were successful
Check with kubeconform / lint (push) Successful in 10s
This commit is contained in:
21
k8s/games/beam-ng/app.yaml
Normal file
21
k8s/games/beam-ng/app.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: beam-ng
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: games
|
||||||
|
destination:
|
||||||
|
namespace: beam-ng
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
source:
|
||||||
|
repoURL: ssh://git@gt.hexor.cy:30022/ab/homelab.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: k8s/games/beam-ng
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
selfHeal: true
|
||||||
|
prune: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
|
39
k8s/games/beam-ng/deployments.yaml
Normal file
39
k8s/games/beam-ng/deployments.yaml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: beam-ng
|
||||||
|
labels:
|
||||||
|
app: beam-ng
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: beam-ng
|
||||||
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
rollingUpdate:
|
||||||
|
maxSurge: 1
|
||||||
|
maxUnavailable: 0
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: beam-ng
|
||||||
|
spec:
|
||||||
|
nodeSelector:
|
||||||
|
storage: 'remote'
|
||||||
|
containers:
|
||||||
|
- name: beam-ng
|
||||||
|
image: 'rouhim/beammp-server'
|
||||||
|
env:
|
||||||
|
- name: BEAMMP_NAME
|
||||||
|
value: 'Anal Hexor'
|
||||||
|
- name: BEAMMP_AUTH_KEY
|
||||||
|
value: '1488_228'
|
||||||
|
ports:
|
||||||
|
- name: udp
|
||||||
|
containerPort: 30814
|
||||||
|
protocol: UDP
|
||||||
|
- containerPort: 30814
|
||||||
|
name: tcp
|
||||||
|
protocol: TCP
|
8
k8s/games/beam-ng/kustomization.yaml
Normal file
8
k8s/games/beam-ng/kustomization.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- app.yaml
|
||||||
|
- deployments.yaml
|
||||||
|
- services.yaml
|
||||||
|
|
20
k8s/games/beam-ng/services.yaml
Normal file
20
k8s/games/beam-ng/services.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: beam-ng
|
||||||
|
spec:
|
||||||
|
externalIPs:
|
||||||
|
- 192.168.122.236
|
||||||
|
selector:
|
||||||
|
app: beam-ng
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
name: tcp
|
||||||
|
port: 30814
|
||||||
|
targetPort: 30814
|
||||||
|
- protocol: UDP
|
||||||
|
name: udp
|
||||||
|
port: 30814
|
||||||
|
targetPort: 30814
|
||||||
|
|
Reference in New Issue
Block a user