wilsonianb / c8s

Codius-less: web-monetized serverless Kubernetes add-on
Apache License 2.0
3 stars 0 forks source link

Install knative without gloo #33

Open wilsonianb opened 4 years ago

wilsonianb commented 4 years ago

https://knative.dev/docs/install/knative-custom-install/

kubectl apply -f https://raw.githubusercontent.com/knative/serving/master/third_party/istio-1.1.15/istio-crds.yaml
kubectl apply -f https://raw.githubusercontent.com/knative/serving/master/third_party/istio-1.1.15/istio-lean.yaml
kubectl apply -l knative.dev/crd-install=true -f https://github.com/knative/serving/releases/download/v0.9.0/serving.yaml
kubectl apply -f https://github.com/knative/serving/releases/download/v0.9.0/serving.yaml

kubectl patch gateway knative-ingress-gateway -n knative-serving --type='json' -p='[{"op":"add","path":"/spec/selector/app", "value":"traefik"}, {"op":"remove","path":"/spec/selector/istio"}]'

kubectl patch configmap config-istio -n knative-serving --type='json' -p='[{"op":"add","path":"/data/gateway.knative-ingress-gateway", "value":"traefik.kube-system.svc.cluster.local"}]'

https://knative.dev/docs/serving/setting-up-custom-ingress-gateway/

wilsonianb commented 4 years ago

or if we're using istio (and it's better than gloo?) just stick with istio-lean and don't bother gloo-ing on traefik?