Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
one_jh
airflow-test-jh
Commits
a6c46297
Commit
a6c46297
authored
May 11, 2022
by
one_jh
Browse files
Update k8soper_1.py
parent
a5e7c082
Changes
1
Hide whitespace changes
Inline
Side-by-side
k8soper_1.py
View file @
a6c46297
...
@@ -56,9 +56,9 @@ run = KubernetesPodOperator(
...
@@ -56,9 +56,9 @@ run = KubernetesPodOperator(
namespace
=
'airflow'
,
namespace
=
'airflow'
,
# image='curlimages/curl@sha256:c05146450820bb943c400bf2173a2423096c586a3984b989619d9165d61f1a24',
# image='curlimages/curl@sha256:c05146450820bb943c400bf2173a2423096c586a3984b989619d9165d61f1a24',
image
=
'curlimages/curl:latest'
,
image
=
'curlimages/curl:latest'
,
secrets
=
[
#
secrets=[
env
#
env
],
#
],
image_pull_secrets
=
[
k8s
.
V1LocalObjectReference
(
'image_credential'
)],
image_pull_secrets
=
[
k8s
.
V1LocalObjectReference
(
'image_credential'
)],
name
=
'job'
,
name
=
'job'
,
is_delete_operator_pod
=
True
,
is_delete_operator_pod
=
True
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment