when i am trying start FIWARE Orion ld in Kubernetes. But Orion ld container always restarted. Here is the:
apiVersion: apps/v1
kind: Deployment
metadata:
name: fiware-orionld
spec:
replicas: 1
selector:
matchLabels:
app: orionld
tier: app
template:
metadata:
name: fiware-orion
labels:
app: orionld
tier: app
spec:
containers:
- name: mongo
image: mongo:3.6
args: ["--nojournal"]
ports:
- containerPort: 27017
- name: orion
image: fiware/orion-ld
args: ["-dbhost", "localhost:27017", "-logLevel", "INFO"]
ports:
- containerPort: 1026
---
apiVersion: v1
kind: Service
metadata:
name: fiware-orion
labels:
app: orionld
spec:
type: NodePort
ports:
- port: 1026
targetPort: 8080
nodePort: 31515
selector:
app: orionld
tier: app
I am getting these errors: a) Warning BackOff 4s (x6 over 2m9s) kubelet, spl1266 Back-off restarting failed container
and in logs:
b) time=Wednesday 05 Feb 17:40:37 2020.932Z | lvl=FATAL | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionldServiceInit.cpp[298]:orionldServiceInit | msg=orionldContextInit failed: Unable to download context https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld