Skip to content

Instantly share code, notes, and snippets.

@roffe
Last active January 13, 2019 20:50
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 roffe/43ee411e0fa88d47373d5fabd9cb4cf1 to your computer and use it in GitHub Desktop.
Save roffe/43ee411e0fa88d47373d5fabd9cb4cf1 to your computer and use it in GitHub Desktop.
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: imaginary
spec:
selector:
matchLabels:
app: imaginary
replicas: 1
template:
metadata:
labels:
app: imaginary
spec:
containers:
- name: imaginary
image: h2non/imaginary:v1.0.16
args:
- -enable-url-source=true
- -concurrency=10
- -url-signature-key=averylongandsecurekeywithmin32chars
- -enable-url-signature=true
ports:
- containerPort: 9000
resources:
requests:
memory: 100M
cpu: 10m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment