Loading manifests/monitoring.yaml +6 −24 Original line number Diff line number Diff line Loading @@ -29,12 +29,12 @@ spec: envFrom: - secretRef: name: influxdb-secrets readinessProbe: exec: command: ["curl", "-XGET", "localhost:8086/health"] livenessProbe: exec: command: ["curl", "-XGET", "localhost:8086/health"] # readinessProbe: # exec: # command: ["curl", "-XGET", "localhost:8086/health"] # livenessProbe: # exec: # command: ["curl", "-XGET", "localhost:8086/health"] resources: requests: cpu: 250m Loading Loading @@ -82,21 +82,3 @@ spec: port: 8086 targetPort: 8086 --- No newline at end of file apiVersion: v1 kind: Service metadata: name: monitoring-public spec: type: NodePort selector: app: monitoring ports: - name: grpc protocol: TCP port: 7070 targetPort: 7070 - name: influxdb protocol: TCP port: 8086 targetPort: 8086 --- No newline at end of file src/monitoring/.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -28,11 +28,11 @@ kubernetes test: script: # - kubectl version # - kubectl get all - kubectl delete -f "manifests/monitoring.yaml" # - kubectl delete -f "manifests/monitoring.yaml" # - sleep 15 # - kubectl apply -f "manifests/monitoring.yaml" # - sleep 30 # - kubectl get all - kubectl apply -f "manifests/monitoring.yaml" - sleep 30 - kubectl get all # - kubectl --namespace gitlab-ci describe pod monitoring-9df446bb5-6tmft # - kubectl --namespace gitlab-ci logs monitoring-9df446bb5-6tmft influxdb # - kubectl --namespace gitlab-ci logs monitoring-9df446bb5-6tmft server Loading Loading
manifests/monitoring.yaml +6 −24 Original line number Diff line number Diff line Loading @@ -29,12 +29,12 @@ spec: envFrom: - secretRef: name: influxdb-secrets readinessProbe: exec: command: ["curl", "-XGET", "localhost:8086/health"] livenessProbe: exec: command: ["curl", "-XGET", "localhost:8086/health"] # readinessProbe: # exec: # command: ["curl", "-XGET", "localhost:8086/health"] # livenessProbe: # exec: # command: ["curl", "-XGET", "localhost:8086/health"] resources: requests: cpu: 250m Loading Loading @@ -82,21 +82,3 @@ spec: port: 8086 targetPort: 8086 --- No newline at end of file apiVersion: v1 kind: Service metadata: name: monitoring-public spec: type: NodePort selector: app: monitoring ports: - name: grpc protocol: TCP port: 7070 targetPort: 7070 - name: influxdb protocol: TCP port: 8086 targetPort: 8086 --- No newline at end of file
src/monitoring/.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -28,11 +28,11 @@ kubernetes test: script: # - kubectl version # - kubectl get all - kubectl delete -f "manifests/monitoring.yaml" # - kubectl delete -f "manifests/monitoring.yaml" # - sleep 15 # - kubectl apply -f "manifests/monitoring.yaml" # - sleep 30 # - kubectl get all - kubectl apply -f "manifests/monitoring.yaml" - sleep 30 - kubectl get all # - kubectl --namespace gitlab-ci describe pod monitoring-9df446bb5-6tmft # - kubectl --namespace gitlab-ci logs monitoring-9df446bb5-6tmft influxdb # - kubectl --namespace gitlab-ci logs monitoring-9df446bb5-6tmft server Loading