小编DE_*_*WMA的帖子

GKE Secret 或 Google Secret 管理器

有谁知道在什么情况下选择 Kubernetes 秘密而不是 google 秘密管理器,反之亦然?两者有何区别?

google-cloud-platform google-kubernetes-engine kubernetes-secrets google-secret-manager

8
推荐指数
1
解决办法
3894
查看次数

Pod 启动失败:Pod 启动时间太长,无法运行 KubernetesPodOperator 密钥

我正在使用以下链接运行 KubernetesPodOperator 密钥的快速入门:https://cloud.google.com/composer/docs/how-to/using/using-kubernetes-pod-operator

下面使用的代码:


from airflow import models
from airflow.contrib.kubernetes import secret
from airflow.contrib.operators import kubernetes_pod_operator

# A Secret is an object that contains a small amount of sensitive data such as
# a password, a token, or a key. Such information might otherwise be put in a
# Pod specification or in an image; putting it in a Secret object allows for
# more control over how it is used, and reduces the risk of accidental
# exposure. …
Run Code Online (Sandbox Code Playgroud)

google-kubernetes-engine airflow airflow-scheduler google-cloud-composer

2
推荐指数
1
解决办法
2万
查看次数