.
This commit is contained in:
15
Traefik-labs/nginx/czerwona/index.html
Normal file
15
Traefik-labs/nginx/czerwona/index.html
Normal 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>
|
43
Traefik-labs/nginx/nginx_czerwony.yml
Normal file
43
Traefik-labs/nginx/nginx_czerwony.yml
Normal 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
|
43
Traefik-labs/nginx/nginx_niebieski.yml
Normal file
43
Traefik-labs/nginx/nginx_niebieski.yml
Normal 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
|
43
Traefik-labs/nginx/nginx_zielony.yml
Normal file
43
Traefik-labs/nginx/nginx_zielony.yml
Normal 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
|
15
Traefik-labs/nginx/niebieska/index.html
Normal file
15
Traefik-labs/nginx/niebieska/index.html
Normal 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>
|
15
Traefik-labs/nginx/zielona/index.html
Normal file
15
Traefik-labs/nginx/zielona/index.html
Normal 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>
|
Reference in New Issue
Block a user