sveltos icon indicating copy to clipboard operation
sveltos copied to clipboard

Deploying Sveltos in agent less mode

Open gianlucam76 opened this issue 1 year ago • 0 comments

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

gianlucam76 avatar Feb 23 '24 22:02 gianlucam76