forked from LondheShubham153/kubestarter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapache-configmap.yaml
More file actions
60 lines (60 loc) · 1.47 KB
/
apache-configmap.yaml
File metadata and controls
60 lines (60 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apiVersion: v1
kind: ConfigMap
metadata:
name: apache-config
namespace: simple-canary
data:
index.html: |
<!DOCTYPE html>
<html>
<head>
<title>Apache - Version 2</title>
<style>
body {
background-color: #f0f0f0;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 40px;
text-align: center;
max-width: 600px;
}
h1 {
color: #d22128;
margin-bottom: 20px;
}
p {
color: #333;
font-size: 18px;
line-height: 1.6;
}
.version {
margin-top: 30px;
font-weight: bold;
font-size: 24px;
color: #d22128;
}
.apache-logo {
width: 180px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div class="container">
<img src="https://www.apache.org/img/ASF20thAnniversary.jpg" alt="Apache Logo" class="apache-logo">
<h1>Welcome to Apache!</h1>
<p>If you see this page, the Apache web server is successfully installed and working.</p>
<div class="version">Version 2 (Canary)</div>
</div>
</body>
</html>