Skip to content

Instantly share code, notes, and snippets.

@Sampriti-Mitra
Created October 17, 2021 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sampriti-Mitra/ca444dc963541cd1cbb82d557058d99f to your computer and use it in GitHub Desktop.
Save Sampriti-Mitra/ca444dc963541cd1cbb82d557058d99f to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
labels:
app: myapp
spec:
replicas: 2
selector:
matchLabels:
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: myapp
imagePullPolicy: IfNotPresent
image: myapp
ports:
- containerPort: 10000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment