mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* moving documentation around to be more clear and easier to browse - moved assets into their own directory and updated links to them - moved operating docs into their own directory - consolidated kubernetes docs - added docker-swarm folder for docs - updated docs layout in docs/README.md to reflect the changes and make it easier to read * docs: s/Operating Functions/Operating IronFunctions/ * docs: removing duplicate database link * docs: moving databases into general docs * docs: moving databases/mqs back * docs: removing memory.md (duplicate of operating/routes.md) * docs: converting to markdown bullets
34 lines
707 B
YAML
34 lines
707 B
YAML
---
|
|
kind: Deployment
|
|
apiVersion: extensions/v1beta1
|
|
metadata:
|
|
name: functions
|
|
labels:
|
|
app: functions
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: functions
|
|
spec:
|
|
containers:
|
|
- name: functions
|
|
image: iron/functions
|
|
securityContext:
|
|
privileged: true
|
|
env:
|
|
- name: DOCKER_HOST
|
|
value: unix:///var/run/docker.sock
|
|
volumeMounts:
|
|
- mountPath: "/var/run/docker.sock"
|
|
name: docker-socket
|
|
readOnly: false
|
|
ports:
|
|
- name: http-server
|
|
containerPort: 8080
|
|
volumes:
|
|
- name: docker-socket
|
|
hostPath:
|
|
path: "/var/run/docker.sock"
|