Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@luandevpro
Last active July 11, 2020 15:28
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 luandevpro/1fe9012733eb755f18eaace4ac154113 to your computer and use it in GitHub Desktop.
Save luandevpro/1fe9012733eb755f18eaace4ac154113 to your computer and use it in GitHub Desktop.
kubectl delete pod app
apiVersion: apps/v1
kind: Deployment
metadata:
name: first-deployment
spec:
selector:
matchLabels:
run: app
template:
metadata:
labels:
run: app
spec:
containers:
- name: demo
image: app
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment