Skip to content

Instantly share code, notes, and snippets.

@roxsross
Created October 13, 2022 00:40
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 roxsross/5819fabc230138ebae20322a654873c0 to your computer and use it in GitHub Desktop.
Save roxsross/5819fabc230138ebae20322a654873c0 to your computer and use it in GitHub Desktop.
template deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: pingapp
labels:
app: pingapp
spec:
replicas: 1
selector:
matchLabels:
app: pingapp
template:
metadata:
labels:
app: pingapp
spec:
containers:
- name: pingapp
image: roxsross12/pingapp:3.0.0
ports:
- containerPort: 4567
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment