2022-12-29 11:25:40 +01:00
|
|
|
---
|
2022-12-29 03:12:53 +01:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: www-jmbit-de
|
2022-12-29 11:25:40 +01:00
|
|
|
namespace: jmbit-web
|
2022-12-29 03:12:53 +01:00
|
|
|
labels:
|
|
|
|
app: nginx-jmbit-www
|
|
|
|
spec:
|
2022-12-31 17:15:40 +01:00
|
|
|
replicas: 2
|
2022-12-29 03:12:53 +01:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: nginx-jmbit-www
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: nginx-jmbit-www
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: www-jmbit-de
|
2022-12-29 11:25:40 +01:00
|
|
|
image: docker.io/jmbitci/www-jmbit-de
|
2022-12-31 17:15:40 +01:00
|
|
|
imagePullPolicy: "Always"
|
2022-12-29 03:12:53 +01:00
|
|
|
ports:
|
|
|
|
- containerPort: 80
|
2022-12-29 11:25:40 +01:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: www-jmbit-de-service
|
|
|
|
namespace: jmbit-web
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- port: 80
|
|
|
|
targetPort: 80
|
|
|
|
name: tcp
|
|
|
|
selector:
|
|
|
|
app: nginx-jmbit-www
|
|
|
|
|