Created
April 6, 2018 04:21
-
-
Save exp0nge/66867c4cc12b82626c47bc230dcf1094 to your computer and use it in GitHub Desktop.
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