Knative installation:修订间差异
建立內容為「<syntaxhighlight lang="bash"> kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.10.2/serving-crds.yaml kubectl apply -f https://git…」的新頁面 |
无编辑摘要 |
||
第10行: | 第10行: | ||
kubectl apply -f https://github.com/knative/net-kourier/releases/download/knative-v1.10.0/kourier.yaml | |||
kubectl patch configmap/config-network \ | |||
--namespace knative-serving \ | |||
--type merge \ | |||
--patch '{"data":{"ingress-class":"kourier.ingress.networking.knative.dev"}}' | |||
kubectl --namespace kourier-system get service kourier | |||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) | |||
AGE | |||
kourier LoadBalancer 10.45.2.31 35.192.171.57 80:32515/TCP,443:31010/TCP 4m31s | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
2023年7月12日 (三) 03:41的版本
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.10.2/serving-crds.yaml
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.10.2/serving-core.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.10.1/eventing-crds.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.10.1/eventing-core.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.10.1/in-memory-channel.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.10.1/mt-channel-broker.yaml
kubectl apply -f https://github.com/knative/net-kourier/releases/download/knative-v1.10.0/kourier.yaml
kubectl patch configmap/config-network \
--namespace knative-serving \
--type merge \
--patch '{"data":{"ingress-class":"kourier.ingress.networking.knative.dev"}}'
kubectl --namespace kourier-system get service kourier
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S)
AGE
kourier LoadBalancer 10.45.2.31 35.192.171.57 80:32515/TCP,443:31010/TCP 4m31s