Knative installation:修订间差异
无编辑摘要 |
|||
第8行: | 第8行: | ||
== Knative == | == Knative == | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1. | kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.11.0/serving-crds.yaml | ||
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1. | kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.11.0/serving-core.yaml | ||
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.11.2/eventing-crds.yaml | |||
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.11.2/eventing-core.yaml | |||
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.11.2/in-memory-channel.yaml | |||
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.11.2/mt-channel-broker.yaml | |||
kubectl apply -f https://github.com/knative/net-kourier/releases/download/knative-v1.11.1/kourier.yaml | |||
kubectl patch configmap/config-network \ | kubectl patch configmap/config-network \ | ||
--namespace knative-serving \ | --namespace knative-serving \ |
2023年9月13日 (三) 08:40的版本
Minikube
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-arm64
sudo install minikube-darwin-arm64 /usr/local/bin/minikube
minikube start --cpus=4 --memory=4096 --addons=ingress
Knative
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.11.0/serving-crds.yaml
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.11.0/serving-core.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.11.2/eventing-crds.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.11.2/eventing-core.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.11.2/in-memory-channel.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.11.2/mt-channel-broker.yaml
kubectl apply -f https://github.com/knative/net-kourier/releases/download/knative-v1.11.1/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
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.47.3/release.yaml
kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.24.1/release.yaml
kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.24.1/interceptors.yaml
kubectl apply -f https://storage.googleapis.com/tekton-releases/dashboard/previous/v0.37.0/release.yaml
*.func.riguz.com 35.192.171.57
kubectl patch configmap/config-domain \
--namespace knative-serving \
--type merge \
--patch '{"data":{"func.riguz.com":""}}'