Last active
August 25, 2018 13:04
-
-
Save xaviablaza/d70d47e44be8a52e8a054ba2d56be7b2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| --- | |
| kind: Deployment | |
| apiVersion: extensions/v1beta1 | |
| metadata: | |
| name: cu-recweek-2018 | |
| labels: | |
| app: recweek-2018 | |
| chapter: cu | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: recweek-2018 | |
| task: cu-recweek-2018 | |
| template: | |
| metadata: | |
| labels: | |
| app: recweek-2018 | |
| task: cu-recweek-2018 | |
| version: v0.0.1 | |
| spec: | |
| containers: | |
| - name: nginx | |
| image: uxsoc/recweek-2018:cu | |
| ports: | |
| - containerPort: 80 | |
| imagePullPolicy: Always | |
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: cu-recweek-2018 | |
| spec: | |
| ports: | |
| - name: http | |
| targetPort: 80 | |
| port: 80 | |
| selector: | |
| app: recweek-2018 | |
| task: cu-recweek-2018 | |
| --- | |
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: cu-recweek-2018 | |
| annotations: | |
| kubernetes.io/ingress.class: traefik | |
| spec: | |
| rules: | |
| - host: cu.uxsociety.org | |
| http: | |
| paths: | |
| - path: / | |
| backend: | |
| serviceName: cu-recweek-2018 | |
| servicePort: http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment