sveltos
sveltos copied to clipboard
Deploying Sveltos in agent less mode
Looking at agents_in_mgmt_cluster_manifest.yaml this resource gets deployed before namespace is, leading to issue:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: addon-controller-role-dtm-in-mgmt-cluster
namespace: projectsveltos
rules:
- apiGroups:
- ""
resources:
- services
verbs:
- '*'
- apiGroups:
- apps
resources:
- deployments
verbs:
- '*'
---
...
resource mapping not found for name: "fm-controller-manager-metrics-monitor" namespace: "projectsveltos" from "https://raw.githubusercontent.com/projectsveltos/sveltos/v0.24.0/manifest/agents_in_mgmt_cluster_manifest.yaml": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
ensure CRDs are installed first
Error from server (NotFound): error when creating "https://raw.githubusercontent.com/projectsveltos/sveltos/v0.24.0/manifest/agents_in_mgmt_cluster_manifest.yaml": namespaces "projectsveltos" not found
Error from server (NotFound): error when creating "https://raw.githubusercontent.com/projectsveltos/sveltos/v0.24.0/manifest/agents_in_mgmt_cluster_manifest.yaml": namespaces "projectsveltos" not found