Deploy MongoDB ops manger in local mode using kubernetes enterprise operator

12/6/2019

Have anyone tried to deploy MongoDB ops manager in local mode using the MongoDB Kubernetes enterprise operator?

My yaml file is as such

---
apiVersion: mongodb.com/v1
kind: MongoDBOpsManager
metadata:
  namespace: mongodb
  name: <my ops manager name>

spec:
  replicas: 1
  version: 4.2.3
  adminCredentials: <name of admin secret created>
  configuration:
    automation.versions.source: local # to set the ops manager to local mode???
  applicationDatabase:
    members: 3
    version: 4.2.1-ent
    persistent: true

The error I gotten is that the cluster failed to access https://opsmanager.mongodb.com/static/version_manifest/4.2.json, as i am deploying it in an offline environment.

I have tried to install a standalone installation of the ops manager in an offline environment successfully by uploading the version_manifest, agents and binaries manually.

However, the MongoDB kubernetes operator deployment seems to ignore the field, automation.versions.source, and tries to continue to download the version_manifest file, causing the deployment to fail.

Any ideas?

-- jiaming
kubernetes
mongodb

0 Answers