Skip to content

Commit

Permalink
Merge pull request #722 from GoogleCloudPlatform/revert-710-readiness…
Browse files Browse the repository at this point in the history
…-probe

Revert "Add readiness and liveness probe"
  • Loading branch information
CatherineF-dev committed May 8, 2024
2 parents 37a0ccd + 270493a commit f5e5ee2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 106 deletions.
2 changes: 1 addition & 1 deletion custom-metrics-stackdriver-adapter/adapter-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ spec:
ports:
- port: 443
protocol: TCP
targetPort: 6443
targetPort: 443
selector:
run: custom-metrics-stackdriver-adapter
k8s-app: custom-metrics-stackdriver-adapter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,26 +78,6 @@ spec:
command:
- /adapter
- --use-new-resource-model=false
- --secure-port=6443
ports:
- containerPort: 6443
name: https
readinessProbe:
failureThreshold: 5
httpGet:
path: /readyz
port: https
scheme: HTTPS
initialDelaySeconds: 30
periodSeconds: 5
livenessProbe:
failureThreshold: 5
httpGet:
path: /livez
port: https
scheme: HTTPS
initialDelaySeconds: 30
periodSeconds: 5
resources:
limits:
cpu: 250m
Expand All @@ -120,7 +100,7 @@ spec:
ports:
- port: 443
protocol: TCP
targetPort: 6443
targetPort: 443
selector:
run: custom-metrics-stackdriver-adapter
k8s-app: custom-metrics-stackdriver-adapter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,26 +96,6 @@ spec:
- /adapter
- --use-new-resource-model=true
- --fallback-for-container-metrics=true
- --secure-port=6443
ports:
- containerPort: 6443
name: https
readinessProbe:
failureThreshold: 5
httpGet:
path: /readyz
port: https
scheme: HTTPS
initialDelaySeconds: 30
periodSeconds: 5
livenessProbe:
failureThreshold: 5
httpGet:
path: /livez
port: https
scheme: HTTPS
initialDelaySeconds: 30
periodSeconds: 5
resources:
limits:
cpu: 250m
Expand All @@ -138,7 +118,7 @@ spec:
ports:
- port: 443
protocol: TCP
targetPort: 6443
targetPort: 443
selector:
run: custom-metrics-stackdriver-adapter
k8s-app: custom-metrics-stackdriver-adapter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,26 +100,6 @@ spec:
- /adapter
- --use-new-resource-model=true
- --fallback-for-container-metrics=true
- --secure-port=6443
ports:
- containerPort: 6443
name: https
readinessProbe:
failureThreshold: 5
httpGet:
path: /readyz
port: https
scheme: HTTPS
initialDelaySeconds: 30
periodSeconds: 5
livenessProbe:
failureThreshold: 5
httpGet:
path: /livez
port: https
scheme: HTTPS
initialDelaySeconds: 30
periodSeconds: 5
resources:
limits:
cpu: 250m
Expand All @@ -142,7 +122,7 @@ spec:
ports:
- port: 443
protocol: TCP
targetPort: 6443
targetPort: 443
selector:
run: custom-metrics-stackdriver-adapter
k8s-app: custom-metrics-stackdriver-adapter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,26 +82,6 @@ spec:
command:
- /adapter
- --use-new-resource-model=false
- --secure-port=6443
ports:
- containerPort: 6443
name: https
readinessProbe:
failureThreshold: 5
httpGet:
path: /readyz
port: https
scheme: HTTPS
initialDelaySeconds: 30
periodSeconds: 5
livenessProbe:
failureThreshold: 5
httpGet:
path: /livez
port: https
scheme: HTTPS
initialDelaySeconds: 30
periodSeconds: 5
resources:
limits:
cpu: 250m
Expand All @@ -124,7 +104,7 @@ spec:
ports:
- port: 443
protocol: TCP
targetPort: 6443
targetPort: 443
selector:
run: custom-metrics-stackdriver-adapter
k8s-app: custom-metrics-stackdriver-adapter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,26 +100,6 @@ spec:
- /adapter
- --use-new-resource-model=true
- --enable-core-metrics-api
- --secure-port=6443
ports:
- containerPort: 6443
name: https
readinessProbe:
failureThreshold: 5
httpGet:
path: /readyz
port: https
scheme: HTTPS
initialDelaySeconds: 30
periodSeconds: 5
livenessProbe:
failureThreshold: 5
httpGet:
path: /livez
port: https
scheme: HTTPS
initialDelaySeconds: 30
periodSeconds: 5
resources:
limits:
cpu: 250m
Expand All @@ -142,7 +122,7 @@ spec:
ports:
- port: 443
protocol: TCP
targetPort: 6443
targetPort: 443
selector:
run: custom-metrics-stackdriver-adapter
k8s-app: custom-metrics-stackdriver-adapter
Expand Down

0 comments on commit f5e5ee2

Please sign in to comment.