imfreedom/k8s-cluster

36c010d809fd
Parents 5940df82f52d
Children 7ce8c0c9f077
Add status2.pidgin.im to monitor status.pidgin.im
Binary file 50-status2.pidgin.im/branding/favicon.png has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-status2.pidgin.im/branding/logo.svg Mon Jan 29 22:49:19 2024 -0600
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="65.831207mm"
+ height="25.725439mm"
+ viewBox="0 0 65.831207 25.725439"
+ version="1.1"
+ id="svg1468"
+ inkscape:version="0.92.3 (2405546, 2018-03-11)"
+ sodipodi:docname="pidgin-text.svg">
+ <defs
+ id="defs1462" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.979899"
+ inkscape:cx="236.239"
+ inkscape:cy="33.814383"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1916"
+ inkscape:window-height="1041"
+ inkscape:window-x="1280"
+ inkscape:window-y="18"
+ inkscape:window-maximized="0"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0" />
+ <metadata
+ id="metadata1465">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-3.2757002,-53.760515)">
+ <g
+ id="g2108">
+ <path
+ class="cls-9"
+ d="m 12.882946,77.308435 q -2.61144,-2.93952 -3.3602097,-5.46894 a 5.635625,5.635625 0 0 0 2.5638097,-0.63236 4.7995417,4.7995417 0 0 0 1.92881,-1.80181 5.4583542,5.4583542 0 0 0 0.77788,-2.75696 q 0.0662,-2.38125 -1.53723,-3.82323 a 5.8552292,5.8552292 0 0 0 -3.8708497,-1.50547 5.5324375,5.5324375 0 0 0 -3.27555,0.8546 5.8208333,5.8208333 0 0 0 -2.07962,2.31775 6.69925,6.69925 0 0 0 -0.75142,2.86279 11.088687,11.088687 0 0 0 1.91823,6.49023 24.780875,24.780875 0 0 0 5.1382097,5.64092 z"
+ id="path2047"
+ inkscape:connector-curvature="0"
+ style="isolation:isolate;fill:#794a85;fill-opacity:1;stroke-width:0.26458332" />
+ <path
+ inkscape:connector-curvature="0"
+ id="rect2057"
+ transform="scale(0.26458333)"
+ d="m 73.423828,213.20898 a 6.9999999,6.9999999 0 1 0 7.087891,7 6.9999999,6.9999999 0 0 0 -7,-7 6.9999999,6.9999999 0 0 0 -0.08789,0 z m -6.792969,18.30079 v 40.20898 h 13.701172 v -40.20898 z"
+ style="isolation:isolate;fill:#5c3566;stroke-width:0.99999994" />
+ <path
+ class="cls-9"
+ d="m 26.072426,55.938035 q 2.61143,2.94217 3.36285,5.46894 a 5.55625,5.55625 0 0 0 -2.56381,0.63235 4.8233542,4.8233542 0 0 0 -1.93146,1.80181 5.4504167,5.4504167 0 0 0 -0.77523,2.75696 c -0.045,1.5875 0.46302,2.86544 1.53723,3.82323 a 5.8790417,5.8790417 0 0 0 3.86821,1.50548 5.55625,5.55625 0 0 0 3.27819,-0.8546 5.8393542,5.8393542 0 0 0 2.07962,-2.3204 6.6860208,6.6860208 0 0 0 0.74877,-2.86279 11.062229,11.062229 0 0 0 -1.91823,-6.48758 24.720021,24.720021 0 0 0 -5.13821,-5.64092 z"
+ id="path2051"
+ inkscape:connector-curvature="0"
+ style="isolation:isolate;fill:#4b2854;fill-opacity:1;stroke-width:0.26458332" />
+ <path
+ class="cls-9"
+ d="m 39.420656,76.623165 q 2.61143,-2.94217 3.3602,-5.46894 a 5.55625,5.55625 0 0 1 -2.56381,-0.63236 4.8154167,4.8154167 0 0 1 -1.92881,-1.80181 5.4504167,5.4504167 0 0 1 -0.77788,-2.75431 q -0.0662,-2.38125 1.53988,-3.82588 a 5.87375,5.87375 0 0 1 3.86821,-1.50548 5.55625,5.55625 0 0 1 3.27818,0.85725 5.8446458,5.8446458 0 0 1 2.07963,2.31511 6.7071875,6.7071875 0 0 1 0.74877,2.86544 11.086042,11.086042 0 0 1 -1.91823,6.48758 24.720021,24.720021 0 0 1 -5.13821,5.64092 z"
+ id="path2049"
+ inkscape:connector-curvature="0"
+ style="isolation:isolate;fill:#5c3566;stroke-width:0.26458332" />
+ <path
+ inkscape:connector-curvature="0"
+ id="rect2061"
+ transform="scale(0.26458333)"
+ d="m 201.79492,213.20898 a 6.9999999,6.9999999 0 1 0 7.08594,7 6.9999999,6.9999999 0 0 0 -7,-7 6.9999999,6.9999999 0 0 0 -0.0859,0 z m -6.80273,18.30079 v 40.20898 h 13.70898 v -40.20898 z"
+ style="isolation:isolate;fill:#794a85;fill-opacity:1;stroke-width:0.99999994" />
+ <path
+ class="cls-9"
+ d="m 58.470656,61.253515 h 5.17789 c 2.86544,0 5.45836,2.30981 5.45836,5.21229 0,2.27277 -1.18534,5.42661 -1.18534,5.42661 h -2.43681 c 0,0 0.83344,-3.175 0.49212,-5.42661 -0.12435,-0.8255 -0.87841,-2.06904 -2.18545,-2.06904 h -2.20398 v 7.49829 h -3.09563 c 0,0 -0.0212,-7.57767 -0.0212,-10.64154 z"
+ id="path2071"
+ inkscape:connector-curvature="0"
+ style="isolation:isolate;fill:#4b2854;fill-opacity:1;stroke-width:0.26458332" />
+ </g>
+ </g>
+</svg>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-status2.pidgin.im/kustomization.yaml Mon Jan 29 22:49:19 2024 -0600
@@ -0,0 +1,18 @@
+---
+namespace: roost
+resources:
+ - manifest.yaml
+secretGenerator:
+ - name: status2-pidgin-conf
+ files:
+ - secrets/config.cfg
+ options:
+ disableNameSuffixHash: true
+configMapGenerator:
+ - name: status2-pidgin-branding
+ files:
+ - branding/favicon.png
+ - branding/logo.svg
+ options:
+ disableNameSuffixHash: true
+---
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-status2.pidgin.im/manifest.yaml Mon Jan 29 22:49:19 2024 -0600
@@ -0,0 +1,153 @@
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: status2-pidgin-http
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`status2.pidgin.im`)
+ kind: Rule
+ services:
+ - name: status2-pidgin-im
+ port: 8080
+ middlewares:
+ - name: https-redirect
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: status2-pidgin-https
+spec:
+ entryPoints:
+ - https
+ routes:
+ - match: Host(`status2.pidgin.im`)
+ kind: Rule
+ services:
+ - name: status2-pidgin-im
+ port: 8080
+ middlewares:
+ - name: common-headers
+ - name: hsts-headers
+ tls:
+ secretName: status2-pidgin-tls
+---
+apiVersion: cert-manager.io/v1
+kind: Certificate
+metadata:
+ name: status2-pidgin-tls
+spec:
+ secretName: status2-pidgin-tls
+ issuerRef:
+ name: letsencrypt
+ commonName: status2.pidgin.im
+ dnsNames:
+ - status2.pidgin.im
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: status2-pidgin-im
+ labels:
+ app: status2-pidgin-im
+spec:
+ ports:
+ - port: 8080
+ protocol: TCP
+ selector:
+ app: status2-pidgin-im
+---
+apiVersion: networking.k8s.io/v1
+kind: NetworkPolicy
+metadata:
+ name: status2-pidgin-im
+ labels:
+ app: status2-pidgin-im
+spec:
+ podSelector:
+ matchLabels:
+ app: status2-pidgin-im
+ ingress:
+ - from:
+ - namespaceSelector:
+ matchLabels:
+ name: kube-public
+ podSelector:
+ matchLabels:
+ app: traefik
+ role: controller
+ ports:
+ - port: 8080
+ protocol: TCP
+---
+apiVersion: policy/v1
+kind: PodDisruptionBudget
+metadata:
+ name: status2-pidgin-im
+spec:
+ minAvailable: 1
+ selector:
+ matchLabels:
+ app: status2-pidgin-im
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: status2-pidgin-im
+ labels:
+ app: status2-pidgin-im
+ keel.sh/policy: force
+spec:
+ replicas: 1
+ revisionHistoryLimit: 0
+ selector:
+ matchLabels:
+ app: status2-pidgin-im
+ template:
+ metadata:
+ labels:
+ app: status2-pidgin-im
+ spec:
+ affinity:
+ podAntiAffinity:
+ preferredDuringSchedulingIgnoredDuringExecution:
+ - podAffinityTerm:
+ labelSelector:
+ matchExpressions:
+ - key: app
+ operator: In
+ values:
+ - status2-pidgin-im
+ topologyKey: failure-domain.beta.kubernetes.io/region
+ weight: 100
+ containers:
+ - name: vigil
+ image: docker.io/valeriansaliou/vigil:v1.26.3
+ imagePullPolicy: Always
+ command: ["vigil", "-c", "/etc/vigil/config.cfg"]
+ ports:
+ - containerPort: 8080
+ resources:
+ limits:
+ cpu: 100m
+ memory: 96Mi
+ requests:
+ cpu: 50m
+ memory: 64Mi
+ volumeMounts:
+ - mountPath: /usr/src/vigil/res/assets/images/branding
+ name: branding
+ readOnly: true
+ - mountPath: /etc/vigil/
+ name: config
+ readOnly: true
+ volumes:
+ - name: config
+ secret:
+ secretName: status2-pidgin-conf
+ - name: branding
+ configMap:
+ name: status2-pidgin-branding
+---