Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 406305a

Browse files
leahecolebradmiro
andauthored
update image in kpo sample (GoogleCloudPlatform#2779)
* update image in kpo sample * Specify req for py2 * Specify numpy for py2 Co-authored-by: Brad Miro <[email protected]>
1 parent 421b43d commit 406305a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

composer/workflows/kubernetes_pod_operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
# project-id as the gcr.io images and the service account that Composer
7979
# uses has permission to access the Google Container Registry
8080
# (the default service account has permission)
81-
image='gcr.io/gcp-runtimes/ubuntu_16_0_4')
81+
image='gcr.io/gcp-runtimes/ubuntu_18_0_4')
8282
# [END composer_kubernetespodoperator_minconfig]
8383
# [START composer_kubernetespodoperator_templateconfig]
8484
kubenetes_template_ex = kubernetes_pod_operator.KubernetesPodOperator(

composer/workflows/requirements.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
apache-airflow[gcp]==1.10.6
22
kubernetes==10.0.1
3-
scipy==1.4.1
4-
numpy==1.17.4
3+
scipy==1.4.1; python_version > '3.0'
4+
scipy==1.2.3; python_version < '3.0'
5+
numpy==1.17.4; python_version > '3.0'
6+
numpy==1.16.6; python_version < '3.0'

0 commit comments

Comments
 (0)