23 lines
384 B
YAML
23 lines
384 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: vweb
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: vweb
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: vweb
|
||
|
annotations:
|
||
|
fluentbit.io/parser: nginx
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: web
|
||
|
image: kiamol/ch09-vweb:v1
|
||
|
ports:
|
||
|
- name: http
|
||
|
containerPort: 80
|
||
|
|