Loading manifests/influx.yaml +9 −9 Original line number Diff line number Diff line Loading @@ -19,15 +19,15 @@ spec: image: influxdb:1.8 ports: - containerPort: 8086 env: - name: INFLUXDB_DB value: "monitoring" - name: INFLUXDB_ADMIN_USER value: "teraflow" - name: INFLUXDB_ADMIN_PASSWORD value: "teraflow" - name: INFLUXDB_HTTP_AUTH_ENABLED value: "True" # env: # - name: INFLUXDB_DB # value: "monitoring" # - name: INFLUXDB_ADMIN_USER # value: "teraflow" # - name: INFLUXDB_ADMIN_PASSWORD # value: "teraflow" # - name: INFLUXDB_HTTP_AUTH_ENABLED # value: "True" --- apiVersion: v1 kind: Service Loading src/monitoring/.gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ build influx: script: - kubectl version - kubectl get all - kubectl delete -f "manifests/influx.yaml" - sleep 15 - kubectl apply -f "manifests/influx.yaml" - sleep 15 - kubectl get all Loading Loading
manifests/influx.yaml +9 −9 Original line number Diff line number Diff line Loading @@ -19,15 +19,15 @@ spec: image: influxdb:1.8 ports: - containerPort: 8086 env: - name: INFLUXDB_DB value: "monitoring" - name: INFLUXDB_ADMIN_USER value: "teraflow" - name: INFLUXDB_ADMIN_PASSWORD value: "teraflow" - name: INFLUXDB_HTTP_AUTH_ENABLED value: "True" # env: # - name: INFLUXDB_DB # value: "monitoring" # - name: INFLUXDB_ADMIN_USER # value: "teraflow" # - name: INFLUXDB_ADMIN_PASSWORD # value: "teraflow" # - name: INFLUXDB_HTTP_AUTH_ENABLED # value: "True" --- apiVersion: v1 kind: Service Loading
src/monitoring/.gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ build influx: script: - kubectl version - kubectl get all - kubectl delete -f "manifests/influx.yaml" - sleep 15 - kubectl apply -f "manifests/influx.yaml" - sleep 15 - kubectl get all Loading