roc

Results 87 comments of roc
trafficstars

Maybe it's better to allow keep existing metrics spec when resue an existing HPA? For example, add `scaledobject.keda.sh/keep-existing-hpa-metrics-spec` annotation to `ScaledObject`: ```yaml apiVersion: keda.sh/v1alpha1 kind: ScaledObject metadata: annotations: scaledobject.keda.sh/keep-existing-hpa-metrics-spec: "true"...

> Maybe it's better to allow keep existing metrics spec when resue an existing HPA? > This is not friendly to GitOps, for example, use ArgoCD to manage YAMLs, and...

I think I found the best solution, add a field to `horizontalPodAutoscalerConfig`, let's say it `metrics`, we can paste HPA's`spec.metrics` to ScaledObject's `spec.advanced.horizontalPodAutoscalerConfig.metrics`: ```yaml apiVersion: keda.sh/v1alpha1 kind: ScaledObject metadata: name:...

> Neovim now supports .editorconfig files in 0.9, I think that would be a cleaner approach to setting debug values as opposed to just asking for input every time Can...

I also really want this feature, this will make diffview.nvim very convenient. Before, I copied two commit ids separately and then open a diff view with `DiffviewOpen id1...id2`, which was...

Share my LazyVim's telescope config: ```lua opts = function(_, opts) opts.pickers = vim.tbl_deep_extend("force", opts.pickers or {}, { git_commits = { mappings = { i = { [""] = function() --...

我也遇到了,搜狗拼音输入法用中文,切回来之后变英文(状态显示还是中文,但实际输入是英文),但不是必现,不过概率比较大,超过50%。用系统自带的拼音输入法就没问题。 Neovim 版本: ```bash $ nvim --version NVIM v0.10.1 Build type: Release LuaJIT 2.1.1724512491 Run "nvim -V1 -v" for more info ``` mac信息: ![image](https://github.com/user-attachments/assets/77ceca68-1e75-48ca-8b17-0336549c288c)