$ cat <<EOF | kubectl apply -f -
    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    metadata:
      name: mygateway
    ...
    EOF
    
    $ kubectl apply -f - <<EOF
    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    metadata:
      name: httpbin-gateway
    ...
    EOF
    作者:jackzang  创建时间:2023-06-08 11:34
    最后编辑:jackzang  更新时间:2024-10-31 11:07