mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
31 lines
598 B
YAML
31 lines
598 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: web-deploy
|
|
labels:
|
|
app: webapp
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: webapp
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: webapp
|
|
spec:
|
|
containers:
|
|
- name: alpinex
|
|
image: alpine
|
|
command: ['sleep', '1d']
|
|
envFrom:
|
|
- configMapRef:
|
|
name: envdata
|
|
ports:
|
|
- containerPort: 8080
|
|
hostPort: 8080
|
|
- name: alpiney
|
|
image: alpine
|
|
command: ['sleep', '1d']
|
|
ports:
|
|
- containerPort: 7777
|
|
hostPort: 8787
|