示例:不带label: container_cpu_usage_seconds_total ,带label: container_cpu_usage_seconds_total{container= nginx , clusterID= cce-**** } step Int 是 URL参数 查询数据步长,单位:秒 start Long Int 是 URL参数 查询数据的开始时间戳,单位:秒 end
: 4 name: test-pvc-pod 5 namespace: default 6 labels: 7 app: test-pvc-pod 8 spec: 9 containers: 10 - name: test-pvc-pod 11 image: nginx 12 volumeMounts
charset=utf -8 3 Date : Wed , 17 May 2023 07 : 05 : 09 GMT 4 x-bce-request-id : dda 1 d 6 f 6 -66 a 4 -a 92 -993 a -1712 b 361 bc 7 a 5 Server : nginx
text/json;utf-8 4 5 { 6 "ocsp" : true 7 } 响应示例 Text 复制 1 HTTP/1.1 200 OK 2 Server: nginx 3 Date: Wed, 26 Jun 2019 06:07:42 GMT 4 Content-Type
g 参数 可选 类型 说明 allow 必选 String 是否处理跨域,on表示CDN处理最简单的跨域,off表示CDN不处理跨域 originList 可选 数组 处理跨域时,支持的域名列表 响应示例: Plain Text 复制 1 HTTP/1.1 200 OK 2 Server: nginx
页面压缩配置 allow String ”on”表示开启状态,”off”表示关闭状态 type String 值为 br 或者 gzip 或者 all ,分别表示支持br,gzip以及br和gzip都支持 响应示例: Text 复制 1 HTTP/1.1 200 OK 2 Server: nginx
tent-Type: text/json;utf-8 4 5 { 6 "offlineMode": true 7 } 响应示例: Text 复制 1 HTTP/1.1 200 OK 2 Server: nginx/1.14.0 3 Content-Type: application
seoSwitch HTTP/1.1 2 Host: cdn.baidubce.com 3 4 HTTP/1.1 200 OK 5 Server: nginx/1.14.0 6 Date: Fri, 21 Sep 2018 03:46:35 GMT 7 Content-Type: application/json; charset=utf-8 8 Transfer-Encoding: chunked
00 更新失败,参数错误等 响应示例 Text 复制 1 HTTP/1.1 200 OK 2 Server: nginx/1.14.0 3 Date: Wed, 21 Aug 2019 03:29:25 GMT 4 Content-Type: application/json; charset=utf
11 type: LoadBalancer 12 sessionAffinity: None 13 ports: 14 - name: nginx 15 protocol: TCP 16 port: 80 17 targetPort: 80 常见问题 Pod 零中断滚动更新 使用直连 Pod 的 LB Service 在 Pod 滚动更新时可能服务中断问题。