istio.io/content/zh/boilerplates/gateway-api-install-crds.md

446 B
Raw Permalink Blame History

请注意Kubernetes Gateway API CRD 不会默认安装在大多数 Kubernetes 集群上, 因此请确保在使用 Gateway API 之前已安装好这些 CRD

{{< text syntax=bash snip_id=install_crds >}} $ kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null ||
{ kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml; } {{< /text >}}