This commit is contained in:
2022-03-27 08:11:20 +02:00
commit 43034bb8c0
22 changed files with 722 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<html>
<head><title>STRONA CZERWONA NGINX</title>
<style>
html {
font-size: 500.0%;
}
div {
text-align: center;
}
</style>
</head>
<body>
<div>STRONA CZERWONA NGINX !</div>
</body>
</html>

View File

@ -0,0 +1,43 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: nginx
name: nginx-deploy-czerwony
spec:
replicas: 1
selector:
matchLabels:
run: nginx-czerwony
template:
metadata:
labels:
run: nginx-czerwony
spec:
containers:
- name: nginx-czerwony
image: nginx
ports:
- containerPort: 80
volumeMounts:
- name: html-czerwony
mountPath: /usr/share/nginx/html
volumes:
- name: html-czerwony
configMap:
name: czerwony-html
---
apiVersion: v1
kind: Service
metadata:
name: nginx-deploy-czerwony
labels:
app: nginx
spec:
# type: ClusterIP
ports:
- port: 80
protocol: TCP
selector:
run: nginx-czerwony

View File

@ -0,0 +1,43 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: nginx
name: nginx-deploy-niebieski
spec:
replicas: 1
selector:
matchLabels:
run: nginx-niebieski
template:
metadata:
labels:
run: nginx-niebieski
spec:
containers:
- name: nginx-niebieski
image: nginx
ports:
- containerPort: 80
volumeMounts:
- name: html-niebieski
mountPath: /usr/share/nginx/html
volumes:
- name: html-niebieski
configMap:
name: niebieski-html
---
apiVersion: v1
kind: Service
metadata:
name: nginx-deploy-niebieski
labels:
app: nginx
spec:
# type: ClusterIP
ports:
- port: 80
protocol: TCP
selector:
run: nginx-niebieski

View File

@ -0,0 +1,43 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: nginx
name: nginx-deploy-zielony
spec:
replicas: 1
selector:
matchLabels:
run: nginx-zielony
template:
metadata:
labels:
run: nginx-zielony
spec:
containers:
- name: nginx-zielony
image: nginx
ports:
- containerPort: 80
volumeMounts:
- name: html-zielony
mountPath: /usr/share/nginx/html
volumes:
- name: html-zielony
configMap:
name: zielony-html
---
apiVersion: v1
kind: Service
metadata:
name: nginx-deploy-zielony
labels:
app: nginx
spec:
# type: ClusterIP
ports:
- port: 80
protocol: TCP
selector:
run: nginx-zielony

View File

@ -0,0 +1,15 @@
<html>
<head><title>STRONA NIEBIESKA NGINX</title>
<style>
html {
font-size: 500.0%;
}
div {
text-align: center;
}
</style>
</head>
<body>
<div>STRONA NIEBIESKA NGINX !</div>
</body>
</html>

View File

@ -0,0 +1,15 @@
<html>
<head><title>STRONA ZIELONA NGINX</title>
<style>
html {
font-size: 500.0%;
}
div {
text-align: center;
}
</style>
</head>
<body>
<div>STRONA ZIELONA NGINX !</div>
</body>
</html>