-
Notifications
You must be signed in to change notification settings - Fork 163
/
services.demo.yaml
93 lines (89 loc) · 3.6 KB
/
services.demo.yaml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
teamConfig:
teams:
demo:
services:
- name: hello
port: 80
id: cb5149c4-8ea5-4c5a-be04-a37258658bd3
ownHost: true
ksvc:
image:
repository: otomi/nodejs-helloworld
tag: v1.2.12
scaleToZero: false
resources:
limits:
cpu: 50m
memory: 64Mi
requests:
cpu: 50m
memory: 64Mi
secrets:
- mysecret-generic
type: public
- name: hello-auth
port: 80
id: cb5149c4-8ea5-4c5a-be04-a37258658bd4
ownHost: true
auth: true
ksvc:
securityContext:
runAsUser: 1002
image:
repository: otomi/nodejs-helloworld
tag: v1.2.12
scaleToZero: false
resources:
limits:
cpu: 50m
memory: 64Mi
requests:
cpu: 50m
memory: 64Mi
secrets:
- mysecret-generic
type: public
- name: tlspass
port: 443
id: cb5149c4-8ea5-4c5a-be04-a37258658bd2
domain: tlspass.eks.dev.otomi.cloud
ksvc:
containerPort: 80
image:
repository: nginx
tag: latest
scaleToZero: false
resources:
limits:
cpu: 50m
memory: 64Mi
requests:
cpu: 50m
memory: 64Mi
files:
/etc/nginx.conf: |
events {
}
http {
log_format main '$remote_addr - $remote_user [$time_local] $status '
'"$request" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log;
server {
listen 443 ssl;
root /usr/share/nginx/html;
index index.html;
server_name tlspass.eks.dev.otomi.cloud;
ssl_certificate /etc/nginx-server-certs/tls.crt;
ssl_certificate_key /etc/nginx-server-certs/tls.key;
}
}
secretMounts:
/etc/nginx-server-certs: mysecret-tls
type: public
tlsPass: true
- name: some-svc
port: 80
id: f7275813-a461-44c5-b174-612e0865efd3
type: cluster