Compare commits
No commits in common. "addef453129093eb96b5af680147fe238e415f3a" and "161653985249af9723e2875a79f5a2b8dd76bcac" have entirely different histories.
addef45312
...
1616539852
28 changed files with 80 additions and 134 deletions
|
@ -87,7 +87,7 @@ tasks:
|
|||
"containers": [
|
||||
{
|
||||
"name": "debug",
|
||||
"image": "docker.io/library/alpine:3.19.1",
|
||||
"image": "ghcr.io/onedr0p/alpine:rolling",
|
||||
"command": ["/bin/bash"],
|
||||
"stdin": true,
|
||||
"stdinOnce": true,
|
||||
|
|
|
@ -39,7 +39,7 @@ spec:
|
|||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: crunchy-postgres
|
||||
replicas: &replica 1
|
||||
replicas: &replica 3
|
||||
dataVolumeClaimSpec:
|
||||
storageClassName: openebs-hostpath
|
||||
accessModes:
|
||||
|
|
|
@ -7,7 +7,7 @@ metadata:
|
|||
app.kubernetes.io/name: dragonfly
|
||||
name: dragonfly
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
|
|
|
@ -23,7 +23,7 @@ containerRuntime:
|
|||
|
||||
localRedirectPolicy: true
|
||||
operator:
|
||||
replicas: 1
|
||||
rollOutPods: true
|
||||
ipam:
|
||||
mode: kubernetes
|
||||
kubeProxyReplacement: true
|
||||
|
|
|
@ -24,7 +24,7 @@ spec:
|
|||
uninstall:
|
||||
keepHistory: false
|
||||
values:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
kind: Deployment
|
||||
deschedulerPolicyAPIVersion: descheduler/v1alpha2
|
||||
deschedulerPolicy:
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
providerRegex: ^shadowfax$
|
||||
bypassDnsResolution: true
|
|
@ -1,32 +0,0 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: kubelet-csr-approver
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
spec:
|
||||
chart: kubelet-csr-approver
|
||||
version: 1.1.0
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: postfinance
|
||||
namespace: flux-system
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
cleanupOnFail: true
|
||||
remediation:
|
||||
strategy: rollback
|
||||
retries: 3
|
||||
valuesFrom:
|
||||
- kind: ConfigMap
|
||||
name: kubelet-csr-approver-helm-values
|
||||
values:
|
||||
metrics:
|
||||
enable: true
|
||||
serviceMonitor:
|
||||
enabled: true
|
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./helmrelease.yaml
|
||||
configMapGenerator:
|
||||
- name: kubelet-csr-approver-helm-values
|
||||
files:
|
||||
- values.yaml=./helm-values.yaml
|
||||
configurations:
|
||||
- kustomizeconfig.yaml
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
nameReference:
|
||||
- kind: ConfigMap
|
||||
version: v1
|
||||
fieldSpecs:
|
||||
- path: spec/valuesFrom/name
|
||||
kind: HelmRelease
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: &app kubelet-csr-approver
|
||||
namespace: flux-system
|
||||
spec:
|
||||
targetNamespace: kube-system
|
||||
commonMetadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: *app
|
||||
path: ./kubernetes/apps/kube-system/kubelet-csr-approver/app
|
||||
prune: false # never should be deleted
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: homelab
|
||||
wait: false
|
||||
interval: 30m
|
||||
retryInterval: 1m
|
||||
timeout: 5m
|
|
@ -10,7 +10,6 @@ resources:
|
|||
- ./descheduler/ks.yaml
|
||||
- ./dnsimple-webhook-rbac.yaml
|
||||
- ./fstrim/ks.yaml
|
||||
- ./kubelet-csr-approver/ks.yaml
|
||||
- ./metrics-server/ks.yaml
|
||||
- ./multus/ks.yaml
|
||||
- ./intel-device-plugin/ks.yaml
|
||||
|
|
|
@ -56,7 +56,7 @@ spec:
|
|||
serviceMonitor:
|
||||
enabled: true
|
||||
admissionController:
|
||||
replicas: 1
|
||||
replicas: 3
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
rbac:
|
||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
|||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: pgo-${APP}
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
dataVolumeClaimSpec:
|
||||
storageClassName: openebs-hostpath
|
||||
accessModes:
|
||||
|
|
|
@ -28,7 +28,7 @@ spec:
|
|||
values:
|
||||
controllers:
|
||||
cloudflared:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
strategy: RollingUpdate
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
|
|
|
@ -22,7 +22,7 @@ spec:
|
|||
valuesKey: MAXMIND_LICENSE_KEY
|
||||
values:
|
||||
controller:
|
||||
replicaCount: 1
|
||||
replicaCount: 2
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
allowSnippetAnnotations: true
|
||||
|
|
|
@ -20,7 +20,7 @@ spec:
|
|||
fullnameOverride: nginx-internal
|
||||
|
||||
controller:
|
||||
replicaCount: 1
|
||||
replicaCount: 3
|
||||
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
|
|
|
@ -29,7 +29,7 @@ spec:
|
|||
- name: loki
|
||||
namespace: observability
|
||||
values:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
envFromSecret: grafana-secret
|
||||
dashboardProviders:
|
||||
dashboardproviders.yaml:
|
||||
|
|
|
@ -45,7 +45,7 @@ spec:
|
|||
- hosts:
|
||||
- *host
|
||||
alertmanagerSpec:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
useExistingSecret: true
|
||||
configSecret: alertmanager-secret
|
||||
storage:
|
||||
|
@ -117,7 +117,7 @@ spec:
|
|||
podMetadata:
|
||||
annotations:
|
||||
secret.reloader.stakater.com/reload: &secret thanos-objstore-config
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
replicaExternalLabelName: __replica__
|
||||
scrapeInterval: 1m # Must match interval in Grafana Helm chart
|
||||
ruleSelectorNilUsesHelmValues: false
|
||||
|
|
|
@ -111,12 +111,12 @@ spec:
|
|||
analytics:
|
||||
reporting_enabled: false
|
||||
backend:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
persistence:
|
||||
size: 20Gi
|
||||
storageClass: openebs-hostpath
|
||||
gateway:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
image:
|
||||
registry: ghcr.io
|
||||
ingress:
|
||||
|
@ -130,9 +130,9 @@ spec:
|
|||
tls:
|
||||
- hosts: [*host]
|
||||
read:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
write:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
persistence:
|
||||
size: 20Gi
|
||||
storageClass: openebs-hostpath
|
||||
|
|
|
@ -75,11 +75,11 @@ spec:
|
|||
storageClass: openebs-hostpath
|
||||
size: 10Gi
|
||||
query:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
extraArgs: ["--alert.query-url=https://thanos.jahanson.tech"]
|
||||
queryFrontend:
|
||||
enabled: true
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
extraEnv: &extraEnv
|
||||
- name: THANOS_CACHE_CONFIG
|
||||
valueFrom:
|
||||
|
@ -98,7 +98,7 @@ spec:
|
|||
configmap.reloader.stakater.com/reload: *configMap
|
||||
rule:
|
||||
enabled: true
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
extraArgs: ["--web.prefix-header=X-Forwarded-Prefix"]
|
||||
alertmanagersConfig:
|
||||
value: |-
|
||||
|
@ -120,7 +120,7 @@ spec:
|
|||
severity: critical
|
||||
persistence: *persistence
|
||||
storeGateway:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
extraEnv: *extraEnv
|
||||
extraArgs: ["--index-cache.config=$(THANOS_CACHE_CONFIG)"]
|
||||
persistence: *persistence
|
||||
|
|
|
@ -26,7 +26,7 @@ spec:
|
|||
values:
|
||||
controllers:
|
||||
vector-aggregator:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
strategy: RollingUpdate
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
|
|
|
@ -49,7 +49,6 @@ spec:
|
|||
bdev_enable_discard = true
|
||||
bdev_async_discard = true
|
||||
osd_class_update_on_start = false
|
||||
osd_pool_default_size = 1
|
||||
cephClusterSpec:
|
||||
network:
|
||||
provider: host
|
||||
|
@ -64,7 +63,20 @@ spec:
|
|||
storage:
|
||||
useAllNodes: true
|
||||
useAllDevices: false
|
||||
deviceFilter: "nvme2n1"
|
||||
deviceFilter: "xvdb|nvme1n1|nvme0n1"
|
||||
placement:
|
||||
mgr: &placement
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: Exists
|
||||
tolerations: # allow mgr to run on control plane nodes
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
mon: *placement
|
||||
resources:
|
||||
mgr:
|
||||
requests:
|
||||
|
@ -91,6 +103,8 @@ spec:
|
|||
- name: ceph-blockpool
|
||||
spec:
|
||||
failureDomain: host
|
||||
replicated:
|
||||
size: 3
|
||||
storageClass:
|
||||
enabled: true
|
||||
name: ceph-block
|
||||
|
@ -116,8 +130,12 @@ spec:
|
|||
- name: ceph-filesystem
|
||||
spec:
|
||||
metadataPool:
|
||||
replicated:
|
||||
size: 3
|
||||
dataPools:
|
||||
- failureDomain: host
|
||||
replicated:
|
||||
size: 3
|
||||
name: data0
|
||||
metadataServer:
|
||||
activeCount: 1
|
||||
|
@ -153,8 +171,13 @@ spec:
|
|||
spec:
|
||||
metadataPool:
|
||||
failureDomain: host
|
||||
replicated:
|
||||
size: 3
|
||||
dataPool:
|
||||
failureDomain: host
|
||||
erasureCoded:
|
||||
dataChunks: 2
|
||||
codingChunks: 1
|
||||
preservePoolsOnDelete: true
|
||||
gateway:
|
||||
port: 80
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
namespace: flux-system
|
||||
values:
|
||||
installCRDs: true
|
||||
replicaCount: 1
|
||||
replicaCount: 3
|
||||
leaderElect: true
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
|
|
|
@ -10,8 +10,8 @@ helmDefaults:
|
|||
repositories:
|
||||
- name: cilium
|
||||
url: https://helm.cilium.io
|
||||
- name: postfinance
|
||||
url: https://postfinance.github.io/kubelet-csr-approver
|
||||
- name: nvdp
|
||||
url: https://nvidia.github.io/k8s-device-plugin
|
||||
|
||||
releases:
|
||||
- name: cilium
|
||||
|
@ -20,12 +20,12 @@ releases:
|
|||
version: 1.15.4
|
||||
values: ["../../../apps/kube-system/cilium/app/resources/values.yml"]
|
||||
wait: true
|
||||
- name: kubelet-csr-approver
|
||||
- name: nvidia-device-plugin
|
||||
namespace: kube-system
|
||||
chart: postfinance/kubelet-csr-approver
|
||||
version: 1.1.0
|
||||
values: ["../../../apps/kube-system/kubelet-csr-approver/app/helm-values.yaml"]
|
||||
needs: ["cilium"]
|
||||
chart: nvdp/nvidia-device-plugin
|
||||
version: 0.14.5
|
||||
values: ["../../../apps/kube-system/nvidia-device-plugin/app/resources/values.yml"]
|
||||
wait: true
|
||||
- name: spegel
|
||||
namespace: kube-system
|
||||
chart: oci://ghcr.io/spegel-org/helm-charts/spegel
|
||||
|
|
|
@ -6,6 +6,9 @@ talosVersion: v1.7.1
|
|||
kubernetesVersion: 1.28.4
|
||||
endpoint: "https://10.1.1.57:6443"
|
||||
|
||||
cniConfig:
|
||||
name: none
|
||||
|
||||
additionalApiServerCertSans:
|
||||
- 10.1.1.57
|
||||
|
||||
|
@ -18,12 +21,10 @@ nodes:
|
|||
ipAddress: 10.1.1.61
|
||||
controlPlane: true
|
||||
installDiskSelector:
|
||||
busPath: /pci0000:20/0000:20:01.2/0000:2d:00.0/nvme/nvme1/nvme1n1
|
||||
busPath: /dev/nvme0n1
|
||||
networkInterfaces:
|
||||
- interface: enp37s0f1
|
||||
- interface: eth0
|
||||
dhcp: true
|
||||
- interface: enp37s0f0
|
||||
dhcp: false
|
||||
kernelModules:
|
||||
- name: nvidia
|
||||
- name: nvidia_uvm
|
||||
|
@ -54,7 +55,7 @@ controlPlane:
|
|||
machine:
|
||||
network:
|
||||
nameservers:
|
||||
- 10.1.1.1
|
||||
- 10.1.1.11
|
||||
|
||||
# Configure NTP
|
||||
- |-
|
||||
|
@ -78,9 +79,6 @@ controlPlane:
|
|||
allowSchedulingOnMasters: true
|
||||
proxy:
|
||||
disabled: true
|
||||
network:
|
||||
cni:
|
||||
name: none
|
||||
|
||||
# ETCD configuration
|
||||
- |-
|
||||
|
|
|
@ -34,7 +34,7 @@ spec:
|
|||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: pgo-${APP}
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
dataVolumeClaimSpec:
|
||||
storageClassName: openebs-hostpath
|
||||
accessModes:
|
||||
|
|
|
@ -3,19 +3,19 @@ apiVersion: v1
|
|||
kind: Pod
|
||||
metadata:
|
||||
name: disk-wipe-one
|
||||
namespace: kube-system
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
nodeName: shadowfax
|
||||
nodeName: talos-ltk-p4a
|
||||
containers:
|
||||
- name: disk-wipe
|
||||
image: docker.io/library/alpine:3.19.1
|
||||
image: ghcr.io/onedr0p/alpine:3.19.1@sha256:3fbc581cb0fe29830376161ae026e2a765dcc11e1747477fe9ebf155720b8638
|
||||
securityContext:
|
||||
privileged: true
|
||||
resources: {}
|
||||
env:
|
||||
- name: CEPH_DISK
|
||||
value: "/dev/nvme2n1"
|
||||
value: "/dev/xvdb"
|
||||
command:
|
||||
[
|
||||
"/bin/sh",
|
||||
|
@ -34,3 +34,4 @@ spec:
|
|||
- name: host-var
|
||||
hostPath:
|
||||
path: /var
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ spec:
|
|||
nodeName: talos-fki-fmf
|
||||
containers:
|
||||
- name: disk-wipe
|
||||
image: docker.io/library/alpine:3.19.1
|
||||
image: ghcr.io/onedr0p/alpine:3.19.1@sha256:3fbc581cb0fe29830376161ae026e2a765dcc11e1747477fe9ebf155720b8638
|
||||
securityContext:
|
||||
privileged: true
|
||||
resources: {}
|
||||
|
@ -46,7 +46,7 @@ spec:
|
|||
nodeName: talos-xuc-f2e
|
||||
containers:
|
||||
- name: disk-wipe
|
||||
image: docker.io/library/alpine:3.19.1
|
||||
image: ghcr.io/onedr0p/alpine:3.19.1@sha256:3fbc581cb0fe29830376161ae026e2a765dcc11e1747477fe9ebf155720b8638
|
||||
securityContext:
|
||||
privileged: true
|
||||
resources: {}
|
||||
|
@ -83,7 +83,7 @@ spec:
|
|||
nodeName: talos-opy-6ij
|
||||
containers:
|
||||
- name: disk-wipe
|
||||
image: docker.io/library/alpine:3.19.1
|
||||
image: ghcr.io/onedr0p/alpine:3.19.1@sha256:3fbc581cb0fe29830376161ae026e2a765dcc11e1747477fe9ebf155720b8638
|
||||
securityContext:
|
||||
privileged: true
|
||||
resources: {}
|
||||
|
|
Loading…
Reference in a new issue