Skip to content

Instantly share code, notes, and snippets.

@prashanth-sams
Created November 17, 2019 14:05
Show Gist options
  • Save prashanth-sams/a3186e6fa66a768932d88984c43cfa85 to your computer and use it in GitHub Desktop.
Save prashanth-sams/a3186e6fa66a768932d88984c43cfa85 to your computer and use it in GitHub Desktop.
Sitespeedio Deployment
kind: Deployment
apiVersion: apps/v1
metadata:
name: sitespeed-io
labels:
run: sitespeed-io
spec:
replicas: 1
selector:
matchLabels:
run: sitespeed-io
template:
metadata:
labels:
run: sitespeed-io
spec:
containers:
- name: sitespeed-io
image: sitespeedio/sitespeed.io
securityContext:
privileged: true
command: [ "/bin/bash", "-ce", "tail -f /dev/null" ]
volumeMounts:
- mountPath: /sitespeed.io
name: sitespeed-volume
resources: {}
restartPolicy: Always
volumes:
- name: sitespeed-volume
hostPath:
path: '/tmp/'
- name: dshm
emptyDir:
medium: 'Memory'
sizeLimit: '1024Mi'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment