Created
August 10, 2022 15:44
-
-
Save patrickdappollonio/8d481bb7f7ddb2d42e542e061e5dbb51 to your computer and use it in GitHub Desktop.
Simple Nginx + Patrick's tool deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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