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
kind: Service
metadata:
name: helloworld-go-sc-cc
name: helloworld-py-sc-cc
namespace: default
spec:
template:
@ -18,4 +18,7 @@ spec:
autoscaling.knative.dev/maxScale: "100"
spec:
containers:
- image: tormachris/hello-world-go
- image: tormachris/hello-world-py
env:
- name: TARGET
value: "Go"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,15 +1,13 @@
apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
metadata:
name: isprime-py
namespace: default
spec:
template:
spec:
containers:
-
env:
-
name: TARGET
image: "tormachris/isprime-py"
value: 107107
spec:
template:
spec:
containers:
- image: "tormachris/isprime-py"
env:
- name: TARGET
value: 107107