标签: 容器编排

4 个内容

笔记(3)

Docker Compose v2.20+新增`--wait`功能,用于在服务全部达到健康状态后才继续执行,常用于CI/CD。该功能依赖于服务配置的`healthcheck`,Compose会监控每个服务的健康状态,全部变为healthy才会继续,否则报错。

Elliot Yang·
107 浏览

Nginx Ingress Controller 启用严格路径类型验证导致`/openapi.json`无法使用`pathType: Exact`的问题,原因是路径包含点(.)等特殊字符。解决方案包括:使用`ImplementationSpecific`路径类型,使用正则表达式匹配,或禁用严格路径验证。推荐优先使用`ImplementationSpecific`。

Elliot Yang·
451 浏览

Kubernetes NGINX Ingress 默认限制请求体大小,导致上传大文件时出现 413 错误。解决方案包括:针对单个 Ingress 服务,通过添加 Annotation `nginx.ingress.kubernetes.io/proxy-body-size` 来设置请求体大小;或者全局修改 ingress-nginx 控制器的 ConfigMap 或 Helm 参数。修改后需重启 ingress-nginx Pod。

Elliot Yang·
200 浏览

动态(1)

E
Elliot Yang
公开

解决 Failed to create fleet-default/api cluster.x-k8s.io/v1beta1, Kind=Cluster for rke-cluster fleet-default/api: Internal error occurred: failed calling webhook "default.cluster.cluster.x-k8s.io": failed to call webhook: Post "https://capi-webhook-service.cattle-provisioning-capi-system.svc:443/mutate-cluster-x-k8s-io-v1beta1-cluster?timeout=10s": service "capi-webhook-service" not found

https://forums.rancher.cn/t/docker-run-rancher-rancher-mirrored-pause/3546/14

浏览:362点赞:0