- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试删除(并重新创建)Argo 命名空间,但它不会完全删除,因为我尝试在那里启动事件源和事件总线。现在这些不会删除。
我试图通过 yaml 和单独删除它们 - 还没有成功。
令人沮丧的结果是我无法重新启动 argo
customresourcedefinition.apiextensions.k8s.io/clusterworkflowtemplates.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/cronworkflows.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/workfloweventbindings.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/workflows.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/workflowtasksets.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/workflowtemplates.argoproj.io unchanged
clusterrole.rbac.authorization.k8s.io/argo-aggregate-to-admin unchanged
clusterrole.rbac.authorization.k8s.io/argo-aggregate-to-edit unchanged
clusterrole.rbac.authorization.k8s.io/argo-aggregate-to-view unchanged
clusterrole.rbac.authorization.k8s.io/argo-cluster-role unchanged
clusterrole.rbac.authorization.k8s.io/argo-server-cluster-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/argo-binding unchanged
clusterrolebinding.rbac.authorization.k8s.io/argo-server-binding unchanged
Error from server (Forbidden): error when creating "https://github.com/argoproj/argo-workflows/releases/download/v3.2.0/install.yaml": serviceaccounts "argo" is forbidden: unable to create new content in namespace argo because it is being terminated
Error from server (Forbidden): error when creating "https://github.com/argoproj/argo-workflows/releases/download/v3.2.0/install.yaml": serviceaccounts "argo-server" is forbidden: unable to create new content in namespace argo because it is being terminated
Error from server (Forbidden): error when creating "https://github.com/argoproj/argo-workflows/releases/download/v3.2.0/install.yaml": roles.rbac.authorization.k8s.io "argo-role" is forbidden: unable to create new content in namespace argo because it is being terminated
Error from server (Forbidden): error when creating "https://github.com/argoproj/argo-workflows/releases/download/v3.2.0/install.yaml": rolebindings.rbac.authorization.k8s.io "argo-binding" is forbidden: unable to create new content in namespace argo because it is being terminated
Error from server (Forbidden): error when creating "https://github.com/argoproj/argo-workflows/releases/download/v3.2.0/install.yaml": configmaps "workflow-controller-configmap" is forbidden: unable to create new content in namespace argo because it is being terminated
Error from server (Forbidden): error when creating "https://github.com/argoproj/argo-workflows/releases/download/v3.2.0/install.yaml": services "argo-server" is forbidden: unable to create new content in namespace argo because it is being terminated
Error from server (Forbidden): error when creating "https://github.com/argoproj/argo-workflows/releases/download/v3.2.0/install.yaml": services "workflow-controller-metrics" is forbidden: unable to create new content in namespace argo because it is being terminated
Error from server (Forbidden): error when creating "https://github.com/argoproj/argo-workflows/releases/download/v3.2.0/install.yaml": deployments.apps "argo-server" is forbidden: unable to create new content in namespace argo because it is being terminated
Error from server (Forbidden): error when creating "https://github.com/argoproj/argo-workflows/releases/download/v3.2.0/install.yaml": deployments.apps "workflow-controller" is forbidden: unable to create new content in namespace argo because it is being terminated
这是 argo 命名空间本身发生的事情
{
"apiVersion": "v1",
"kind": "Namespace",
"metadata": {
"creationTimestamp": "2021-10-21T14:52:51Z",
"deletionTimestamp": "2021-12-10T18:48:17Z",
"labels": {
"kubernetes.io/metadata.name": "argo"
},
"name": "argo",
"resourceVersion": "9222845",
"uid": "2ce61352-74a5-40d1-b35e-fe1efa39c3af"
},
"spec": {
"finalizers": [
"kubernetes"
]
},
"status": {
"conditions": [
{
"lastTransitionTime": "2021-12-10T18:48:23Z",
"message": "All resources successfully discovered",
"reason": "ResourcesDiscovered",
"status": "False",
"type": "NamespaceDeletionDiscoveryFailure"
},
{
"lastTransitionTime": "2021-12-10T18:48:23Z",
"message": "All legacy kube types successfully parsed",
"reason": "ParsedGroupVersions",
"status": "False",
"type": "NamespaceDeletionGroupVersionParsingFailure"
},
{
"lastTransitionTime": "2021-12-10T18:48:23Z",
"message": "All content successfully deleted, may be waiting on finalization",
"reason": "ContentDeleted",
"status": "False",
"type": "NamespaceDeletionContentFailure"
},
{
"lastTransitionTime": "2021-12-10T18:48:23Z",
"message": "Some resources are remaining: eventbus.argoproj.io has 1 resource instances, eventsources.argoproj.io has 1 resource instances",
"reason": "SomeResourcesRemain",
"status": "True",
"type": "NamespaceContentRemaining"
},
{
"lastTransitionTime": "2021-12-10T18:48:23Z",
"message": "Some content in the namespace has finalizers remaining: eventbus-controller in 1 resource instances, eventsource-controller in 1 resource instances",
"reason": "SomeFinalizersRemain",
"status": "True",
"type": "NamespaceFinalizersRemaining"
}
],
"phase": "Terminating"
}
}
更新:
Error from server (NotFound): eventsources.argoproj.io "argo" not found
最佳答案
对于偶然发现这个问题的人来说,这是一个权限问题。确保您的服务帐户有权在两个命名空间(argo 和 argo-events)中工作。
关于kubernetes - 如何删除在 Argo 命名空间中启动的 Argo 事件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70309339/
我遵循 Argo 工作流程的 Getting Started文档。一切都很顺利,直到我运行第一个示例工作流程,如 4. Run Sample Workflows 中所述.工作流只是停留在挂起状态: v
我正在尝试删除(并重新创建)Argo 命名空间,但它不会完全删除,因为我尝试在那里启动事件源和事件总线。现在这些不会删除。 我试图通过 yaml 和单独删除它们 - 还没有成功。 令人沮丧的结果是我无
当我使用 argo cron delete 删除 Argo cron 工作流时,根据我的观察,所有以前的工作流(已完成以及仍在运行的)似乎也将被删除。不过我不太确定,而且我还没有找到比 https:/
我正在尝试从 argo/argo-events 中的发布请求触发预先存在的 ClusterWorkflowTemplate。 我一直在关注示例 here ,但我不想在传感器中定义工作流程-我想将其分开
我有下面提到的示例 Argo DAG。如下所示,我对每个任务的参数值进行了硬编码。每个任务使用不同的参数值。我知道 Argo 提供了一种以 JSON 或 YAML 格式提交参数文件以动态传递参数值的方
我正在关注 Argo GitHub 上的示例,但是当我将模板移动到步骤中时,我无法更改消息的参数。 apiVersion: argoproj.io/v1alpha1 kind: Workflow me
我安装了 Argo Workflow 的默认 Helm chart ,仅将 init.serviceAccount 配置为我创建的 argo-sa。 (具有足够授权的ServiceAccount) 但
我的 Argo 工作流程有两个步骤,第一个在 Linux 上运行,第二个在 Windows 上运行 apiVersion: argoproj.io/v1alpha1 kind: WorkflowTem
我尝试掌握 Argo 进行 json 解码。在文档中有解码功能的例子 extension User: Decodable { static func decode(j: JSON) -> Deco
本文整理了Java中com.argo.yaml.YamlTemplate类的一些代码示例,展示了YamlTemplate类的具体用法。这些代码示例主要来源于Github/Stackoverflow/M
本文整理了Java中com.argo.yaml.YamlMap类的一些代码示例,展示了YamlMap类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从
我正在尝试访问作为输入工件传递给脚本模板的文件的内容(json 数据)。它失败并出现以下错误 NameError: name 'inputs' is not defined。您是说:“输入”吗? 我的
我创建了一个集群工作流模板,它将执行一些任务。我将使用最后一步的输出作为当前的工作流程参数。当我引用此模板时,我不知道如何从集群工作流任务/步骤中获取 output。 集群工作流模板 apiVersi
我正在尝试 Argo 工作流程并想了解如何卡住步骤。假设我有 3 步工作流程,而工作流程在第 2 步失败。所以我想使用成功的第 1 步工件重新提交第 2 步中的工作流。我怎样才能做到这一点?我在文档的
我正在使用 Argo 并且对工作流示例的工作流程有疑问。 ( https://github.com/argoproj/argo-workflows/blob/master/examples/workf
我有一个遍历 JSON 数组的 Argo 工作流。当列表变得太大时,我会收到如下错误: time="some-time" level=fatal msg="Pod \"some-pod-name\"
如果字符串以特定子字符串开头,我想在 Argo 工作流中执行任务。例如,我的字符串是 tests/dev-or.yaml 如果我的字符串以 tasks/ 开头,我想执行任务 这是我的工作流程,但条件未
Argo 允许基于先前步骤的输出动态生成并行工作流步骤。 此处提供了此动态工作流生成的示例:https://github.com/argoproj/argo-workflows/blob/master
如果字符串以特定子字符串开头,我想在 Argo 工作流中执行任务。例如,我的字符串是 tests/dev-or.yaml 如果我的字符串以 tasks/ 开头,我想执行任务 这是我的工作流程,但条件未
我正在尝试使用 Argo ( https://github.com/thoughtbot/Argo ) 将 JSON 中的数据解码为非常通用的结构: struct ValueBox { let
我是一名优秀的程序员,十分优秀!