Mykrobe-tools / mykrobe-atlas-api

Server API for Atlas
1 stars 0 forks source link

Illegal Json document in atlas-api-mongodb-ingress.json #117

Closed davidyuyuan closed 4 years ago

davidyuyuan commented 4 years ago

It took me a little while to identify what Kubernetes is telling me in this message "error: rawResources failed to read Resources: json: line 7: invalid character '}' looking for beginning of object key string". The Json document in atlas-api-mongodb-ingress.json is illegal. Please fix the syntax error.

mthomsit commented 4 years ago

Resolved - note repo is mykrobe-atlas-api-k8 rather than this one.

davidyuyuan commented 4 years ago

First clean deployment.

NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE db-pv 32Gi RWO Retain Available 8m29s pvc-05a6dc29-1103-11ea-8069-fa163e917f61 20Gi RWO Delete Bound monitoring/alertmanager-prometheus-operator-alertmanager-db-alertmanager-prometheus-operator-alertmanager-0 nfs-client 8d pvc-09982493-1103-11ea-8069-fa163e917f61 50Gi RWO Delete Bound monitoring/prometheus-prometheus-operator-prometheus-db-prometheus-prometheus-operator-prometheus-0 nfs-client 8d pvc-1699932b-180f-11ea-b5d6-fa163e26484e 8Gi RWO Delete Bound default/demo-data nfs-client 8m30s pvc-17b4e916-180f-11ea-b5d6-fa163e26484e 32Gi RWO Delete Bound default/db-data nfs-client 8m17s pvc-18a0e844-180f-11ea-b5d6-fa163e26484e 200Gi RWO Delete Bound default/uploads nfs-client 8m17s

NAME READY STATUS RESTARTS AGE pod/atlas-api-deployment-84979d656b-znm5m 1/1 Running 0 8m38s pod/db-controller-k8wqq 1/1 Running 0 8m36s

NAME DESIRED CURRENT READY AGE replicationcontroller/db-controller 1 1 1 8m36s

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/atlas-api-service NodePort 10.43.246.134 3000:30435/TCP 8m36s service/db NodePort 10.43.146.214 27017:30827/TCP 8m36s service/kubernetes ClusterIP 10.43.0.1 443/TCP 8d

NAME READY UP-TO-DATE AVAILABLE AGE deployment.apps/atlas-api-deployment 1/1 1 1 8m38s

NAME DESIRED CURRENT READY AGE replicaset.apps/atlas-api-deployment-84979d656b 1 1 1 8m38s