-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replication has not yet been configured #99
Comments
I have the same issue |
me too |
@meirhazonAnyVision @yaoice @smyth64 If yaml has not MONGO_PORT env, must add in your yaml. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am getting the following error,
2019-04-04T07:58:49.234+0000 I CONTROL [initandlisten] options: { replication: { replSet: "rs0" }, storage: { mmapv1: { preallocDataFiles: false, smallFiles: true } } }
2019-04-04T07:58:50.435+0000 I REPL [initandlisten] Did not find local replica set configuration document at startup; NoMatchingDocument: Did not find replica set configuration document in local.system.replset
I am using mongo:latest cvallance/mongo-k8s-sidecar:latest docker 18.09.3 kubelet kubelet/kubernetes-xenial 1.14.0-00 on top of Ubuntu 18.4 LTS
I am using local storage as storage at this time
The statefulset is created correctly,
oot@ceph-2-1:
/mongo/mongo-k8s-sidecar/example/StatefulSet# kubectl get nodes/mongo/mongo-k8s-sidecar/example/StatefulSet# kubectl get podsNAME STATUS ROLES AGE VERSION
ceph-2-1 Ready master 22h v1.13.4
ceph-2-2 Ready 21h v1.13.4
ceph-2-3 Ready 21h v1.13.4
root@ceph-2-1:
NAME READY STATUS RESTARTS AGE
mongo-0 2/2 Running 0 15m
mongo-1 2/2 Running 0 15m
mongo-2 2/2 Running 0 15m
root@ceph-2-1:~/mongo/mongo-k8s-sidecar/example/StatefulSet#
I have used the default examples that you provide and added fabric8-rbac.yaml,
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: fabric8-rbac
subjects:
Reference to upper's
name: defaultmetadata.name
Reference to upper's
namespace: defaultmetadata.namespace
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
Thanks so much,
Meir
The text was updated successfully, but these errors were encountered: