Compare commits

..
39 Commits
Author SHA1 Message Date
Márcio Fernandes 1a0a848574 modified: .devcontainer/devcontainer.json 2026-07-20 20:59:33 +00:00
Márcio Fernandes a1c7c55af6 cilium enable ui 2026-07-16 12:12:56 +00:00
Márcio Fernandes d0e0d6293f modified: services/monitoring/deploy/prometheus/helm-values.yaml
modified:   services/monitoring/deploy/prometheus/prometheus-agent.yaml
2026-07-15 21:44:09 +00:00
Márcio Fernandes dfdb9e265b modified: services/monitoring/deploy/prometheus/helm-values.yaml 2026-07-15 18:56:18 +00:00
Márcio Fernandes 6d5cca04d3 modified: services/monitoring/deploy/prometheus/helm-values.yaml
deleted:    services/monitoring/deploy/prometheus/original-values.yaml
2026-07-15 18:35:42 +00:00
Márcio Fernandes 7a8f059904 modified: services/traefik/deploy/app/icarus/helm-release.yaml 2026-07-15 18:24:54 +00:00
Márcio Fernandes 95307eeb7a modified: services/fluxcd-system/deploy/monitoring.yaml 2026-07-15 14:50:19 +00:00
Márcio Fernandes d97cd9ca52 modified: services/monitoring/deploy/prometheus/original-values.yaml
modified:   services/monitoring/deploy/prometheus/prometheus-agent.yaml
2026-07-15 14:44:45 +00:00
Márcio Fernandes e38ff7ed9b modified: services/monitoring/deploy/prometheus/prometheus-agent.yaml 2026-07-15 14:28:55 +00:00
Márcio Fernandes cb33f63ea7 modified: services/monitoring/deploy/prometheus/prometheus-agent.yaml 2026-07-15 14:23:30 +00:00
Márcio Fernandes 8f9c504515 modified: services/fluxcd-system/README.md
modified:   services/monitoring/README.md
modified:   services/monitoring/deploy/prometheus/prometheus-agent.yaml
2026-07-15 14:15:24 +00:00
Márcio Fernandes 310f4e00f9 add fluxcd prometheus scrapping 2026-07-15 13:13:54 +00:00
FluxCD 0c5013f156 Update wyoming piper image. 2026-07-15 12:46:13 +00:00
Márcio Fernandes d1b0538bde modified: services/wyoming/deploy/app/kustomization.yaml
modified:   services/wyoming/deploy/app/piper-deployment.yaml
deleted:    services/wyoming/deploy/app/pvc.yaml
new file:   services/wyoming/deploy/app/storage.yaml
2026-07-13 14:06:31 +00:00
Márcio Fernandes 185bf16546 modified: casa.full-stack.code-workspace
modified:   cluster/README.md
modified:   services/node-red/deploy/app/pvc.yaml
2026-07-13 13:08:07 +00:00
Márcio Fernandes e4ca046a13 modified: cluster/README.md 2026-07-13 11:32:21 +00:00
Márcio Fernandes 97e4e31486 modified: cluster/README.md 2026-07-13 09:32:44 +00:00
Márcio Fernandes 6362d19578 modified: cluster/README.md 2026-07-12 18:35:05 +00:00
Márcio Fernandes b600dfc111 modified: services/traefik/deploy/app/default/helm-release.yaml
modified:   services/traefik/deploy/app/icarus/helm-release.yaml
2026-07-12 15:15:04 +00:00
Márcio Fernandes 1802482f3e modified: services/node-red/deploy/app/ingress.yaml 2026-07-12 15:10:49 +00:00
Márcio Fernandes e1e6f5161d modified: services/traefik/deploy/app/default/helm-release.yaml
modified:   services/traefik/deploy/app/icarus/helm-release.yaml
2026-07-12 14:54:27 +00:00
Márcio Fernandes 37d2be6e27 modified: services/traefik/deploy/app/default/helm-release.yaml 2026-07-12 14:46:00 +00:00
Márcio Fernandes 82c2e4d0ec modified: services/traefik/deploy/app/default/helm-release.yaml 2026-07-12 14:44:19 +00:00
Márcio Fernandes d050ee16e1 modified: services/traefik/deploy/app/default/helm-release.yaml
modified:   services/traefik/deploy/app/icarus/helm-release.yaml
2026-07-12 14:33:14 +00:00
Márcio Fernandes a3e9f3e00a modified: services/traefik/deploy/app/default/helm-release.yaml 2026-07-12 14:23:59 +00:00
Márcio Fernandes 002f832321 modified: services/cilium/deploy/policies/traefik-l2.yaml
modified:   services/traefik/deploy/app/default/helm-release.yaml
modified:   services/traefik/deploy/app/icarus/helm-release.yaml
2026-07-12 14:20:35 +00:00
Márcio Fernandes 6dfbd9224f modified: services/cilium/deploy/app/helm-values.yaml
modified:   services/traefik/deploy/app/default/helm-release.yaml
modified:   services/traefik/deploy/app/icarus/helm-release.yaml
2026-07-12 13:59:37 +00:00
Márcio Fernandes 85982571dd modified: services/cilium/deploy/policies/traefik-l2.yaml
modified:   services/traefik/deploy/app/default/helm-release.yaml
modified:   services/traefik/deploy/app/icarus/helm-release.yaml
2026-07-12 13:47:42 +00:00
Márcio Fernandes f973579c3c modified: services/cilium/deploy/app/helm-values.yaml 2026-07-12 13:34:43 +00:00
Márcio Fernandes e1bb9ddda6 modified: services/cilium/deploy/README.md
modified:   services/cilium/deploy/app/helm-values.yaml
new file:   services/cilium/deploy/policies/traefik-l2.yaml
2026-07-12 13:31:17 +00:00
Márcio Fernandes 63591efc8f modified: services/cilium/deploy/app/helm-values.yaml 2026-07-12 12:48:52 +00:00
Márcio Fernandes 213428cefe modified: services/traefik/deploy/app/default/helm-release.yaml
modified:   services/traefik/deploy/app/icarus/helm-release.yaml
2026-07-12 12:39:50 +00:00
Márcio Fernandes 01b9d5f5d0 modified: services/cilium/deploy/app/helm-values.yaml 2026-07-12 12:30:44 +00:00
Márcio Fernandes 74bad5e4d5 modified: services/traefik/deploy/app/default/helm-release.yaml
modified:   services/traefik/deploy/app/default/kustomization.yaml
modified:   services/traefik/deploy/app/icarus/helm-release.yaml
2026-07-12 12:08:52 +00:00
Márcio Fernandes 89a7646085 add traefik to loadbalancer 2026-07-12 11:54:03 +00:00
Márcio Fernandes da816bbf14 set up traefik icarus 2026-07-12 11:23:03 +00:00
Márcio Fernandes e009a6ed81 modified: services/cilium/deploy/app/helm-values.yaml 2026-07-12 11:10:23 +00:00
Márcio Fernandes fd497b9506 modified: services/cilium/deploy/README.md 2026-07-12 10:44:19 +00:00
Márcio Fernandes 57754701a5 modified: services/cilium/deploy/app/helm-repo.yaml 2026-07-12 10:30:45 +00:00
31 changed files with 363 additions and 5532 deletions
+2 -1
View File
@@ -31,7 +31,8 @@
"streetsidesoftware.code-spell-checker", "streetsidesoftware.code-spell-checker",
"ms-azuretools.vscode-containers", "ms-azuretools.vscode-containers",
"eamodio.gitlens", "eamodio.gitlens",
"bierner.markdown-preview-github-styles" "bierner.markdown-preview-github-styles",
"weaveworks.vscode-gitops-tools"
] ]
} }
} }
+2
View File
@@ -46,11 +46,13 @@
"davidanson", "davidanson",
"eamodio", "eamodio",
"envsubst", "envsubst",
"kubelet",
"lmscommunity", "lmscommunity",
"localtime", "localtime",
"LOGLEVEL", "LOGLEVEL",
"lyrionmusicserver", "lyrionmusicserver",
"mtxr", "mtxr",
"nvme",
"rclone", "rclone",
"reverseproxy", "reverseproxy",
"rogalmic", "rogalmic",
+19 -2
View File
@@ -13,6 +13,7 @@
- [minion01 - worker node](#minion01---worker-node) - [minion01 - worker node](#minion01---worker-node)
- [Minion01 - proxmox vm](#minion01---proxmox-vm) - [Minion01 - proxmox vm](#minion01---proxmox-vm)
- [casa-minion-01 - k3s - setup](#casa-minion-01---k3s---setup) - [casa-minion-01 - k3s - setup](#casa-minion-01---k3s---setup)
- [fstab](#fstab)
- [casa-mini-minion-01 - worker node](#casa-mini-minion-01---worker-node) - [casa-mini-minion-01 - worker node](#casa-mini-minion-01---worker-node)
- [casa-mini-minion-01 - proxmox vm](#casa-mini-minion-01---proxmox-vm) - [casa-mini-minion-01 - proxmox vm](#casa-mini-minion-01---proxmox-vm)
- [casa-mini-minion-01 - k3s - setup](#casa-mini-minion-01---k3s---setup) - [casa-mini-minion-01 - k3s - setup](#casa-mini-minion-01---k3s---setup)
@@ -238,6 +239,7 @@ numa: 0
onboot: 1 onboot: 1
ostype: l26 ostype: l26
scsi0: fastcore:vm-XXX-disk-0,iothread=1,size=8G,ssd=1 scsi0: fastcore:vm-XXX-disk-0,iothread=1,size=8G,ssd=1
scsi1: fluxcore:vm-xx-disk-0,iothread=1,size=32G,ssd=1 # used mainly by jellyfin cache
scsi1: fastcore:vm-XXX-disk-2,iothread=1,size=32G,ssd=1 /dataDisk # k3s-data-dir /dataDisk/k3s scsi1: fastcore:vm-XXX-disk-2,iothread=1,size=32G,ssd=1 /dataDisk # k3s-data-dir /dataDisk/k3s
scsihw: virtio-scsi-single scsihw: virtio-scsi-single
smbios1: xxxx-xxxx-xxxx-xxxx-xxxx smbios1: xxxx-xxxx-xxxx-xxxx-xxxx
@@ -260,7 +262,7 @@ sockets: 1
# cat /var/lib/rancher/k3s/server/node-token # cat /var/lib/rancher/k3s/server/node-token
K3S_TOKEN="????" K3S_TOKEN="????"
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.36.1+k3s1 INSTALL_K3S_EXEC="agent --data-dir /dataDisk/k3s --server https://casa.dev.lan:6443 --token ${K3S_TOKEN}" sh -s - curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.36.1+k3s1 INSTALL_K3S_EXEC="agent --data-dir /dataDisks/nvme00/k3s --server https://casa.dev.lan:6443 --token ${K3S_TOKEN}" sh -s -
``` ```
Change kubectl -n kube-system edit configmap local-path-config on kube-system to set path to provisioner. Change kubectl -n kube-system edit configmap local-path-config on kube-system to set path to provisioner.
@@ -269,7 +271,6 @@ Change kubectl -n kube-system edit configmap local-path-config on kube-system to
config.json: |- config.json: |-
{ {
"nodePathMap":[ "nodePathMap":[
{
"node":"DEFAULT_PATH_FOR_NON_LISTED_NODES", "node":"DEFAULT_PATH_FOR_NON_LISTED_NODES",
"paths":["/var/lib/rancher/k3s/storage"] "paths":["/var/lib/rancher/k3s/storage"]
}, },
@@ -287,6 +288,22 @@ Change kubectl -n kube-system edit configmap local-path-config on kube-system to
kubectl label node casa-minion-01 role=worker-node kubectl label node casa-minion-01 role=worker-node
``` ```
### fstab
```bash
UUID=xxxx-xxxx-xxxx-xxxx-xxxx / ext4 errors=remount-ro 0 1
UUID=xxxx-xxxx-xxxx-xxxx-xxxx /dataDisks/nvme00 ext4 errors=remount-ro 0 1
UUID=xxxx-xxxx-xxxx-xxxx-xxxx /dataDisks/nvme01-ephemeral ext4 errors=remount-ro 0 1
UUID=xxxx-xxxx-xxxx-xxxx-xxxx /dataDisks/ssd00 ext4 errors=remount-ro 0 1
```
``` bash
# setup kubelet pods data to nvme01-ephemeral
ln -s /dataDisks/nvme01-ephemeral/kubelet/pods /var/lib/kubelet/pods
# setup k3s containerd data to nvme01-ephemeral
ln -s /dataDisks/nvme01-ephemeral/k3s/agent/containerd /dataDisks/nvme00/k3s/agent/containerd
```
## casa-mini-minion-01 - worker node ## casa-mini-minion-01 - worker node
### casa-mini-minion-01 - proxmox vm ### casa-mini-minion-01 - proxmox vm
+3 -1
View File
@@ -2,6 +2,7 @@
<oci://quay.io/cilium/charts/cilium> <oci://quay.io/cilium/charts/cilium>
<https://docs.cilium.io/en/stable/helm-reference/#helm-reference> <https://docs.cilium.io/en/stable/helm-reference/#helm-reference>
<https://docs.cilium.io/en/stable/installation/k8s-install-helm/>
## setup and deploy ## setup and deploy
@@ -29,7 +30,8 @@ kubectl get CiliumLoadBalancerIPPool -A
**Force helm:** **Force helm:**
```bash ```bash
helm upgrade --install cilium oci://quay.io/cilium/cilium \ helm repo add cilium https://helm.cilium.io/
helm upgrade cilium cilium/cilium \
--version 1.19.5 \ --version 1.19.5 \
-f ./deploy/app/helm-values.yaml \ -f ./deploy/app/helm-values.yaml \
--namespace cilium --namespace cilium
+1 -2
View File
@@ -5,5 +5,4 @@ metadata:
namespace: cilium namespace: cilium
spec: spec:
interval: 40h interval: 40h
type: oci url: https://helm.cilium.io/
url: oci://quay.io/cilium/cilium
+28 -1
View File
@@ -6,4 +6,31 @@ autoDirectNodeRoutes: true
ipv4NativeRoutingCIDR: "10.42.0.0/16" ipv4NativeRoutingCIDR: "10.42.0.0/16"
bpf: bpf:
masquerade: true masquerade: true
hostLegacyRouting: false # force use of bfp hostLegacyRouting: false # force use of bfp
ipam:
operator:
clusterPoolIPv4PodCIDR: "10.42.0.0/16"
clusterPoolIPv4MaskSize: 24
l2announcements:
enabled: true
loadBalancer:
mode: hybrid
operator:
replicas: 1
# fix error="listen tcp :30913: bind: address already in use" in agent
nodePort:
enableHealthCheck: false
enableHealthCheckLoadBalancerIP: false
advertisement:
loadBalancerIPs: true
externalIPs: true
hubble:
relay:
enabled: true
ui:
enabled: true
@@ -0,0 +1,23 @@
apiVersion: cilium.io/v2alpha1
kind: CiliumL2AnnouncementPolicy
metadata:
name: casa-l2
spec:
# nodeSelector:
# matchLabels:
# casa-lan: "true"
serviceSelector:
matchLabels:
casa-lan-l2-expose: "true"
interfaces:
- ens18
externalIPs: true
loadBalancerIPs: true
---
apiVersion: cilium.io/v2
kind: CiliumLoadBalancerIPPool
metadata:
name: casa-l2
spec:
blocks:
- cidr: 192.168.14.0/24
+7
View File
@@ -23,3 +23,10 @@ helm upgrade flux-operator oci://ghcr.io/controlplaneio-fluxcd/charts/flux-opera
--create-namespace --create-namespace
kubectl apply -f ./deploy/fluxsystem.yaml kubectl apply -f ./deploy/fluxsystem.yaml
``` ```
**Allow prometheus scrapping:**
```bash
kubectl apply -f deploy/monitoring.yaml
kubectl label ns flux-system prometheus-monitoring=enabled
```
@@ -0,0 +1,26 @@
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: flux-system
namespace: flux-system
labels:
app.kubernetes.io/part-of: flux
app.kubernetes.io/component: monitoring
prometheus-monitoring: enabled
spec:
namespaceSelector:
matchNames:
- flux-system
selector:
matchExpressions:
- key: app
operator: In
values:
- helm-controller
- source-controller
- kustomize-controller
- notification-controller
- image-automation-controller
- image-reflector-controller
podMetricsEndpoints:
- port: http-prom
+6
View File
@@ -20,3 +20,9 @@ Using flux for reconciliation.
``` bash ``` bash
sops -e deploy/promtail/helm-values.private.dec.yaml > deploy/promtail/helm-values.private.yaml sops -e deploy/promtail/helm-values.private.dec.yaml > deploy/promtail/helm-values.private.yaml
``` ```
**Check agent:**
``` bash
http://localhost:9090/agent
```
@@ -1,6 +1,4 @@
# values.yaml to install only Prometheus Operator and CRDs
# Disable all components except the operator
defaultRules: defaultRules:
create: false create: false
@@ -10,11 +8,15 @@ alertmanager:
grafana: grafana:
enabled: false enabled: false
prometheus:
enabled: false
kubeStateMetrics: kubeStateMetrics:
enabled: true enabled: true
nodeExporter: nodeExporter:
enabled: true enabled: true
prometheus-node-exporter: prometheus-node-exporter:
prometheus: prometheus:
monitor: monitor:
@@ -27,8 +29,7 @@ prometheus-node-exporter:
- targetLabel: cluster - targetLabel: cluster
replacement: casa replacement: casa
prometheus:
enabled: false
coreDns: coreDns:
enabled: true enabled: true
File diff suppressed because it is too large Load Diff
@@ -4,6 +4,7 @@ metadata:
name: node-red name: node-red
namespace: node-red namespace: node-red
spec: spec:
ingressClassName: traefik
entryPoints: entryPoints:
- websecure - websecure
routes: routes:
+23 -1
View File
@@ -1,3 +1,25 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: node-red
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
hostPath:
path: /dataDisks/nvme00/k3s/storageStatic/pv-node-red
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- casa-minion-01
---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
@@ -9,4 +31,4 @@ spec:
resources: resources:
requests: requests:
storage: 1Gi storage: 1Gi
storageClassName: local-path storageClassName: ""
-9
View File
@@ -1,9 +0,0 @@
# traefik
## Setup
Using flux for reconciliation.
``` bash
kubectl kustomize ./deploy/flux | kubectl apply -f -
```
@@ -1,24 +0,0 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: traefik
spec:
releaseName: traefik
interval: 40h
chart:
spec:
chart: traefik
version: 40.x.x
sourceRef:
kind: HelmRepository
name: traefik
namespace: traefik-public
interval: 40h
values:
nodeSelector:
ingressClass:
enabled: true
isDefaultClass: false
name: traefik-icarus
@@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: traefik-public
resources:
- app-sync.yaml
@@ -0,0 +1,70 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: traefik
spec:
releaseName: traefik
interval: 1m
chart:
spec:
chart: traefik
version: 40.x.x
sourceRef:
kind: HelmRepository
name: traefik
namespace: traefik
interval: 40h
values:
nodeSelector:
kubernetes.io/hostname: casa-mini-minion-01
tolerations:
- key: "infra.limbosolutions.com/dedicated"
operator: "Equal"
value: "casa-mini-minion-01"
effect: "NoSchedule"
ingressClass:
enabled: true
isDefaultClass: true
name: traefik
service:
enabled: true
type: LoadBalancer
spec:
internalTrafficPolicy: Cluster
loadBalancerIP: 192.168.14.203
allocateLoadBalancerNodePorts: false
labels:
casa-lan-l2-expose: "true"
ports:
web:
port: 80
exposedPort: 80
expose:
default: true
protocol: TCP
websecure:
port: 443
exposedPort: 443
expose:
default: true
protocol: TCP
providers:
kubernetesCRD:
enabled: true
allowCrossNamespace: false
namespaces: []
ingressClass: traefik
kubernetesIngress:
enabled: true
ingressClass: traefik
additionalArguments:
- "--providers.kubernetesingress.ingressclass=traefik"
- "--providers.kubernetescrd.ingressClass=traefik"
- "--providers.kubernetescrd.allowEmptyServices=false"
@@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: kube-system namespace: traefik
resources: resources:
- helm-release.yaml - helm-release.yaml
- helm-repo.yaml - helm-repo.yaml
@@ -1,31 +0,0 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: traefik
spec:
releaseName: traefik
interval: 40h
chart:
spec:
chart: traefik
version: 40.x.x
sourceRef:
kind: HelmRepository
name: traefik
namespace: kube-system
interval: 40h
values:
nodeSelector:
kubernetes.io/hostname: casa-mini-minion-01
tolerations:
- key: "infra.limbosolutions.com/dedicated"
operator: "Equal"
value: "casa-mini-minion-01"
effect: "NoSchedule"
ingressClass:
enabled: true
isDefaultClass: true
name: traefik
@@ -0,0 +1,63 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: traefik
spec:
releaseName: traefik
interval: 1m
chart:
spec:
chart: traefik
version: 40.x.x
sourceRef:
kind: HelmRepository
name: traefik
namespace: traefik-icarus
interval: 40h
values:
nodeSelector:
kubernetes.io/hostname: casa-minion-01
ingressClass:
enabled: true
isDefaultClass: false
name: traefik-icarus
service:
enabled: true
type: LoadBalancer
spec:
externalTrafficPolicy: Cluster
loadBalancerIP: 192.168.14.204
labels:
casa-lan-l2-expose: "true"
ports:
web:
port: 80
exposedPort: 80
expose:
default: true
protocol: TCP
websecure:
port: 443
exposedPort: 443
expose:
default: true
protocol: TCP
providers:
kubernetesCRD:
enabled: true
allowCrossNamespace: false
namespaces: []
ingressClass: traefik-icarus
kubernetesIngress:
enabled: true
ingressClass: traefik-icarus
additionalArguments:
- "--providers.kubernetesingress.ingressclass=traefik-icarus"
- "--providers.kubernetescrd.ingressClass=traefik-icarus"
- "--providers.kubernetescrd.allowEmptyServices=false"
@@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: traefik-public namespace: traefik-icarus
resources: resources:
- helm-release.yaml - helm-release.yaml
- helm-repo.yaml - helm-repo.yaml
@@ -2,12 +2,13 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization kind: Kustomization
metadata: metadata:
name: traefik name: traefik
namespace: traefik
spec: spec:
interval: 1m interval: 1m
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
name: casa name: casa
namespace: casa-limbosolutions-com namespace: casa-limbosolutions-com
path: services/traefik-public/deploy/app path: services/traefik/deploy/app/default
prune: true prune: true
@@ -1,13 +1,13 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization kind: Kustomization
metadata: metadata:
name: traefik name: traefik-icarus
namespace: traefik-icarus
spec: spec:
interval: 1m interval: 1m
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
name: casa name: casa
namespace: casa-limbosolutions-com namespace: casa-limbosolutions-com
path: services/traefik/deploy/app path: services/traefik/deploy/app/icarus
prune: true prune: true
@@ -1,5 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: kube-system
resources: resources:
- app-sync.yaml - default-sync.yaml
- icarus-sync.yaml
@@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: wyoming namespace: wyoming
resources: resources:
- pvc.yaml - storage.yaml
- piper-deployment.yaml - piper-deployment.yaml
- piper-service.yaml - piper-service.yaml
- whisper-deployment.yaml - whisper-deployment.yaml
@@ -20,7 +20,7 @@ spec:
containers: containers:
- name: wyoming-piper - name: wyoming-piper
### Maintained by flux - Image Update Automation ### Maintained by flux - Image Update Automation
image: rhasspy/wyoming-piper:latest@sha256:c874e4a04657ae3381332ee5d0c8c70a310dae6722892840f530ac0890b44eb3 # {"$imagepolicy": "wyoming:piper"} image: rhasspy/wyoming-piper:latest@sha256:69b7f797ae3a8c3c0202cbf97152fb795d78c2355de2a31655c20671247360d8 # {"$imagepolicy": "wyoming:piper"}
### ###
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /data
@@ -34,15 +34,3 @@ spec:
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim:
claimName: wyoming-piper claimName: wyoming-piper
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wyoming-piper
namespace: wyoming
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
-11
View File
@@ -1,11 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wyoming-whisper
namespace: wyoming
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 8Gi
+73
View File
@@ -0,0 +1,73 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: wyoming-whisper
namespace: wyoming
spec:
capacity:
storage: 8Gi
accessModes:
- ReadWriteOnce
hostPath:
path: /dataDisks/nvme00/k3s/storageStatic/pv-wyoming-whisper
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- casa-minion-01
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wyoming-whisper
namespace: wyoming
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 8Gi
storageClassName: ""
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: wyoming-piper
namespace: wyoming
spec:
capacity:
storage: 2Gi
accessModes:
- ReadWriteOnce
hostPath:
path: /dataDisks/nvme00/k3s/storageStatic/pv-wyoming-piper
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- casa-minion-01
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wyoming-piper
namespace: wyoming
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storageClassName: ""