Skip to content

Instantly share code, notes, and snippets.

@lalyos
Last active July 5, 2019 09:07
Show Gist options
  • Save lalyos/ab90fe820a717bd2ba47f39ac893a502 to your computer and use it in GitHub Desktop.
Save lalyos/ab90fe820a717bd2ba47f39ac893a502 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: lunch
name: lunch
spec:
type: NodePort
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
app: lunch
status:
loadBalancer: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: lunch
name: lunch
spec:
replicas: 1
selector:
matchLabels:
app: lunch
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: lunch
spec:
containers:
- image: lalyos/lunch-wto
envFrom:
- configMapRef:
name: lunch
name: lunch
ports:
- containerPort: 80
resources: {}
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment