This commit is contained in:
Torma Kristóf 2019-10-09 21:35:36 +02:00
parent 97a8fb39ce
commit 6d1c5b75b7
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
10 changed files with 46 additions and 26 deletions

View File

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

View File

@ -13,3 +13,6 @@ spec:
spec: spec:
containers: containers:
- image: tormachris/hello-world-go - image: tormachris/hello-world-go
env:
- name: TARGET
value: "Go"

View File

@ -19,3 +19,6 @@ spec:
spec: spec:
containers: containers:
- image: tormachris/hello-world-py - image: tormachris/hello-world-py
env:
- name: TARGET
value: "Py"

View File

@ -1,7 +1,7 @@
apiVersion: serving.knative.dev/v1alpha1 apiVersion: serving.knative.dev/v1alpha1
kind: Service kind: Service
metadata: metadata:
name: hello-world-py-sc name: helloworld-py-sc
namespace: default namespace: default
spec: spec:
template: template:
@ -13,3 +13,6 @@ spec:
spec: spec:
containers: containers:
- image: tormachris/hello-world-py - image: tormachris/hello-world-py
env:
- name: TARGET
value: "Go"

View File

@ -19,3 +19,6 @@ spec:
spec: spec:
containers: containers:
- image: tormachris/isprime-go - image: tormachris/isprime-go
env:
- name: TARGET
value: 107107

View File

@ -13,3 +13,6 @@ spec:
spec: spec:
containers: containers:
- image: tormachris/isprime-go - image: tormachris/isprime-go
env:
- name: TARGET
value: 107107

View File

@ -19,3 +19,6 @@ spec:
spec: spec:
containers: containers:
- image: tormachris/isprime-py - image: tormachris/isprime-py
env:
- name: TARGET
value: "Py"

View File

@ -13,3 +13,6 @@ spec:
spec: spec:
containers: containers:
- image: tormachris/isprime-py - image: tormachris/isprime-py
env:
- name: TARGET
value: "Py"

View File

@ -1,15 +1,13 @@
apiVersion: serving.knative.dev/v1alpha1 apiVersion: serving.knative.dev/v1alpha1
kind: Service kind: Service
metadata: metadata:
name: helloworld-python name: helloworld-py
namespace: default namespace: default
spec: spec:
template: template:
spec: spec:
containers: containers:
- - image: "tormachris/hello-world-py"
env: env:
- - name: TARGET
name: TARGET value: "Py"
image: "tormachris/hello-world-py"
value: "Python"

View File

@ -7,9 +7,7 @@ spec:
template: template:
spec: spec:
containers: containers:
- - image: "tormachris/isprime-py"
env: env:
- - name: TARGET
name: TARGET value: 107107
image: "tormachris/isprime-py"
value: 107107