by shigemk2

当面は技術的なことしか書かない

GitHub mermaid

プルリクやissueでmermaidが書ける それ以外に特筆することは何もない docs.github.com

GitHub sub issue

issueページから新しくsub issueを作成する issueページから既存のissueをsub issueにする のいずれかで、descriptionに何か文言を書き込めばsub issueになるとか、コメントにトリガーな文言を書き込めばそのissueがsub issueになるとかではない docs.github…

pip show

インストールされている1つ以上のパッケージに関する情報を表示するので、インストールされてなかったら表示されない。 Show information about one or more installed packages. The output is in RFC-compliant mail header format. pip.pypa.io

CertificateStatus フィールド一覧

フィールド 型 Optional 説明 conditions []CertificateCondition Yes 証明書の状態を示す condition のリスト。既知の type は Ready と Issuing lastFailureTime meta/v1.Time Yes 直近の発行が失敗した場合にのみセットされ、失敗時刻を保持する。次回発…

kubectl custom-columns cert-manager

すべての証明書名とその duration プロパティーおよび renewBefore プロパティーをリスト kubectl -A get certificate -o custom-columns=NAME:metadata.name,DURATION:spec.duration,RENEWBEFORE:spec.renewBefore カスタムリソースのReadyの一覧 kubectl -…

cert-manager kubectl plugin

cmctlで代用できそう cert-manager.io

cmctl

cert-manager用のcli brewで入れられる cmctl is a command line tool that can help you manage cert-manager and its resources inside your cluster. cert-manager.io

HPA memo

HorizontalPodAutoscaling Kubernetesリソース。HPAは、CPUやメモリの消費量のワークロードに応じて、Podの数を自動的に調整する機能を提供する。 P51 book.impress.co.jp

Devin ACU memo

Agent Compute Units (ACU) は、Devin の作業量を測る指標 1 回のセッションで消費される ACU の量は、次の要素に基づく そのセッションで Devin が実行するアクションの回数と複雑さ プランニング タスクに必要なコンテキストの収集 タスク完了までの手順 …

Aggregation pipeline

MongoDBの集計操作で、データドキュメントやレコードをグループ化して計算結果を返す。SQLに似ている。 db.aggregate() や db.collection.aggregate() にステージを渡す 各ステップは、前のステージの結果を受け取り、データをさらに処理した上で、そのデー…

CRD cert-manager

cert-manager uses Kubernetes Custom Resources to define the resources which users interact with when using cert-manager, such as Certificates and Issuers. ということなので、cert-managerのカスタムリソースがCertificatesだったりIssuersだった…

CRD(カスタムリソース)

Custom Resource Definitionsの略で、Kubernetes APIの拡張機能と紹介される pods deployments jobsなどのリソースとは別に、独自リソースを定義できる qiita.com kubernetes.io

upgrade guide cert-manager

We recommend that you upgrade cert-manager one minor version at a time, always choosing the latest patch version for the minor version. You should always read the release notes for the minor version to which you are upgrading. In cases whe…

firebase browser key memo

実態としては普通のapiキーで特にtypeとかで識別できるものでもなく docs.cloud.google.com

SonarQube LOCカウント

サーバーのドキュメントだけどクラウドでも一緒だと思われる サポートしてない言語のコードはカウントされない Code in unsupported languages does not count as LOC. However, if you run a 3rd party plugin that introduces support (for that language)…

google_project_iam_memberなどのconditions

Terraform considers the role and condition contents (title+description+expression) as the identifier for the binding. This means that if any part of the condition is changed out-of-band, Terraform will consider it to be an entirely differe…

datadog-ci sourcemaps upload disable-gitオプション

--disable-git(デフォルト: false)は、コマンドが現在の作業ディレクトリで git を実行するのを防ぎ、リポジトリ関連のデータ(コミットハッシュ、リモート URL、ソースマップで参照されているソースのリポジトリ内パス)を Datadog に送信しないようにす…

ScaleObject

KEDA(Kubernetes ベースのイベント駆動オートスケーラー) ScaledObject KEDA が Deployment、StatefulSet、およびカスタムリソースのスケーリングに使用するトリガーとスケーリング動作を定義するカスタムリソース定義(CRD) Ready: True は、ScaledObject …

Datadog ソースマップ

フロントエンドの JavaScript ソースコードが縮小化されている場合、Datadog にソースマップをアップロードして、異なるスタックトレースの難読化を解除します。 とのこと webpack.config.js で devtool: 'hidden-source-map' を設定 本番ビルドを実行 → dis…

Renovate/Mend.io メモ

経緯:買収による統合 Renovate Botは、依存関係の自動更新ツールで、2019年にMend.ioに買収された。 買収に伴い、それまで有料だったGitHub Appのプライベートリポジトリ向けプランと、セルフホスト型の Renovate Pro の両方が無料化された。これらは「Mend…

Error: Cask 'emacs-app' definition is invalid: 'conflicts_with' stanza failed with

emacs-appでも同じことが起きる brew doctorなどしてもダメで、メタデータが古いDSLを使っているので /opt/homebrew/Caskroomから消せってコメントされてる しかし単に/opt/homebrew/Caskroomからemacs-appを消して brew install --cask emacs-app するだけ…

ruby-build 20260327

3.2.11 など github.com

Firebase Authn

AWSでいうところのCognitoだがFirebaseと連携しやすいなどある Terraformで書けるドキュメントがある firebase.google.com 細かい比較 zenn.dev

quality gates

デフォルトビルトインなゲート Sonar way/Sonar way for AI Code カスタムquality gate 条件を満たさなかったらプルリク出してもマージできない docs.sonarsource.com

SSL終端

web

別のサーバーに渡される前にトラフィックを復号するプロセス 英語的にはssl terminationだからSSLターミネーションだったりSSL終了と呼ばれたり呼称が一定しない help.okta.com www.f5.com イメージ

L4 LB vs L7 LB

web

レイヤー4負荷分散 トランスポート メッセージの実際の内容を可視化しない アプリケーションポートやプロトコルなどのネットワーク情報に基づいてトラフィックを管理 単純なパケットレベルの負荷分散に有効 メッセージの検査や復号を行わないため、迅速かつ…

day2 operation

k8s

一般用語で、トリアージ、デプロイ済み資産の継続的メンテナンス、アップグレードのロールアウト、トラブルシューティングを指す learn.microsoft.com

keda 2.18.0 metadata.type

k8s

理由は不明だがmetadata.typeが消された 代わりにmetricTypeを使えとのこと github.com github.com

cert manager 1.15 installCRDs

k8s

Helm will now keep the CRDs when you uninstall cert-manager by default to prevent accidental data loss Add new crds.keep and crds.enabled Helm options which will replace the installCRDs option. とのこと crds.keepやcrds.enabledを使え cert-m…

cert-manager 1.18 Certificate.Spec.PrivateKey.RotationPolicy

k8s

Why? Because the old default was unintuitive and insecure. For example, if a private key is exposed, users may (reasonably) assume that re-issuing a certificate (e.g. using cmctl renew) will generate a new private key, but it won't unless …