Skip to content

Instantly share code, notes, and snippets.

@lalyos
Last active May 7, 2019 10:27
Show Gist options
  • Save lalyos/35a591be4653a3a5fcbe5d27c59b993d to your computer and use it in GitHub Desktop.
Save lalyos/35a591be4653a3a5fcbe5d27c59b993d to your computer and use it in GitHub Desktop.
craft lunch

bla bla

kubectl apply ...

Copyright 2019

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: lunch-0
spec:
rules:
- host: lunch0.ing.ccnf.io
http:
paths:
- path: /
backend:
serviceName: lunch
servicePort: 80
apiVersion: apps/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
labels:
run: lunch
name: lunch
spec:
replicas: 1
selector:
matchLabels:
run: lunch
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
run: lunch
spec:
containers:
- image: lalyos/lunch
name: lunch
env:
- name: COLOR
value: lightgreen
- name: TITLE
value: Lets go LUNCH
- name: BODY
value: right now baby
ports:
- containerPort: 80
resources: {}
status: {}
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
run: lunch
name: lunch
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
run: lunch
status:
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment