Accenture / adop-sensu

Apache License 2.0
3 stars 26 forks source link

Starting in k8s cluster produces error #10

Open DrCherry opened 5 years ago

DrCherry commented 5 years ago

When I start this up in my k8s cluster I get and Error status and the only log is

Specify either api/server/client

Config:

kind: Deployment
metadata:
  name: sensu-server-15
  namespace: monitoring
spec:
  replicas: 1
  selector:
    matchLabels:
      app: sensu-server-15
  template:
    metadata:
      labels:
        app: sensu-server-15
    spec:
      containers:
        - name: sensu-server-15
          image: accenture/adop-sensu:0.1.0
          env:
          - name: SENSU_TRANSPORT_NAME
            value: "redis"
          - name: REDIS_URL
            value: "redis://sensu-redis.monitoring.svc.cluster.local:6379/0"            
          - name: SENSU_REDIS_SERVICE_HOST
            value: "sensu-redis.monitoring.svc.cluster.local"
          - name: SENSU_REDIS_SERVICE_PORT
            value: "6379"
          - name: SENSU_REDIS_PORT_6379_TCP_PORT
            value: "6379"
dsingh07 commented 5 years ago

Hello @DrCherry

Sensu has numerous components within our setup -> https://github.com/Accenture/adop-docker-compose/blob/master/docker-compose.yml#L98-L165

Have you ran all the containers specified above?