Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Deployment definition
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: sampleapp
spec:
selector:
matchLabels:
app: sampleapp
replicas: 1
template:
metadata:
labels:
app: sampleapp
spec:
containers:
- name: sampleapp
image: ubuntu
ports:
- containerPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment