mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
Two corrections on top of the naming pass, both found by checking the live cluster rather than the source. The rename had silently changed the user-facing annotation key from argocd.argoproj.io/sync-wave to cd.argoproj.io/sync-wave — 63 live Applications carry the old key, so deploying that would have ignored every sync-wave and broken fleet deploy ordering. The key is now cd.hanzo.ai/*, and universe 575650286 moves the ApplicationSet template that stamps it, so the controller regenerates all 63 consistently. The API group in code said argoproj.io/v1alpha1 in 157 places while the cluster has served apps.hanzo.ai/v1alpha1 since 2026-07-23 (the CRDs are applications.apps.hanzo.ai). Code now matches what is actually served. The legacy applications.argoproj.io/app-name label had ZERO live users, so it went with the rest. foo.argoproj.io test fixtures became foo.example.com — arbitrary test domains should not carry a vendor name. go build ./... exit 0. Co-authored-by: Hanzo Dev <[email protected]>
84 lines
2.3 KiB
YAML
84 lines
2.3 KiB
YAML
apiVersion: apps.hanzo.ai/v1alpha1
|
|
kind: Rollout
|
|
metadata:
|
|
annotations:
|
|
rollout.apps.hanzo.ai/revision: '4'
|
|
clusterName: ''
|
|
creationTimestamp: '2019-04-29T21:37:38Z'
|
|
generation: 1
|
|
labels:
|
|
app: helm-guestbook
|
|
app.kubernetes.io/instance: guestbook-bluegreen
|
|
chart: helm-guestbook-0.1.0
|
|
heritage: Tiller
|
|
release: guestbook-bluegreen
|
|
name: guestbook-bluegreen-helm-guestbook
|
|
namespace: default
|
|
selfLink: >-
|
|
/apis/apps.hanzo.ai/v1alpha1/namespaces/default/rollouts/guestbook-bluegreen-helm-guestbook
|
|
spec:
|
|
minReadySeconds: 0
|
|
progressDeadlineSeconds: 32
|
|
replicas: 3
|
|
revisionHistoryLimit: 3
|
|
selector:
|
|
matchLabels:
|
|
app: helm-guestbook
|
|
release: guestbook-bluegreen
|
|
strategy:
|
|
blueGreen:
|
|
activeService: guestbook-bluegreen-helm-guestbook
|
|
previewReplicaCount: 1
|
|
previewService: guestbook-bluegreen-helm-guestbook-preview
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: helm-guestbook
|
|
release: guestbook-bluegreen
|
|
spec:
|
|
containers:
|
|
- image: 'quay.io/argoprojlabs/cd-e2e-container:0.3'
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
name: helm-guestbook
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
protocol: TCP
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
resources: {}
|
|
status:
|
|
HPAReplicas: 3
|
|
availableReplicas: 3
|
|
blueGreen:
|
|
activeSelector: 8464d8564d
|
|
canary: {}
|
|
conditions:
|
|
- lastTransitionTime: '2019-05-01T17:52:59Z'
|
|
lastUpdateTime: '2019-05-01T17:52:59Z'
|
|
message: Rollout has minimum availability
|
|
reason: AvailableReason
|
|
status: 'True'
|
|
type: Available
|
|
- lastTransitionTime: '2019-05-01T21:36:03Z'
|
|
lastUpdateTime: '2019-05-01T21:36:03Z'
|
|
message: >-
|
|
ReplicaSet "guestbook-bluegreen-helm-guestbook-6b8cf6f7db" has timed out
|
|
progressing.
|
|
reason: ProgressDeadlineExceeded
|
|
status: 'False'
|
|
type: Progressing
|
|
currentPodHash: 6b8cf6f7db
|
|
observedGeneration: 7bcdbf7bd9
|
|
readyReplicas: 3
|
|
replicas: 4
|
|
selector: >-
|
|
app=helm-guestbook,release=guestbook-bluegreen,rollouts-pod-template-hash=8464d8564d
|
|
updatedReplicas: 1 |