feat(gitea): create PersistentVolume and PersistentVolumeClaim for Gitea feat(gitea): add script to create Gitea runner registration token secret feat(gitea): deploy Gitea Actions runner with Docker socket access feat(media): deploy JDownloader with Ingress configuration feat(media): set up Jellyfin media server with NFS and Ingress feat(media): configure qBittorrent deployment with Ingress feat(monitoring): add Grafana Loki datasource ConfigMap feat(monitoring): create Grafana admin credentials secret feat(monitoring): define PersistentVolumes for monitoring stack feat(network): implement DDNS CronJob for Porkbun DNS updates feat(network): create secret for Porkbun DDNS API credentials feat(network): set up Glances service and Ingress for Debian node fix(network): patch Pi-hole DNS services with external IPs feat(network): configure Traefik dashboard Ingress with Authentik auth feat(network): set up Watch Party service and Ingress for Mac Mini refactor(values): update Helm values files for various services
96 lines
2.1 KiB
YAML
96 lines
2.1 KiB
YAML
# Apply: kubectl apply -f manifests/core/glances.yaml
|
|
# Delete: kubectl delete -f manifests/core/glances.yaml
|
|
# Description: Glances system monitoring DaemonSet with Ingress at glances.home.arpa.
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: glances
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: glances
|
|
namespace: glances
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: glances
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: glances
|
|
spec:
|
|
nodeSelector:
|
|
node-role: primary
|
|
hostPID: true
|
|
hostNetwork: true
|
|
containers:
|
|
- name: glances
|
|
image: nicolargo/glances:latest-full
|
|
ports:
|
|
- containerPort: 61208
|
|
env:
|
|
- name: GLANCES_OPT
|
|
value: "-w"
|
|
securityContext:
|
|
privileged: true
|
|
volumeMounts:
|
|
- name: host-proc
|
|
mountPath: /proc
|
|
readOnly: true
|
|
- name: host-sys
|
|
mountPath: /sys
|
|
readOnly: true
|
|
- name: host-etc
|
|
mountPath: /etc/glances
|
|
readOnly: true
|
|
volumes:
|
|
- name: host-proc
|
|
hostPath:
|
|
path: /proc
|
|
- name: host-sys
|
|
hostPath:
|
|
path: /sys
|
|
- name: host-etc
|
|
hostPath:
|
|
path: /etc
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: glances
|
|
namespace: glances
|
|
spec:
|
|
selector:
|
|
app: glances
|
|
ports:
|
|
- port: 61208
|
|
targetPort: 61208
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: glances
|
|
namespace: glances
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
cert-manager.io/cluster-issuer: internal-ca-issuer
|
|
spec:
|
|
ingressClassName: traefik
|
|
tls:
|
|
- secretName: glances-tls
|
|
hosts:
|
|
- glances.home.arpa
|
|
rules:
|
|
- host: glances.home.arpa
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: glances
|
|
port:
|
|
number: 61208
|