Skip to content

Instantly share code, notes, and snippets.

Created February 1, 2017 23:59
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 anonymous/a55050f50fde8daf11434a09023eef8f to your computer and use it in GitHub Desktop.
Save anonymous/a55050f50fde8daf11434a09023eef8f to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: ark
namespace: games
spec:
replicas: 1
template:
metadata:
labels:
app: ark
spec:
hostNetwork: true
containers:
- image: lazypower/ark
imagePullPolicy: Always
name: ark
volumeMounts:
- mountPath: "/data/ark"
name: ark-data
ports:
- containerPort: 27015
name: game
protocol: UDP
- containerPort: 7778
name: steam
protocol: UDP
resources: {}
nodeSelector:
game: ark
restartPolicy: Always
terminationGracePeriodSeconds: 30
volumes:
- name: ark-data
hostPath:
path: /data/ark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment