Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Apply crd for mongodb percona server (one time)
    1. https://github.com/eed-web-application/eed-accel-webapp-clusters-wide-setup.git

      Code Block
      pnispero@PC100942:~/eed-accel-webapp-clusters-wide-setup/test/mongodb-operator$ kubectl apply --server-side -f resource-1.15.0.yaml
      customresourcedefinition.apiextensions.k8s.io/perconaservermongodbbackups.psmdb.percona.com serverside-applied
      customresourcedefinition.apiextensions.k8s.io/perconaservermongodbrestores.psmdb.percona.com serverside-applied
      customresourcedefinition.apiextensions.k8s.io/perconaservermongodbs.psmdb.percona.com serverside-applied
      pnispero@PC100942:~/eed-accel-webapp-clusters-wide-setup/test/mongodb-operator$
  2. Apply entire folder of https://github.com/eed-web-application/core-build-system-deployment/tree/main/test using 'kubectl apply -k test/'
    1. Code Block
      pnispero@PC100942:~/core-build-system-deployment$ kubectl apply -k test/
      serviceaccount/core-build-system-sa created
      serviceaccount/percona-server-mongodb-operator created
      role.rbac.authorization.k8s.io/percona-server-mongodb-operator created
      rolebinding.rbac.authorization.k8s.io/core-build-system-rb created
      rolebinding.rbac.authorization.k8s.io/service-account-percona-server-mongodb-operator created
      configmap/env-config-map created
      service/core-build-system-service created
      persistentvolumeclaim/core-build-system-s3df-ad-group created
      deployment.apps/core-build-system created
      deployment.apps/percona-server-mongodb-operator created
      Warning: path /api/cbs(/|$)(.*) cannot be used with pathType Prefix
      ingress.networking.k8s.io/core-build-system-ingress created
      ingress.networking.k8s.io/core-build-system-webhook-ingress created
      ingress.networking.k8s.io/elog-plus-backend-public-doc-ingress created
      perconaservermongodb.psmdb.percona.com/cbs-cluster created
      vaultsecret.ricoberger.de/application-secrets created
      vaultsecret.ricoberger.de/github-secret created
      vaultsecret.ricoberger.de/mongodb-secret created
      error: resource mapping not found for name: "cbs-cluster" namespace: "" from "test/": no matches for kind "PerconaServerMongoDB" in version "psmdb.percona.com/v1"
      ensure CRDs are installed first
      pnispero@PC100942:~/core-build-system-deployment$
    2. Didn't work, got error

      Code Block
      │   Warning  Failed           7m2s (x8 over 8m29s)    kubelet            Error: secret "mongodb-secret-x-default-x-vcluster--ad-build-dev" not found
    3. d
  3. Debug - you can also mass delete resources using 'kubectl delete -k <folder>'

...