minor problems fixed

This commit is contained in:
Torma Kristóf 2019-10-29 11:16:37 +01:00
parent 45ea7e3e00
commit 9b3d4cfd8b
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
4 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash
#Install helm using snap
apt install -y snapd
snap install helm --classic
#Init helm with an admin tiller pod.

View File

@ -1,7 +1,7 @@
#!/bin/bash
#Download and unpack istio
ISTIO_VERSION=1.3.1
ISTIO_VERSION=1.4.0-beta0
curl -L https://git.io/getLatestIstio | sh -
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/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 \
--filename https://github.com/knative/eventing/releases/download/v0.9.0/release.yaml

View File

@ -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/
#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/provider/baremetal/service-nodeport.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/static/provider/baremetal/service-nodeport.yaml

View File

@ -1,7 +1,7 @@
apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
name: helloworld-py-sc-cc
name: helloworld-go-sc-cc
namespace: default
spec:
template:
@ -18,7 +18,7 @@ spec:
autoscaling.knative.dev/maxScale: "100"
spec:
containers:
- image: tormachris/hello-world-py
- image: tormachris/hello-world-go
env:
- name: TARGET
value: "Go"