Skip to content

Instantly share code, notes, and snippets.

@mr-pascal
Created March 5, 2022 05:49
Show Gist options
  • Save mr-pascal/c0a66db93509b4f15b88d2c26ebef7e9 to your computer and use it in GitHub Desktop.
Save mr-pascal/c0a66db93509b4f15b88d2c26ebef7e9 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
labels:
name: nginx
spec:
selector:
matchLabels:
name: nginx
template:
metadata:
labels:
name: nginx
spec:
containers:
- name: nginx
image: nginx:1.21.6-alpine
ports:
- containerPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment