Created
April 16, 2018 16:35
-
-
Save jfryman/57defb6f832deda4182f0fdb2353edc9 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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: glowing-bear | |
namespace: chat | |
spec: | |
selector: | |
matchLabels: | |
app: glowing-bear | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: glowing-bear | |
spec: | |
containers: | |
- name: nginx | |
image: nginx:1.12.2-alpine | |
imagePullPolicy: Always | |
ports: | |
- name: http | |
containerPort: 80 | |
volumeMounts: | |
- name: glowing-bear-src | |
mountPath: /usr/share/nginx/html | |
volumes: | |
- name: glowing-bear-src | |
gitRepo: | |
repository: "https://github.com/glowing-bear/glowing-bear.git" | |
revision: "cc26260e503892b15889c1a1a262fb32bdaaba58" | |
directory: . | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: glowing-bear | |
namespace: chat | |
spec: | |
ports: | |
- name: http | |
port: 80 | |
protocol: TCP | |
targetPort: http | |
selector: | |
app: glowing-bear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment