Created
March 31, 2018 17:06
-
-
Save Jickelsen/eab2855988d5e888adf3cf535612365a to your computer and use it in GitHub Desktop.
Markdown function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: markdownrender | |
labels: | |
app: markdownrender | |
spec: | |
type: NodePort | |
ports: | |
- port: 8080 | |
protocol: TCP | |
targetPort: 8080 | |
nodePort: 31118 | |
selector: | |
app: markdownrender | |
--- | |
apiVersion: apps/v1beta1 # for versions before 1.6.0 use extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: markdownrender | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: markdownrender | |
spec: | |
containers: | |
- name: markdownrender | |
image: functions/markdownrender:latest-armhf | |
imagePullPolicy: Always | |
ports: | |
- containerPort: 8080 | |
protocol: TCP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment