Skip to content

Commit 40c813a

Browse files
committed
add a bunch of services
1 parent 125e1f3 commit 40c813a

File tree

4 files changed

+1380
-0
lines changed

4 files changed

+1380
-0
lines changed

serivces/gatus/app.yaml

Lines changed: 322 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,322 @@
1+
apiVersion: application.kubero.dev/v1alpha1
2+
kind: KuberoApp
3+
metadata:
4+
creationTimestamp: "2023-01-06T22:11:16Z"
5+
finalizers:
6+
- helm.sdk.operatorframework.io/uninstall-release
7+
generation: 1
8+
labels:
9+
manager: kubero
10+
name: gatus
11+
namespace: asdf-production
12+
resourceVersion: "10189630"
13+
uid: b678d1b3-f4c6-4837-aa3b-928cd4e4b4a0
14+
spec:
15+
addons: []
16+
affinity: {}
17+
autodeploy: true
18+
autoscale: false
19+
autoscaling:
20+
enabled: false
21+
branch: main
22+
buildpack: custom
23+
cronjobs: []
24+
deploymentstrategy: docker
25+
domain: gatus.lacolhost.com
26+
envVars: []
27+
fullnameOverride: ""
28+
gitrepo:
29+
admin: true
30+
clone_url: https://github.com/kubero-dev/template-nodeapp.git
31+
default_branch: main
32+
description: Simple example Node app
33+
homepage: ""
34+
id: 501665730
35+
language: JavaScript
36+
name: template-nodeapp
37+
node_id: R_kgDOHebPwg
38+
owner: kubero-dev
39+
private: false
40+
push: true
41+
ssh_url: [email protected]:kubero-dev/template-nodeapp.git
42+
visibility: public
43+
image:
44+
build:
45+
command: npm install
46+
repository: node
47+
tag: latest
48+
containerPort: 8080
49+
fetch:
50+
repository: ghcr.io/kubero-dev/buildpacks/fetch
51+
tag: main
52+
pullPolicy: Always
53+
repository: twinproduction/gatus
54+
run:
55+
command: node index.js
56+
repository: node
57+
tag: latest
58+
tag: latest
59+
imagePullSecrets: []
60+
ingress:
61+
annotations: {}
62+
className: ""
63+
enabled: true
64+
hosts:
65+
- host: gatus.lacolhost.com
66+
paths:
67+
- path: /
68+
pathType: ImplementationSpecific
69+
tls: []
70+
name: gatus
71+
nameOverride: ""
72+
nodeSelector: {}
73+
phase: production
74+
pipeline: asdf
75+
podAnnotations: {}
76+
podSecurityContext: {}
77+
podsize:
78+
default: true
79+
description: 'Small (CPU: 0.25, Memory: 0.5Gi)'
80+
name: small
81+
resources:
82+
limits:
83+
cpu: 500m
84+
memory: 1Gi
85+
requests:
86+
cpu: 250m
87+
memory: 0.5Gi
88+
replicaCount: 1
89+
resources:
90+
limits:
91+
cpu: 500m
92+
memory: 1Gi
93+
requests:
94+
cpu: 250m
95+
memory: 0.5Gi
96+
service:
97+
port: 80
98+
type: ClusterIP
99+
serviceAccount:
100+
annotations: {}
101+
create: true
102+
name: ""
103+
tolerations: []
104+
web:
105+
autoscaling:
106+
maxReplicas: 3
107+
minReplicas: 1
108+
targetCPUUtilizationPercentage: 80
109+
targetMemoryUtilizationPercentage: 80
110+
replicaCount: 1
111+
worker:
112+
autoscaling:
113+
maxReplicas: 0
114+
minReplicas: 0
115+
targetCPUUtilizationPercentage: 80
116+
targetMemoryUtilizationPercentage: 80
117+
replicaCount: 0
118+
status:
119+
conditions:
120+
- lastTransitionTime: "2023-01-06T22:11:16Z"
121+
status: "True"
122+
type: Initialized
123+
- lastTransitionTime: "2023-01-06T22:11:16Z"
124+
message: |
125+
1. Get the application URL by running these commands:
126+
http://gatus.lacolhost.com/
127+
reason: InstallSuccessful
128+
status: "True"
129+
type: Deployed
130+
deployedRelease:
131+
manifest: |
132+
---
133+
# Source: kuberoapp/templates/serviceaccount.yaml
134+
apiVersion: v1
135+
kind: ServiceAccount
136+
metadata:
137+
name: gatus-kuberoapp
138+
labels:
139+
helm.sh/chart: kuberoapp-0.1.0
140+
app.kubernetes.io/name: kuberoapp
141+
app.kubernetes.io/instance: gatus
142+
app.kubernetes.io/version: "1.16.0"
143+
app.kubernetes.io/managed-by: Helm
144+
---
145+
# Source: kuberoapp/templates/service.yaml
146+
apiVersion: v1
147+
kind: Service
148+
metadata:
149+
name: gatus-kuberoapp
150+
labels:
151+
helm.sh/chart: kuberoapp-0.1.0
152+
app.kubernetes.io/name: kuberoapp
153+
app.kubernetes.io/instance: gatus
154+
app.kubernetes.io/version: "1.16.0"
155+
app.kubernetes.io/managed-by: Helm
156+
spec:
157+
type: ClusterIP
158+
ports:
159+
- port: 80
160+
targetPort: http
161+
protocol: TCP
162+
name: http
163+
selector:
164+
app.kubernetes.io/name: kuberoapp
165+
app.kubernetes.io/instance: gatus-web
166+
---
167+
# Source: kuberoapp/templates/deployment-web.yaml
168+
apiVersion: apps/v1
169+
kind: Deployment
170+
metadata:
171+
name: gatus-kuberoapp-web
172+
labels:
173+
helm.sh/chart: kuberoapp-0.1.0
174+
app.kubernetes.io/name: kuberoapp
175+
app.kubernetes.io/instance: gatus
176+
app.kubernetes.io/version: "1.16.0"
177+
app.kubernetes.io/managed-by: Helm
178+
spec:
179+
replicas: 1
180+
selector:
181+
matchLabels:
182+
app.kubernetes.io/name: kuberoapp
183+
app.kubernetes.io/instance: gatus-web
184+
template:
185+
metadata:
186+
labels:
187+
app.kubernetes.io/name: kuberoapp
188+
app.kubernetes.io/instance: gatus-web
189+
spec:
190+
serviceAccountName: gatus-kuberoapp
191+
securityContext:
192+
{}
193+
containers:
194+
- name: kuberoapp-web
195+
securityContext:
196+
readOnlyRootFilesystem: true
197+
image: "twinproduction/gatus:latest"
198+
imagePullPolicy: Always
199+
env:
200+
- name: PROC_TYPE
201+
value: web
202+
- name: PORT
203+
value: "8080"
204+
ports:
205+
- name: http
206+
containerPort: 8080
207+
protocol: TCP
208+
livenessProbe:
209+
httpGet:
210+
path: /
211+
port: http
212+
readinessProbe:
213+
httpGet:
214+
path: /
215+
port: http
216+
volumeMounts:
217+
- mountPath: /tmp
218+
name: tmp-storage
219+
readOnly: false
220+
resources:
221+
limits:
222+
cpu: 500m
223+
memory: 1Gi
224+
requests:
225+
cpu: 250m
226+
memory: 0.5Gi
227+
volumes:
228+
- name: deployment-keys
229+
secret:
230+
defaultMode: 0600
231+
secretName: deployment-keys
232+
- name: app-storage
233+
emptyDir: {}
234+
- name: tmp-storage
235+
emptyDir: {}
236+
---
237+
# Source: kuberoapp/templates/deployment-worker.yaml
238+
apiVersion: apps/v1
239+
kind: Deployment
240+
metadata:
241+
name: gatus-kuberoapp-worker
242+
labels:
243+
helm.sh/chart: kuberoapp-0.1.0
244+
app.kubernetes.io/name: kuberoapp
245+
app.kubernetes.io/instance: gatus
246+
app.kubernetes.io/version: "1.16.0"
247+
app.kubernetes.io/managed-by: Helm
248+
spec:
249+
replicas: 0
250+
selector:
251+
matchLabels:
252+
app.kubernetes.io/name: kuberoapp
253+
app.kubernetes.io/instance: gatus-worker
254+
template:
255+
metadata:
256+
labels:
257+
app.kubernetes.io/name: kuberoapp
258+
app.kubernetes.io/instance: gatus-worker
259+
spec:
260+
serviceAccountName: gatus-kuberoapp
261+
securityContext:
262+
{}
263+
containers:
264+
- name: kuberoapp-worker
265+
securityContext:
266+
readOnlyRootFilesystem: true
267+
image: "twinproduction/gatus:latest"
268+
imagePullPolicy: Always
269+
env:
270+
- name: PROC_TYPE
271+
value: worker
272+
- name: PORT
273+
value: "8080"
274+
ports:
275+
- name: http
276+
containerPort: 8080
277+
protocol: TCP
278+
volumeMounts:
279+
- mountPath: /tmp
280+
name: tmp-storage
281+
readOnly: false
282+
resources:
283+
limits:
284+
cpu: 500m
285+
memory: 1Gi
286+
requests:
287+
cpu: 250m
288+
memory: 0.5Gi
289+
volumes:
290+
- name: deployment-keys
291+
secret:
292+
defaultMode: 0600
293+
secretName: deployment-keys
294+
- name: app-storage
295+
emptyDir: {}
296+
- name: tmp-storage
297+
emptyDir: {}
298+
---
299+
# Source: kuberoapp/templates/ingress.yaml
300+
apiVersion: networking.k8s.io/v1
301+
kind: Ingress
302+
metadata:
303+
name: gatus-kuberoapp
304+
labels:
305+
helm.sh/chart: kuberoapp-0.1.0
306+
app.kubernetes.io/name: kuberoapp
307+
app.kubernetes.io/instance: gatus
308+
app.kubernetes.io/version: "1.16.0"
309+
app.kubernetes.io/managed-by: Helm
310+
spec:
311+
rules:
312+
- host: "gatus.lacolhost.com"
313+
http:
314+
paths:
315+
- path: /
316+
pathType: ImplementationSpecific
317+
backend:
318+
service:
319+
name: gatus-kuberoapp
320+
port:
321+
number: 80
322+
name: gatus

0 commit comments

Comments
 (0)