unchama

Results 21 issues of unchama

関連 #505

Category: メタ - オンプレk8sクラスタ

## 概要 - terraformによりhelm installされるArgoCDにはmetricsの設定が入っている https://github.com/GiganticMinecraft/seichi_infra/blob/00fc00f5019379cea2d4c711edea518b976361e7/seichi-onp-k8s/manifests/seichi-kubernetes/argocd-helm-chart-values.yaml#L98-L103 - この定義をhelm installする場合前提としてprometheus-operatorで作成されるCRDsが必要 - しかしながらprometheus-operatorはArgoCDが入れてるので、クラスタ作り直したときにおそらくArgoCDが入らない ## 補足 - 検証環境で事象確認してます - https://github.com/unchama/kube-cluster-on-proxmox/issues/6

bug
Category: メタ - オンプレk8sクラスタ

`kubeadm init`や`kubeadm join`の時に読ませるconfigに`nodeRegistration.kubeletExtraArgs.node-ip`を書けば変わる `node-ip`はnode毎にSANセグメントのIPを指定する(…というのをスクリプトに表すのがめんどいので後回しにしている) ```yaml apiVersion: kubeadm.k8s.io/v1beta3 kind: InitConfiguration nodeRegistration: criSocket: "unix:///var/run/containerd/containerd.sock" kubeletExtraArgs: node-ip: "node-ip" ``` ```yaml apiVersion: kubeadm.k8s.io/v1beta3 kind: JoinConfiguration nodeRegistration: criSocket: "unix:///var/run/containerd/containerd.sock" kubeletExtraArgs: node-ip: "node-ip" ``` - [...

Category: オンプレネットワーク

検証側でいい感じにできるようになったらseichi_infraにもってくる # 残件 - [x] https://github.com/unchama/kube-cluster-on-proxmox/issues/11 - [ ] https://github.com/unchama/kube-cluster-on-proxmox/issues/22 - [ ] https://github.com/unchama/kube-cluster-on-proxmox/issues/25

Category: オンプレk8sクラスタ

## なんでこれやりたいの 接続性の問題が出た時にPlayer報告ベースで気づくのではなく機械的に気付ける仕組みが欲しい 接続性の問題とは、例えばこんなの: https://discord.com/channels/237758724121427969/1156558185210073138/1156558185210073138 ## おためしダッシュボード - 過去1時間の"disconnected with"を含むBungeeCordログ数をグラフ化 > sum by(level) (count_over_time({app="bungeecord"} |~ `.*(disconnected with)` [1h])) - 閾値超えたらalerting(50ぐらいが妥当?) - この仕組みだとhigh pingな状態は拾えないけどこれは別途考える(このissueのスコープ外) https://grafana.com/grafana/dashboards/19689 https://grafana.onp-k8s.admin.seichi.click/d/c3602fe9-8f54-4b39-af0a-f242afce9b81/log-metrics-about-play-seichi-click-testing?orgId=1&from=now-7d&to=now [ ](url) これがいい感じに接続性の問題をアラーティングできそうなので永続化(yamlに落とし込む)したい ## やること...

`This uses the blackbox exporter, which does not expose packet loss, for example. It could be improved with https://github.com/SuperQ/smokeping_prober because it also keeps track of lost samples (https://github.com/SuperQ/smokeping_prober/issues/24). Unfortunately, that...

- Cilium v1.11 Hubble Metrics - - snmp_exporter(if_mib) - - - snmp_exporter(synology) - - - blackbox_exporter(icmp) -

ついでにansibleできると割と嬉しい 以下はドキュメント化までの繋ぎ - [ ] network設定 - [ ] repository設定 - [ ] 外部ストレージ(クラスタの一部再構築であればクラスタで情報もってるので不要) - [ ] swapoff -a - [ ] `/etc/fstab`からswap領域コメントアウト - [ ] vm.swapiness=1(しなくてもよさげカモ) - [ ]...

どうやって特定してどうやって消すんですか? 現存するpvのlabelとかにしれっと情報ないかな