Commit 243dfd49 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Tests - Tools - Firewall Agent:

- Added Kubernetes readinessProbe and livenessProbe
parent 3ca92b51
Loading
Loading
Loading
Loading
+12 −0
Changes for src/tests/tools/firewall_agent/DeploymentSet.yaml: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -40,3 +40,15 @@ spec:
          ports:
            - containerPort: 8888     # container listens on 8888 on the host now
              hostPort: 8888          # optional, but makes it explicit
          readinessProbe:
            httpGet:
              path: /restconf/data
              port: 8888
            initialDelaySeconds: 5
            timeoutSeconds: 1
          livenessProbe:
            httpGet:
              path: /restconf/data
              port: 8888
            initialDelaySeconds: 5
            timeoutSeconds: 1