Skip to content

Instantly share code, notes, and snippets.

@patrickdappollonio
Created August 10, 2022 15:44
Show Gist options
  • Save patrickdappollonio/8d481bb7f7ddb2d42e542e061e5dbb51 to your computer and use it in GitHub Desktop.
Save patrickdappollonio/8d481bb7f7ddb2d42e542e061e5dbb51 to your computer and use it in GitHub Desktop.
Simple Nginx + Patrick's tool deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
---
apiVersion: v1
kind: Pod
metadata:
name: patrickdap
spec:
containers:
- name: patrickdap
image: ghcr.io/patrickdappollonio/alpine-utils
command: ["sleep", "99999999"]
restartPolicy: Never
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment