소스 검색

Add script to verify if plex is working nicely

Waqar Ahmed 4 년 전
부모
커밋
01a1870029
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      test/plex/1.2.1/templates/probe_config.yaml

+ 8 - 0
test/plex/1.2.1/templates/probe_config.yaml

@@ -0,0 +1,8 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: "plex-probe-check"
+data:
+  entrypoint.sh: |-
+    #!/bin/sh
+    curl -ksf http://$POD_IP:32400/identity -o /dev/null || curl -ksf https://$POD_IP:32400/identity -o /dev/null