Skip to content

Instantly share code, notes, and snippets.

@defp
Created June 24, 2020 17:31
Show Gist options
  • Save defp/fdb45512c3b3215e5e22b82a9223cc1f to your computer and use it in GitHub Desktop.
Save defp/fdb45512c3b3215e5e22b82a9223cc1f to your computer and use it in GitHub Desktop.
zerotier deployment.yaml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
hello: world
labels:
io.service: zerotier
name: zerotier
spec:
replicas: 1
template:
metadata:
labels:
io.service: zerotier
spec:
containers:
- name: zerotier
image: lidashuang-docker.pkg.coding.net/zerotier-moon/zerotier-moon/latest:latest
imagePullPolicy: IfNotPresent
args: ['-4', '47.98.32.5']
ports:
- containerPort: 9993
restartPolicy: Always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment