-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·47 lines (33 loc) · 1.63 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
minikube start --driver=virtualbox \
--addons=dashboard \
--addons=ingress \
--addons=metrics-server \
--addons=registry \
--cpus 4
echo 'installing knative crds\n'
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.21.0/serving-crds.yaml
echo 'installing knative core\n'
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.21.0/serving-core.yaml
echo 'installing istio\n'
istioctl install -f istio/install.yml
echo 'installing knative istio\n'
kubectl apply --filename https://github.com/knative/net-istio/releases/download/v0.21.0/net-istio.yaml
echo 'labeling knative namespace\n'
kubectl label namespace knative-serving istio-injection=enabled
echo 'installing permissive settings\n'
kubectl apply -f istio/permissive.yml
echo 'installing knative istio controller\n'
kubectl apply --filename https://github.com/knative/net-istio/releases/download/v0.21.0/release.yaml
echo 'installing knative eventing\n'
kubectl apply --filename https://github.com/knative/eventing/releases/download/v0.21.0/eventing-crds.yaml
echo 'installing eventing core\n'
kubectl apply --filename https://github.com/knative/eventing/releases/download/v0.21.0/eventing-core.yaml
echo 'installing in memory channel\n'
kubectl apply --filename https://github.com/knative/eventing/releases/download/v0.21.0/in-memory-channel.yaml
echo 'installing mt channel broker\n'
kubectl apply --filename https://github.com/knative/eventing/releases/download/v0.21.0/mt-channel-broker.yaml
echo 'installing broker\n'
kubectl apply -f knative/broker.yml
echo 'installing kamel\n'
kamel install --force