8.9.16.2. HTTP/2 비활성화
특정 Ingress 컨트롤러에서 HTTP/2를 비활성화하거나 전체 클러스터에 대해 HTTP/2를 비활성화할 수 있습니다.
프로세스
특정 Ingress 컨트롤러에서 HTTP/2를 비활성화하려면
oc annotate명령을 입력합니다.$ oc -n openshift-ingress-operator annotate ingresscontrollers/<ingresscontroller_name> ingress.operator.openshift.io/default-enable-http2=false1 - 1
- &
lt;ingresscontroller_name>을 HTTP/2를 비활성화하려면 Ingress 컨트롤러의 이름으로 바꿉니다.
전체 클러스터에 대해 HTTP/2를 비활성화하려면
oc annotate명령을 입력합니다.$ oc annotate ingresses.config/cluster ingress.operator.openshift.io/default-enable-http2=false
작은 정보
또는 다음 YAML 코드를 적용하여 HTTP/2를 비활성화할 수 있습니다.
apiVersion: config.openshift.io/v1
kind: Ingress
metadata:
name: cluster
annotations:
ingress.operator.openshift.io/default-enable-http2: "false"