minor problems fixed
This commit is contained in:
parent
45ea7e3e00
commit
9b3d4cfd8b
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#Install helm using snap
|
#Install helm using snap
|
||||||
|
apt install -y snapd
|
||||||
snap install helm --classic
|
snap install helm --classic
|
||||||
|
|
||||||
#Init helm with an admin tiller pod.
|
#Init helm with an admin tiller pod.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#Download and unpack istio
|
#Download and unpack istio
|
||||||
ISTIO_VERSION=1.3.1
|
ISTIO_VERSION=1.4.0-beta0
|
||||||
curl -L https://git.io/getLatestIstio | sh -
|
curl -L https://git.io/getLatestIstio | sh -
|
||||||
cd istio-${ISTIO_VERSION}
|
cd istio-${ISTIO_VERSION}
|
||||||
|
|
||||||
@ -39,5 +39,10 @@ kubectl apply --selector knative.dev/crd-install=true \
|
|||||||
--filename https://github.com/knative/serving/releases/download/v0.9.0/serving.yaml \
|
--filename https://github.com/knative/serving/releases/download/v0.9.0/serving.yaml \
|
||||||
--filename https://github.com/knative/eventing/releases/download/v0.9.0/release.yaml
|
--filename https://github.com/knative/eventing/releases/download/v0.9.0/release.yaml
|
||||||
|
|
||||||
|
#This is needed because some CRDs do get installed properly
|
||||||
|
kubectl apply --selector knative.dev/crd-install=true \
|
||||||
|
--filename https://github.com/knative/serving/releases/download/v0.9.0/serving.yaml \
|
||||||
|
--filename https://github.com/knative/eventing/releases/download/v0.9.0/release.yaml
|
||||||
|
|
||||||
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.9.0/serving.yaml \
|
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.9.0/serving.yaml \
|
||||||
--filename https://github.com/knative/eventing/releases/download/v0.9.0/release.yaml
|
--filename https://github.com/knative/eventing/releases/download/v0.9.0/release.yaml
|
||||||
|
@ -20,5 +20,5 @@ curl -OL https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeles
|
|||||||
sudo mv bundles/kubeless_$OS-amd64/kubeless /usr/local/bin/
|
sudo mv bundles/kubeless_$OS-amd64/kubeless /usr/local/bin/
|
||||||
|
|
||||||
#Ingress nginx
|
#Ingress nginx
|
||||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml
|
||||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/provider/baremetal/service-nodeport.yaml
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/baremetal/service-nodeport.yaml
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apiVersion: serving.knative.dev/v1alpha1
|
apiVersion: serving.knative.dev/v1alpha1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: helloworld-py-sc-cc
|
name: helloworld-go-sc-cc
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
@ -18,7 +18,7 @@ spec:
|
|||||||
autoscaling.knative.dev/maxScale: "100"
|
autoscaling.knative.dev/maxScale: "100"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: tormachris/hello-world-py
|
- image: tormachris/hello-world-go
|
||||||
env:
|
env:
|
||||||
- name: TARGET
|
- name: TARGET
|
||||||
value: "Go"
|
value: "Go"
|
||||||
|
Loading…
Reference in New Issue
Block a user