mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-22 17:37:18 +00:00
* feat: Added health check for spot.io SpotDeployment Signed-off-by: Daniel Leinov <dleinov@netapp.com> * feat: Added fixed SpotDeployment health check Signed-off-by: Daniel Leinov <dleinov@netapp.com> * feat: Added fixed SpotDeployment health check script Signed-off-by: Daniel Leinov <dleinov@netapp.com>
53 lines
No EOL
1.2 KiB
YAML
53 lines
No EOL
1.2 KiB
YAML
apiVersion: spot.io/v1beta1
|
|
kind: SpotDeployment
|
|
metadata:
|
|
name: canary-demo
|
|
namespace: default
|
|
spec:
|
|
replicas: 5
|
|
revisionHistoryLimit: 3
|
|
selector:
|
|
matchLabels:
|
|
app: canary-demo
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: canary-demo
|
|
spec:
|
|
containers:
|
|
- image: nginx:1.21
|
|
imagePullPolicy: Always
|
|
name: canary-demo
|
|
ports:
|
|
- containerPort: 8080
|
|
name: http
|
|
protocol: TCP
|
|
resources:
|
|
requests:
|
|
cpu: 5m
|
|
memory: 32Mi
|
|
status:
|
|
availableReplicas: 5
|
|
conditions:
|
|
- lastTransitionTime: "2019-11-03T01:32:46Z"
|
|
lastUpdateTime: "2019-11-03T01:32:46Z"
|
|
message: Rollout has minimum availability
|
|
reason: AvailableReason
|
|
status: "True"
|
|
type: Available
|
|
- lastTransitionTime: "2019-11-05T18:20:12Z"
|
|
lastUpdateTime: "2019-11-05T18:20:12Z"
|
|
message: Rollout is aborted
|
|
reason: RolloutAborted
|
|
status: "False"
|
|
type: Progressing
|
|
observedGeneration: 58b949649c
|
|
readyReplicas: 5
|
|
replicas: 5
|
|
selector: app=canary-demo
|
|
liveVersionDate: "2022-07-25T08:57:57.000Z"
|
|
liveVersionImages:
|
|
nginx: nginx:1.20
|
|
phase: Degraded
|
|
revision: "52" |