diff --git a/kustomize/mycrd.yaml b/kustomize/mycrd.yaml index 3c2998e..7d576e2 100644 --- a/kustomize/mycrd.yaml +++ b/kustomize/mycrd.yaml @@ -54,15 +54,17 @@ spec: - '/app/app.py' readinessProbe: initialDelaySeconds: 10 - timeoutSeconds: 11 + timeoutSeconds: 15 failureThreshold: 10 + successThreshold: 10 httpGet: path: / port: 8000 livenessProbe: initialDelaySeconds: 10 - timeoutSeconds: 11 + timeoutSeconds: 15 failureThreshold: 10 + successThreshold: 10 httpGet: path: / port: 8000 @@ -76,12 +78,12 @@ spec: volumes: - name: app-script-volume configMap: - name: app-script-config-4 + name: app-script-config-5 --- apiVersion: v1 kind: ConfigMap metadata: - name: app-script-config-4 + name: app-script-config-5 data: app.py: | #! /bin/python3 @@ -90,7 +92,7 @@ data: class GetHandler(BaseHTTPRequestHandler): def do_GET(self): - sleep(1) + sleep(10) x = self.wfile.write self.send_response(200) self.send_header("Content-type", "text/html")