首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏Linyb极客之路

    ingress-nginx常用注解指南

    注意:转发至容灾服务时,请求的Path会被重写为/,该行为与ingress-nginx保持一致官方链接:https://kubernetes.github.io/ingress-nginx/user-guide 官方链接:https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#rewrite官方配置示例 /nginx-configuration/annotations/#enable-cors官方配置示例:https://kubernetes.github.io/ingress-nginx/user-guide /nginx-configuration/annotations/#mirror官方配置示例:https://kubernetes.github.io/ingress-nginx/user-guide/ 该注解主要应用于网关需要验证客户端身份的场景 官方链接:https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration

    70810编辑于 2024-09-03
  • 来自专栏乱七八糟技术日常

    Kubernetes持久化配置文件

    可以被用来保存单个属性,也可以用来保存整个配置文件或者 JSON 二进制大对象 有点儿类似于zookeeper nacos这种服务注册中心 configMap的创建 使用目录创建 $ ls docs/user-guide /configmap/kubectl/ game.properties ui.properties $ cat docs/user-guide/configmap/kubectl/game.properties noGoodRotten secret.code.passphrase=UUDDLRLRBABAS secret.code.allowed=true secret.code.lives=30 $ cat docs/user-guide allow.textmode=true how.nice.to.look=fairlyNice $ kubectl create configmap game-config --from-file=docs/user-guide 使用文件创建 只要指定为一个文件就可以从单个文件中创建 ConfigMap kubectl create configmap game-config-2 --from-file=docs/user-guide

    40510编辑于 2022-09-26
  • 来自专栏SRE运维进阶之路

    KubeVirt 进阶:设置超卖比、CPU/MEM 升降配、在线磁盘扩容

    storage:500Gi source: blank:{} 参考链接: [1] Node overcommit:https://kubevirt.io/user-guide /compute/node_overcommit/#node-overcommit [2] CPU Hotplug:https://kubevirt.io/user-guide/compute/cpu_hotplug /#cpu-hotplug Memory Hotplug:https://kubevirt.io/user-guide/compute/memory_hotplug/#memory-hotplug [3 ] disk expansion https://kubevirt.io/user-guide/storage/disks_and_volumes/#disk-expansion [4] Node assignment https://kubevirt.io/user-guide/compute/node_assignment/#node-assignment

    67910编辑于 2025-01-08
  • 来自专栏云原生知识宇宙

    Nginx Ingress 高并发实践

    Nginx Ingress 的配置对应 keep-alive-requests,可以设置为 10000,参考: https://kubernetes.github.io/ingress-nginx/user-guide 的 keepalive 连接的请求数量的配置是 upstream-keepalive-requests,参考: https://kubernetes.github.io/ingress-nginx/user-guide 在高并发场景下可以调到 1000,参考: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap 16384,在高并发环境建议调高,比如设置到 65536,这样可以让 nginx 拥有处理更多连接的能力,参考: https://kubernetes.github.io/ingress-nginx/user-guide # 参考: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#keep-alive-requests

    3.3K115发布于 2020-09-03
  • 来自专栏运维开发故事

    k8s的 Nginx Ingress 调优

    在高并发场景下可以调到 1000,参考: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap 参考:https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#proxy-read-timeout https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#proxy-send-timeout 在高并发环境建议调高,比如设置到 65536,这样可以让 nginx 拥有处理更多连接的能力,参考: https://kubernetes.github.io/ingress-nginx/user-guide 开启 brotli 压缩 参考: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap

    3.8K30发布于 2021-08-13
  • 来自专栏颜汐小屋

    Helm部署Ingress使用DaemonSet+Taint/Tolerations+NodeSelector

    of IP addresses at which the controller services are available    ## Ref: https://kubernetes.io/docs/user-guide List of IP addresses at which the stats service is available      ## Ref: https://kubernetes.io/docs/user-guide  addresses at which the stats-exporter service is available      ## Ref: https://kubernetes.io/docs/user-guide   key: value  ## Node labels for default backend pod assignment  ## Ref: https://kubernetes.io/docs/user-guide IP addresses at which the default backend service is available    ## Ref: https://kubernetes.io/docs/user-guide

    77130编辑于 2023-10-01
  • 来自专栏云原生实验室

    使用 VictoriaMetrics 监控 K8s 集群

    Ref: [https://kubernetes.io/docs/user-guide/node-selection/](https://kubernetes.io/docs/user-guide/node-selection Ref: [https://kubernetes.io/docs/user-guide/services/#external-ips](https://kubernetes.io/docs/user-guide Ref: [http://kubernetes.io/docs/user-guide/persistent-volumes/](http://kubernetes.io/docs/user-guide/ Ref: [https://kubernetes.io/docs/user-guide/services/#external-ips](https://kubernetes.io/docs/user-guide Ref: [http://kubernetes.io/docs/user-guide/persistent-volumes/](http://kubernetes.io/docs/user-guide/

    3.7K40发布于 2021-06-09
  • 来自专栏dongfanger

    JUnit5的Tag、Filter、Order、Lifecycle

    参考资料: https://junit.org/junit5/docs/current/user-guide/#writing-tests-tagging-and-filtering https:/ /junit.org/junit5/docs/current/user-guide/#writing-tests-test-execution-order https://junit.org/junit5 /docs/current/user-guide/#writing-tests-test-instance-lifecycle

    72120发布于 2021-07-14
  • 来自专栏eadela

    k8s-kubernetes-configmap存储

    给我们提供了向容器中注入配置信息的机制, ConfigMap可以被用来保存单个属性,也可以用来保存整个配置文件或者JSON二进制大对象 ConfigMap的创建 1、使用目录创建 $1s docs/user-guide /configmap/kubect1/ game.properties ui.properties ​ $ cat docs/user-guide/configmap/kubectl/game.properties noGoodRotten secret.code.passphrase=UUDDLRLRBABAS secret.code.allowed=true secret.code.lives=30 ​ cat docs/user-guide allow.textmode=true how.nice.to.look=fairlyNice ​ $ kubectl create configmap game-config --from-file=docs/user-guide

    61410发布于 2019-12-11
  • 来自专栏友人a的笔记丶

    Stylelint该如何配置?Stylelint使用以及相关配置说明

    stylelint-disable-next-line declaration-no-important */,关闭下一行的所有或指定规则 4.使用 参考官网集成章节:https://stylelint.io/user-guide /integrations/editor 作为Postcss插件:https://stylelint.io/user-guide/usage/postcss-plugin 命令行使用:https://stylelint.io /user-guide/usage/cli(stylelint --fix同eslint) 提示 Stylelint v14 及更高版本默认不解析非css文件,需要安装插件支持(下方插件列表有说明 null, //单一值· "unit-allowed-list": ["em", "rem", "%", "s"], //多值 } } 规则列表:https://stylelint.io/user-guide plugin-namespace/special-rule": "everything" } } 4.customSyntax 进行某种自定义功能,参考:https://stylelint.io/user-guide

    4.7K20编辑于 2023-02-17
  • 来自专栏有关SQL

    如何全方位地给 SQL Server 做测试

    . -- For test case examples, see: http://tsqlt.org/user-guide/tsqlt-tutorial/ ALTER PROCEDURE [factorytest tSQLt.SpyProcedure -- along with INSERTs of relevant data. -- For more information, see http://tsqlt.org/user-guide tSQLt.AssertEqualsString, tSQLt.AssertEqualsTable -- For a complete list, see: http://tsqlt.org/user-guide GO -- Comments here are associated with the test. -- For test case examples, see: http://tsqlt.org/user-guide tSQLt.AssertEqualsString, tSQLt.AssertEqualsTable -- For a complete list, see: http://tsqlt.org/user-guide

    1.1K30发布于 2020-08-28
  • 来自专栏panzhixiang

    在K8S中使用helm chart部署Prometheus

    ## Must match those of existing PV or dynamic provisioner ## Ref: http://kubernetes.io/docs/user-guide servicePort: 80 ## alertmanager resource requests and limits ## Ref: http://kubernetes.io/docs/user-guide IP addresses at which the alertmanager service is available ## Ref: https://kubernetes.io/docs/user-guide : true ## configmap-reload resource requests and limits ## Ref: http://kubernetes.io/docs/user-guide : true ## configmap-reload resource requests and limits ## Ref: http://kubernetes.io/docs/user-guide

    60310编辑于 2024-10-30
  • 来自专栏采云轩

    使用这些配置规范并格式化你的代码

    的支持 (https://cn.eslint.org/docs/user-guide/configuring#specifying-parser-options)。 你可以使用注释或配置文件修改你项目中要使用的规则 (https://cn.eslint.org/docs/user-guide/configuring#configuring-rules)。 我们可以直接拿现有的规范来使用 (https://cn.eslint.org/docs/user-guide/configuring#extending-configuration-files)。 https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser parser: 'vue-eslint-parser', https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files 'vue', ], // 配置自己的规则

    3.1K30发布于 2021-11-02
  • 来自专栏云原生实验室

    Kubernetes 的新武器:层级命名空间

    hierarchical namespaces): https://github.com/kubernetes-sigs/multi-tenancy/blob/master/incubator/hnc/docs/user-guide multi-tenancy [3] 从父空间直接复制到子空间: https://github.com/kubernetes-sigs/multi-tenancy/blob/master/incubator/hnc/docs/user-guide 子命名空间(subnamespaces): https://github.com/kubernetes-sigs/multi-tenancy/blob/master/incubator/hnc/docs/user-guide /releases [7] 用户指南: https://github.com/kubernetes-sigs/multi-tenancy/tree/master/incubator/hnc/docs/user-guide

    1.3K20发布于 2020-08-18
  • 来自专栏dongfanger

    JUnit5的条件测试、嵌套测试、重复测试

    参考资料: https://junit.org/junit5/docs/current/user-guide/#writing-tests-conditional-execution https:/ /junit.org/junit5/docs/current/user-guide/#writing-tests-nested https://junit.org/junit5/docs/current /user-guide/#writing-tests-repeated-tests

    2.2K20发布于 2021-07-16
  • 来自专栏码匠的流水账

    聊聊PowerJob的AliOssService

    days) { /* 阿里云 OSS 自带生命周期管理,请参考文档进行配置,代码层面不进行实现(浪费服务器资源)https://help.aliyun.com/zh/oss/user-guide /overview-54 阿里云 OSS 自带生命周期管理,请参考文档进行配置,代码层面不进行实现(浪费服务器资源)https://help.aliyun.com/zh/oss/user-guide /overview-54 阿里云 OSS 自带生命周期管理,请参考文档进行配置,代码层面不进行实现(浪费服务器资源)https://help.aliyun.com/zh/oss/user-guide

    30510编辑于 2024-01-29
  • 来自专栏菲宇

    Kubernetes HPA Controller工作原理

    https://kubernetes.io/docs/user-guide/horizontal-pod-autoscaling/ https://github.com/kubernetes/community /blob/master/contributors/design-proposals/horizontal-pod-autoscaler.md https://kubernetes.io/docs/user-guide

    95520发布于 2019-06-12
  • 来自专栏Kubernetes

    Kubernetes HPA Controller工作原理

    https://kubernetes.io/docs/user-guide/horizontal-pod-autoscaling/ https://github.com/kubernetes/community /blob/master/contributors/design-proposals/horizontal-pod-autoscaler.md https://kubernetes.io/docs/user-guide

    2.6K90发布于 2018-04-13
  • emo——给项目配置prettier,eslint,husky加强协作规范

    node_modules/** dist/** release/** public/** docs/** ESlint ESlint getting-started: http://eslint.cn/docs/user-guide /getting-started ESlint configuring: http://eslint.cn/docs/user-guide/configuring ESlint ignoring-code

    39110编辑于 2024-08-15
  • 来自专栏云原生运维社区

    基于GitOps轻松实现多团队多集群应用交付

    [3] ACK One 注册集群 https://help.aliyun.com/zh/ack/distributed-cloud-container-platform-for-kubernetes/user-guide .11186623.0.0.3e4157eb3o9J3v [4] ACK One 舰队 https://help.aliyun.com/zh/ack/distributed-cloud-container-platform-for-kubernetes/user-guide ArgoCD RBAC 的权限 https://help.aliyun.com/zh/ack/distributed-cloud-container-platform-for-kubernetes/user-guide GitOps 中 Secret 管理 https://help.aliyun.com/zh/ack/distributed-cloud-container-platform-for-kubernetes/user-guide

    69811编辑于 2024-04-11
领券